CN104935500B - Friend recommendation method and device based on network call - Google Patents

Friend recommendation method and device based on network call Download PDF

Info

Publication number
CN104935500B
CN104935500B CN201510310269.4A CN201510310269A CN104935500B CN 104935500 B CN104935500 B CN 104935500B CN 201510310269 A CN201510310269 A CN 201510310269A CN 104935500 B CN104935500 B CN 104935500B
Authority
CN
China
Prior art keywords
terminal
call
user corresponding
friend
user
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
CN201510310269.4A
Other languages
Chinese (zh)
Other versions
CN104935500A (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 CN201510310269.4A priority Critical patent/CN104935500B/en
Publication of CN104935500A publication Critical patent/CN104935500A/en
Application granted granted Critical
Publication of CN104935500B publication Critical patent/CN104935500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention relates to a friend recommendation method based on network communication, which comprises the following steps: when the first terminal carries out network communication with a second terminal and/or the network communication is finished, judging whether a user corresponding to the second terminal is a stranger or not; if the user corresponding to the second terminal is a stranger, acquiring a call parameter of the second terminal, wherein the call parameter comprises at least one of call duration and call frequency; the first terminal recommends the user corresponding to the second terminal according to the call parameters; and if the user corresponding to the second terminal is not a stranger, making no recommendation. The friend recommendation is performed during and/or after the network call is finished, is real-time friend recommendation, and can be performed under the condition that no friend name or friend relation chain exists, so that the friend recommendation range is expanded. In addition, a friend recommendation device based on the network call is also provided.

Description

Friend recommendation method and device based on network call
Technical Field
The invention relates to the technical field of communication, in particular to a friend recommendation method and device based on network communication.
Background
With the development of network technology, instant messaging software becomes an important means for people to communicate. In the process of using the instant messaging software, a VOIP network call can be performed, a network call from a stranger may be received, for example, trade communication software, and a buyer sending the network call is often a stranger.
The existing friend recommendation method is usually realized by recommending people possibly known to a user by a background according to a certain rule or by inputting a name of an opposite party for searching and adding, cannot be recommended under the condition that two parties for communication have no relation chain or no name of the opposite party, and is not real-time in recommendation.
Disclosure of Invention
Therefore, it is necessary to provide a friend recommendation method and device based on network call to solve the above technical problems, so as to recommend strangers to friends in real time and expand the friend recommendation range.
A friend recommendation method based on network call, the method comprising:
When the first terminal carries out network communication with a second terminal and/or the network communication is finished, judging whether a user corresponding to the second terminal is a stranger or not;
If the user corresponding to the second terminal is a stranger, acquiring a call parameter of the second terminal, wherein the call parameter comprises at least one of call duration and call frequency;
The first terminal recommends the user corresponding to the second terminal according to the call parameters;
And if the user corresponding to the second terminal is not a stranger, making no recommendation.
A friend recommendation device based on a network call, the device comprising:
The judging module is used for judging whether a user corresponding to a second terminal is a stranger or not when the first terminal carries out network communication with the second terminal and/or the network communication is finished;
The obtaining module is used for obtaining a call parameter of the second terminal if the user corresponding to the second terminal is a stranger, wherein the call parameter comprises at least one of call duration and call frequency;
The recommending module is used for recommending the user corresponding to the second terminal by the first terminal according to the call parameters;
And the recommending module is also used for not recommending if the user corresponding to the second terminal is not a stranger.
According to the friend recommendation method and device based on the network call, when the first terminal is in the network call with the second terminal and/or when the network call is finished, whether a user corresponding to the second terminal is a stranger or not is judged, if the user corresponding to the second terminal is the stranger, call parameters of the second terminal are obtained, the call parameters comprise at least one of call duration and call frequency, the first terminal recommends the user corresponding to the second terminal according to the call parameters, if the second terminal is not the stranger, no recommendation is made, friend recommendation is made when the network call is in the network call and/or when the network call is finished, real-time recommendation is made, meanwhile, friend recommendation can be made under the condition that no friend name and friend relationship exist, and the friend recommendation range is expanded.
Drawings
Fig. 1 is an application environment diagram of a friend recommendation method based on a network call in an embodiment;
FIG. 2 is a diagram illustrating an internal structure of the terminal of FIG. 1 according to one embodiment;
FIG. 3 is a flowchart of a friend recommendation method based on network calls in an embodiment;
Fig. 4 is a flowchart illustrating a first terminal recommending a user corresponding to a second terminal according to call parameters in an embodiment;
Fig. 5 is a flowchart illustrating an embodiment of adding a user corresponding to a second terminal as a friend;
Fig. 6 is a flowchart illustrating an example of adding a user corresponding to a second terminal as a friend in another embodiment;
FIG. 7 is a block diagram of a friend recommender based on a network call in one embodiment;
FIG. 8 is a block diagram that illustrates the structure of a recommendation module in one embodiment;
FIG. 9 is a block diagram of a recommendation unit in one embodiment.
Detailed Description
Fig. 1 is an application environment diagram of a friend recommendation method based on a network call in an embodiment. As shown in fig. 1, the application environment includes a terminal 110, a server 120, and a terminal 130. Both terminals 110 and 130 may communicate with server 120 via a network.
The terminals 110 and 130 may be, but are not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, and the like. The terminals 110 and 130 may establish a connection through the server 120 to perform a call and forward data, and the terminals 110 and 130 may be installed with a network call application, and may request to establish a connection call with another terminal through the network call application. Server 120 may include a plurality of servers that may respond to requests sent by the web-talk application.
In one embodiment, the internal structure of the terminal 110 in fig. 1 is as shown in fig. 2, and the terminal 110 includes a processor, a graphic processing unit, a storage medium, a memory, a network interface, a display screen, and an input device, which are connected through a system bus. The storage medium of the terminal 110 stores an operating system, and further includes a friend recommendation device based on a network call, where the friend recommendation device is used to implement a friend recommendation method based on a network call. The processor is used to provide computational and control capabilities that support the operation of the entire terminal 110. The graphic processing unit in the terminal 110 is configured to at least provide a drawing capability of a display interface, the memory provides an environment for operating a device recommended by the friend based on the network call in the storage medium, and the network interface is configured to perform network communication with the server 120, such as sending a friend addition request to the server 120, receiving data returned by the server 120, and the like. The display screen is used for displaying an application interface and the like, such as displaying friend icons and the like on the network call application interface, and the input device is used for receiving commands or data and the like input by a user. For a terminal 110 with a touch screen, the display screen and input device may be a touch screen. The positioning system is used to obtain the position information of the terminal 110.
As shown in fig. 3, in an embodiment, a friend recommendation method based on a network call is provided, which is exemplified by a terminal applied in the application environment, and includes the following steps:
Step S210, when the first terminal is in network communication with the second terminal and/or when the network communication is finished, whether a user corresponding to the second terminal is a stranger or not is judged, if the user is the stranger, the step S220 is executed, and if the user is not the stranger, the step S240 is executed.
Specifically, the network call refers to a voice call through the internet, and the first terminal and the second terminal may initiate a network call with a call target through an IP address or a user identifier in the network call. The user identification refers to an identification which can uniquely determine a call object, such as an ID number, a short number and the like. During the network call between the first terminal and the second terminal and/or when the network call is finished, the first terminal and the second terminal can recommend the other party as a friend to the two parties of the call. When recommending, firstly judging whether a user corresponding to the second terminal is a stranger, quickly judging through a user identifier, firstly obtaining the user identifier of the user corresponding to the second terminal, if the user identifier exists in the address book of the first terminal, then the user corresponding to the second terminal is not a stranger, otherwise, the user corresponding to the second terminal is a stranger. It can be understood that, the friend recommendation is performed during the network call between the first terminal and the second terminal and when the network call is finished, the success rate of friend recommendation can be increased, for example, after the two parties of the user communicate for 30 minutes, the intention of the other party as a friend is not added yet, but when the communication is finished, the probability of receiving friend recommendation is increased due to later communication.
Step S220, obtaining a call parameter with the second terminal, where the call parameter includes at least one of a call duration and a call frequency.
Specifically, the call parameter refers to a parameter related to a call behavior, the call duration refers to a call time within a preset time range, and the call frequency refers to a number of calls within the preset time range. In one embodiment, the number of calls that do not meet a predetermined condition, such as an unanswered call or a blacklisted call, is filtered. The preset time range can be customized according to needs, for example, the preset date and day is calculated forward from the current call time to be determined as the preset time range.
And step S230, the first terminal recommends the user corresponding to the second terminal according to the call parameters.
Specifically, whether the user corresponding to the second terminal is recommended or not can be determined according to whether the call parameter meets the preset condition or not, if the call duration exceeds the preset threshold or the call frequency exceeds the preset number of times, the user corresponding to the second terminal is recommended, and if the call duration does not meet the preset condition, the user corresponding to the second terminal is not recommended. In one embodiment, the call parameters include at least 2 parameters, the call parameters are calculated, and the user corresponding to the second terminal is recommended according to the calculated call parameters, and if the call parameters include a plurality of parameters, the calculated call parameters can be obtained by weighting. Or when one call parameter does not meet the preset condition, the friend recommendation is not made, and the friend recommendation efficiency is improved.
In one embodiment, if the call parameter meets the preset condition, the user corresponding to the second terminal is recommended when the preset time period is reached, and a friend recommendation prompt can be popped up for multiple times in the call process, so that the friend recommendation strength is further increased.
In step S240, no recommendation is made.
Specifically, before recommendation, whether the user corresponding to the second terminal is a stranger is judged, and if not, it is indicated that the user corresponding to the second terminal is already a friend of the user corresponding to the first terminal, and recommendation is not needed. At the moment, no recommendation is made, steps such as obtaining call parameters with the second terminal are not needed, and the recommendation efficiency is improved.
In the embodiment, when the first terminal performs network communication with the second terminal and/or when the network communication is finished, whether a user corresponding to the second terminal is a stranger or not is judged, if the user corresponding to the second terminal is the stranger, the communication parameter of the second terminal is obtained, the communication parameter comprises at least one of communication duration and communication frequency, the first terminal recommends the user corresponding to the second terminal according to the communication parameter, if the second terminal is not the stranger, no recommendation is made, the network communication and/or network communication are finished, the friend recommendation is real-time, meanwhile, the friend recommendation can be performed under the condition that no friend name and friend relationship exist, and the friend recommendation range is expanded.
In one embodiment, the call parameters include call duration and call frequency, and as shown in fig. 4, step S230 includes:
Step S231, the first terminal determines whether the call duration exceeds a preset threshold, and if so, the process goes to step S232, and if not, no recommendation is made.
Specifically, the preset threshold may be customized as needed, for example, the preset threshold corresponds to a preset time range of the call duration, the preset threshold may be in a direct proportion to the preset time range of the call duration, for example, the call duration is call time within one month, the preset threshold corresponds to one month, for example, 24 hours, for example, the call duration is call time within one week, and the preset threshold corresponds to one week, for example, 8 hours. If the call duration does not exceed the preset threshold, no recommendation is made, if the call duration is short, it is indicated that the user corresponding to the first terminal is not in close contact with the user corresponding to the second terminal, the probability of receiving friend recommendations is low, and if the situation is, no recommendation is made, so that the efficiency and the success rate of friend recommendation can be improved.
Step S232, the first terminal determines whether the call frequency exceeds a preset threshold, if so, the process goes to step S233, and if not, no recommendation is made.
Specifically, the preset threshold may be customized as needed, for example, the preset threshold corresponds to a preset time range of the call frequency, and the preset threshold may be in a direct proportion to the preset time range of the call frequency, for example, the call frequency is the number of calls in one month, the preset threshold corresponds to one month, for example, 24 times, for example, the call frequency is the number of calls in one week, and the preset threshold corresponds to one week, for example, 8 times. If the call frequency does not exceed the preset threshold, no recommendation is made, if the call frequency is low, it indicates that the user corresponding to the first terminal is not in close contact with the user corresponding to the second terminal, the probability of receiving the friend recommendation is low, and if the situation is, no recommendation is made, so that the efficiency and the success rate of friend recommendation can be improved.
In step S233, the first terminal recommends the user corresponding to the second terminal.
Specifically, the user corresponding to the second terminal is recommended only if the call duration and the call frequency both meet the preset conditions, and the user corresponding to the second terminal can be recommended through various notification forms, such as a recommendation form of popping up a recommendation window, sending a recommendation mail, and the like. During recommendation, the recommendation prompt may include a variety of recommendation information, such as a friend's avatar, a user identifier of a user corresponding to the second terminal, and the like.
In one embodiment, as shown in fig. 5, step S233 includes:
In step S233a, the first terminal displays a recommendation prompt for recommending that the user corresponding to the second terminal is a friend.
Specifically, the recommendation prompts may be presented in a variety of forms, such as animations, pictures, informational windows, and the like. The recommendation prompt may include information of a user corresponding to the second terminal, and the recommendation prompt may include an instruction for receiving input by the virtual key.
Step S233b, receiving the instruction input by the user according to the recommendation prompt, judging whether the instruction is the recommendation approval, if yes, going to step S233c, otherwise going to step S233 d.
Specifically, the input instruction is an instruction input through a virtual key or an input box of a recommendation prompt, the instruction includes an approval recommendation and a rejection recommendation, and different processing steps are performed according to different instructions.
Step S233c, sending a friend adding request to the second terminal, and adding the user corresponding to the second terminal as a friend according to the information returned by the second terminal.
Specifically, if the instruction is to approve the recommendation, the first terminal sends a friend addition request to the second terminal, where the friend addition request may include user information of a user corresponding to the first terminal, user information of a user corresponding to the second terminal, verification information, and the like. The information returned by the second terminal may include whether the user corresponding to the second terminal agrees with the friend addition request, user information of the user corresponding to the second terminal, and the like, if the user corresponding to the second terminal agrees with the friend addition request, the user corresponding to the second terminal is added as a friend, the related information of the user corresponding to the second terminal is written into the address book of the first terminal, and the related information of the user corresponding to the second terminal includes a user identifier, a friend avatar, a friend profile, and the like. And if the second terminal rejects the friend adding request, the friend adding cannot be finished.
In step S233d, no processing is performed.
Specifically, if the instruction is to reject the recommendation, it is indicated that the user corresponding to the first terminal does not want to add the second terminal as a friend, and no processing is performed.
In the embodiment, whether friends can be added or not is determined by the first terminal receiving the input instruction and the information returned by the second terminal, and the user corresponding to the first terminal and the user corresponding to the second terminal can freely select whether to receive the recommendation or not and whether to add the other party as a friend or not, so that the flexibility and the selectivity of friend recommendation are improved.
In one embodiment, as shown in fig. 6, step S233c includes:
Step S233c1, sending a friend addition request to the server, where the friend addition request includes a user identifier of a user corresponding to the second terminal, so that the server forwards the friend addition request to the second terminal according to the user identifier.
Specifically, the friend addition request includes the user identifier of the user corresponding to the second terminal, so that the server can quickly determine the forwarding object of the friend addition request according to the user identifier. It can be understood that the user corresponding to the first terminal and the user corresponding to the second terminal are registered in the server before the network call is performed, the server assigns a unique user identifier to the user and stores the unique user identifier, the terminal where the user is located can be quickly found according to the user identifier, and the telephone number, the name, the head portrait and the like can be stored corresponding to the user code identifier. In an embodiment, a format of the friend addition request is shown in table 1, where the friend addition request includes a user identifier of a user corresponding to the second terminal, a phone number of the second terminal, a user identifier of a user corresponding to the first terminal, a user name of a user corresponding to the first terminal, and request verification contents, and character types of the friend addition request and the request verification contents are respectively a last column in table 1.
TABLE 1
Figure BDA0000733670310000071
Step S233c2, the second terminal receiving the information returned by the server according to the friend addition request judges whether the returned information is a friend addition agreement, if yes, step S233c3 is performed, otherwise, step S233c4 is performed.
Specifically, after receiving the friend addition request, the server determines a forwarding object according to the user identifier of the user corresponding to the second terminal, and may modify the content of the friend addition request and then send the modified content to the second terminal. In an embodiment, the friend adding request forwarded to the second terminal is shown in table 2, and includes a user identifier of a user corresponding to the first terminal, a phone number of the first terminal, a user name of a user corresponding to the first terminal, a user avatar of a user corresponding to the first terminal, and request verification content, where character types of the user identifier, the phone number of the first terminal, the user name of the user corresponding to the first terminal, the user avatar of the user corresponding to the first terminal, and the request verification content are respectively the last column in table 2.
TABLE 2
Figure BDA0000733670310000081
In one embodiment, the friend request is verified, the format of the content of the returned message is shown in table 3, and the content of the returned message includes the user identifier of the user corresponding to the second terminal, the telephone number of the second terminal, the user name of the user corresponding to the second terminal, and the user head portrait of the user corresponding to the second terminal, and the character types of the message are respectively the last column in table 3.
TABLE 3
Figure BDA0000733670310000082
Step S233c3, add the user identifier of the user corresponding to the second terminal to the address book of the first terminal.
Specifically, the user identifier of the user corresponding to the second terminal is added to the address book of the first terminal through the authentication of the user corresponding to the second terminal. Meanwhile, if the user corresponding to the second terminal agrees with the friend adding request, the user identifier of the user corresponding to the first terminal is added to the address book of the second terminal. And adding the user identifier of the user corresponding to the second terminal into the address book of the first terminal, and quickly searching the user identifier for connection when the next call needs to be carried out. Meanwhile, a user avatar, a user name and the like can be added corresponding to the user identifier of the user corresponding to the second terminal, and the user identifier of the user corresponding to the second terminal can be quickly found according to the avatar name.
In step S233c4, no processing is performed.
Specifically, if the user corresponding to the second terminal rejects the friend addition request, friend addition cannot be achieved.
In one embodiment, the user identifier of the user corresponding to the second terminal corresponds to the phone number of the second terminal one to one, the information further includes the phone number of the second terminal, and after the step of determining that the user agrees to add a friend, the method further includes: and correspondingly adding the telephone number and the user identification of the second terminal to the address list of the first terminal.
Specifically, the user identifier of the user corresponding to the second terminal corresponds to the telephone number of the second terminal one to one, and only through the unique telephone number, the distributed unique user identifier can be registered in the server, so that the condition that a plurality of user identifiers are registered in the same telephone number can be avoided, and one telephone number can be uniquely determined through the user identifiers. And after the user corresponding to the second terminal passes the friend verification, correspondingly adding the telephone number and the user identification of the second terminal to the address book of the first terminal, if the telephone number of the second terminal is quickly found through the user identification of the user corresponding to the second terminal, under the condition that the user corresponding to the second terminal does not log in the network call application, quickly calling through the telephone number.
In one embodiment, as shown in fig. 7, there is provided a friend recommendation apparatus based on a network call, including:
The determining module 310 determines whether the user corresponding to the second terminal is a stranger when the first terminal performs a network call with the second terminal and/or when the network call is ended.
The obtaining module 320 is configured to obtain a call parameter of the second terminal if the user corresponding to the second terminal is a stranger, where the call parameter includes at least one of call duration and call frequency.
And the recommending module 330 is configured to recommend, by the first terminal, the user corresponding to the second terminal according to the call parameter.
The recommending module 330 is further configured to not make a recommendation if the user corresponding to the second terminal is not a stranger.
In one embodiment, as shown in fig. 8, the call parameters include call duration and call frequency, and the recommending module 330 includes:
The call duration processing unit 331 is configured to determine, by the first terminal, whether the call duration exceeds a preset threshold, enter the call frequency processing unit if the call duration exceeds the preset threshold, and make no recommendation if the call duration does not exceed the preset threshold.
The call frequency processing unit 332 is configured to determine, by the first terminal, whether the call frequency exceeds a preset threshold, if so, enter a recommendation unit, and if not, make no recommendation.
The recommending unit 333 is configured to recommend, by the first terminal, the user corresponding to the second terminal.
In one embodiment, as shown in FIG. 9, the recommendation unit includes 333:
The prompting unit 333a is configured to display, by the first terminal, a recommendation prompt for recommending that the user corresponding to the second terminal is a friend.
The processing unit 333b is configured to receive an instruction input by the user according to the recommendation prompt, send a friend addition request to the second terminal if the instruction is a recommendation approval, add the user corresponding to the second terminal as a friend according to information returned by the second terminal, and perform no processing if the instruction is a recommendation rejection.
In an embodiment, the processing unit 333b is further configured to send a friend adding request to the server, where the friend adding request includes a user identifier of a user corresponding to the second terminal, so that the server forwards the friend adding request to the second terminal according to the user identifier, and receives information returned by the second terminal according to the friend adding request forwarded by the server, and if the information is that the addition of a friend is permitted, add the user identifier of the user corresponding to the second terminal to the address book of the first terminal, and if the information is that the addition of a friend is denied, do not perform processing.
In one embodiment, the user identifier of the user corresponding to the second terminal corresponds to the telephone number of the second terminal in a one-to-one manner, the information further includes the telephone number of the second terminal, and the processing unit is further configured to add the telephone number of the second terminal and the user identifier to the address book of the first terminal in a corresponding manner.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (12)

1. A friend recommendation method based on network call, the method comprising:
Registering a user corresponding to a first terminal and a user corresponding to a second terminal in a server before network communication is carried out, and allocating unique user identifiers to the users by the server, wherein network communication applications are installed on the first terminal and the second terminal, a connection communication is established with the other terminal through a network communication application request, and a friend icon is included in a network communication application interface;
When the first terminal performs the network call with the second terminal, judging whether a user corresponding to the second terminal is a stranger, specifically including: acquiring a user identifier of a user corresponding to the second terminal, wherein if the user identifier of the user corresponding to the second terminal exists in the address book of the first terminal, the user corresponding to the second terminal is not a stranger, otherwise, the user corresponding to the second terminal is a stranger, wherein the network call is a voice call through the Internet, and a network call with a call object is initiated through the user identifier in the network call;
If the user corresponding to the second terminal is a stranger, acquiring a call parameter of the second terminal, wherein the call parameter comprises at least one of call duration and call frequency;
The first terminal recommends the user corresponding to the second terminal according to the call parameters, and during recommendation, the recommendation mode of sending a recommended mail is included, recommendation information is included in a recommendation prompt, the recommendation information comprises a friend head portrait, if the user corresponding to the second terminal agrees to a friend adding request, the user corresponding to the second terminal is added as a friend, user identifications of the user corresponding to the second terminal are in one-to-one correspondence with the telephone number of the second terminal, the telephone number of the second terminal and the user identification of the corresponding user are written into the address book of the first terminal, and under the condition that the user corresponding to the second terminal does not log in a network call application, the telephone number of the second terminal is found through the user identification of the user corresponding to the second terminal, and a call is carried out through the telephone number;
And if the user corresponding to the second terminal is not a stranger, making no recommendation.
2. The method according to claim 1, wherein the call parameters include the call duration and the call frequency, and the step of the first terminal recommending the user corresponding to the second terminal according to the call parameters includes:
The first terminal judges whether the call duration exceeds a preset threshold, if so, the step of judging whether the call frequency exceeds the preset threshold by the first terminal is carried out, and if not, no recommendation is made;
The first terminal judges whether the call frequency exceeds a preset threshold value, and if so, the first terminal recommends a user corresponding to the second terminal;
And if the call frequency does not exceed a preset threshold value, making no recommendation.
3. The method according to claim 2, wherein the step of recommending, by the first terminal, the user corresponding to the second terminal comprises:
The first terminal displays a recommendation prompt for recommending a user corresponding to the second terminal to be a friend;
Receiving an instruction input by a user according to the recommendation prompt, if the instruction is to approve the recommendation, sending a friend adding request to a second terminal, and adding a user corresponding to the second terminal as a friend according to information returned by the second terminal;
And if the instruction is to reject the recommendation, not processing.
4. The method according to claim 3, wherein the step of sending a friend addition request to the second terminal and adding the user corresponding to the second terminal as a friend according to the information returned by the second terminal comprises:
Sending a friend adding request to a server, wherein the friend adding request comprises a user identifier of a user corresponding to a second terminal, so that the server forwards the friend adding request to the second terminal according to the user identifier;
Receiving information returned by the second terminal according to the friend adding request, wherein the information is forwarded by the server;
If the information is that friends are allowed to be added, adding the user identification of the user corresponding to the second terminal to the address list of the first terminal;
And if the information is that the addition of the friend is refused, not processing.
5. The method according to claim 4, wherein the user identifier of the user corresponding to the second terminal corresponds to the phone number of the second terminal one to one, the information further includes the phone number of the second terminal, and after the step of adding friends if the information is agreement, the method further includes:
And correspondingly adding the telephone number and the user identification of the second terminal to the address book of the first terminal.
6. A friend recommendation apparatus based on a network call, the apparatus comprising:
The judging module is used for judging whether a user corresponding to a second terminal is a stranger when a first terminal carries out network communication with the second terminal, and specifically comprises the following steps: acquiring a user identifier of a user corresponding to the second terminal, wherein if the user identifier of the user corresponding to the second terminal exists in an address book of the first terminal, the user corresponding to the second terminal is not a stranger, otherwise, the user corresponding to the second terminal is a stranger, wherein the network call is a voice call through the internet, and a network call with a call object is initiated through the user identifier in the network call, wherein the user corresponding to the first terminal and the user corresponding to the second terminal are registered in a server before the network call is performed, the server allocates a unique user identifier to the user, network call applications are installed on the first terminal and the second terminal, a connection call is established with another terminal through a network call application request, and a friend icon is included in a network call application interface;
The obtaining module is used for obtaining a call parameter of the second terminal if the user corresponding to the second terminal is a stranger, wherein the call parameter comprises at least one of call duration and call frequency;
The recommendation module is used for the first terminal to recommend the user corresponding to the second terminal according to the call parameters, the recommendation mode of sending a recommended mail is included during recommendation, recommendation information is included in recommendation prompts, the recommendation information includes a friend head portrait, if the user corresponding to the second terminal agrees to a friend addition request, the user corresponding to the second terminal is added as a friend, user identifications of the user corresponding to the second terminal and the telephone number of the second terminal are in one-to-one correspondence, the telephone number of the second terminal and the user identification of the corresponding user are written into the address book of the first terminal, and under the condition that the user corresponding to the second terminal does not log in a network call application, the telephone number of the second terminal is found through the user identification of the user corresponding to the second terminal, and a call is carried out through the telephone number;
And the recommending module is also used for not recommending if the user corresponding to the second terminal is not a stranger.
7. The apparatus of claim 6, wherein the call parameters comprise the call duration and the call frequency, and wherein the recommending module comprises:
The call duration processing unit is used for judging whether the call duration exceeds a preset threshold value or not by the first terminal, if so, entering the call frequency processing unit, and if not, making no recommendation;
The call frequency processing unit is used for judging whether the call frequency exceeds a preset threshold value or not by the first terminal, if so, entering a recommending unit, and if not, not recommending;
And the recommending unit is used for recommending the user corresponding to the second terminal by the first terminal.
8. The apparatus of claim 7, wherein the recommending unit comprises:
The prompting unit is used for the first terminal to display a recommendation prompt for recommending that a user corresponding to the second terminal is a friend;
And the processing unit is used for receiving an instruction input by the user according to the recommendation prompt, sending a friend adding request to the second terminal if the instruction is a recommendation approval, adding the user corresponding to the second terminal as a friend according to the information returned by the second terminal, and not processing if the instruction is a recommendation refusal.
9. The apparatus according to claim 8, wherein the processing unit is further configured to send a friend addition request to a server, where the friend addition request includes a user identifier of a user corresponding to a second terminal, so that the server forwards the friend addition request to the second terminal according to the user identifier, receives information returned by the second terminal according to the friend addition request forwarded by the server, and if the information indicates that addition of a friend is permitted, adds the user identifier of the user corresponding to the second terminal to the address book of the first terminal, and if the information indicates that addition of a friend is denied, does not perform processing.
10. The apparatus according to claim 9, wherein the user identifier of the user corresponding to the second terminal corresponds to the phone number of the second terminal in a one-to-one correspondence, the information further includes the phone number of the second terminal, and the processing unit is further configured to add the phone number and the user identifier correspondence of the second terminal to the address list of the first terminal.
11. A terminal, characterized in that it comprises a storage medium and a processor, the storage medium having stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 5.
12. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 5.
CN201510310269.4A 2015-06-08 2015-06-08 Friend recommendation method and device based on network call Active CN104935500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510310269.4A CN104935500B (en) 2015-06-08 2015-06-08 Friend recommendation method and device based on network call

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510310269.4A CN104935500B (en) 2015-06-08 2015-06-08 Friend recommendation method and device based on network call

Publications (2)

Publication Number Publication Date
CN104935500A CN104935500A (en) 2015-09-23
CN104935500B true CN104935500B (en) 2020-07-31

Family

ID=54122475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510310269.4A Active CN104935500B (en) 2015-06-08 2015-06-08 Friend recommendation method and device based on network call

Country Status (1)

Country Link
CN (1) CN104935500B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106789832B (en) * 2015-11-19 2021-09-07 北京奇虎科技有限公司 Data processing method, device and system in call process
US9854418B1 (en) 2016-09-15 2017-12-26 International Business Machines Corporation Automatic friend connection within a social network
CN108197161B (en) * 2017-12-12 2021-11-09 五八有限公司 Information recommendation method and device
CN109995929B (en) * 2017-12-29 2021-10-26 中兴通讯股份有限公司 Operation and account information processing method and device
CN108540673A (en) * 2018-06-25 2018-09-14 奇酷互联网络科技(深圳)有限公司 Good friend's adding method, device, readable storage medium storing program for executing and mobile terminal
CN111726789A (en) * 2019-03-21 2020-09-29 上海博泰悦臻电子设备制造有限公司 First mobile terminal, friend adding method and system
CN110349040A (en) * 2019-06-27 2019-10-18 自由界(北京)网络科技有限公司 A kind of automatic management social platform

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458095A (en) * 2012-05-31 2013-12-18 深圳中兴网信科技有限公司 Method and device for triggering instant messaging application program to conduct communication
CN103796282A (en) * 2014-02-27 2014-05-14 黄晓峰 Network telephony processing method for smart mobile terminal
CN104135556A (en) * 2014-08-14 2014-11-05 腾讯科技(深圳)有限公司 Call method and call device based on mobile terminal

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8055673B2 (en) * 2008-06-05 2011-11-08 Yahoo! Inc. Friendly search and socially augmented search query assistance layer
CN101917677A (en) * 2010-07-28 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Method and device for initiating electronic name card exchange and mobile terminal
CN102202011A (en) * 2011-05-23 2011-09-28 宋健 Method and system for realizing social network based on drive-by random chat
CN102510551B (en) * 2011-09-30 2015-06-03 奇智软件(北京)有限公司 Method and device for automatic recommendation of friends in mobile communication tool
CN103167089A (en) * 2011-12-15 2013-06-19 中国移动通信集团江苏有限公司 Mobile terminal and maintaining method for address book of mobile terminal
CN103188131B (en) * 2011-12-29 2016-08-03 北京神州泰岳软件股份有限公司 Friend recommendation method and apparatus on instant communication client
US9569750B2 (en) * 2012-06-06 2017-02-14 Apple Inc. Utilizing a social network account to provide additional functionality to a gaming network account
CN103905288B (en) * 2012-12-26 2017-11-21 中国移动通信集团浙江有限公司 A kind of friend recommendation method and device
CN103475717B (en) * 2013-09-11 2017-03-15 杭州东信北邮信息技术有限公司 A kind of friend recommendation method and system based on social networks
CN104301492B (en) * 2014-10-16 2020-03-27 努比亚技术有限公司 Strange number management method and communication terminal
CN104486474A (en) * 2014-12-12 2015-04-01 深圳市财富之舟科技有限公司 Contact management method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458095A (en) * 2012-05-31 2013-12-18 深圳中兴网信科技有限公司 Method and device for triggering instant messaging application program to conduct communication
CN103796282A (en) * 2014-02-27 2014-05-14 黄晓峰 Network telephony processing method for smart mobile terminal
CN104135556A (en) * 2014-08-14 2014-11-05 腾讯科技(深圳)有限公司 Call method and call device based on mobile terminal

Also Published As

Publication number Publication date
CN104935500A (en) 2015-09-23

Similar Documents

Publication Publication Date Title
CN104935500B (en) Friend recommendation method and device based on network call
US10397210B2 (en) Method, device, client and server for interaction
KR101570406B1 (en) Method and apparatus for implementing user relationship in social network application
US10063547B2 (en) Authorization authentication method and apparatus
CN106550004B (en) Service object recommendation method and device
US20100015976A1 (en) System and method for sharing rights-enabled mobile profiles
US20100015975A1 (en) Profile service for sharing rights-enabled mobile profiles
US9825929B2 (en) Systems and methods for importing relation chain and providing contact information
US9775009B2 (en) Method and system for coordinating a communication response
CN106933839B (en) Page jump method and device
CN107710725B (en) Method and system for authenticating a user by a telephone number
WO2020124453A1 (en) Automatic information reply method and related apparatus
US20170279745A1 (en) Enhancing network messaging with a real-time, interactive representation of current messaging activity of a user's contacts and associated contacts
CN106789832B (en) Data processing method, device and system in call process
KR101641166B1 (en) Apparatus and system for providing lettering service
US9674235B2 (en) Creating a contact list and pre-populated user accounts
CN109600506B (en) Incoming call voice calling method and terminal
CN105025482B (en) Communication information processing method and equipment thereof
CN110572517B (en) Incoming call refusing processing method, called terminal and storage medium
CN110086638B (en) Method, electronic device, and computer-readable medium for updating a buddy list
CN113890906A (en) Call forwarding method and device, electronic equipment and computer readable storage medium
CN107222559B (en) Information calling method
US20180139185A1 (en) Method for Making Friends Anonymously under Instant Messaging Communications in Order to Protect a Real Personal Identity
CN115065944B (en) Conference information notification method, 5G message center and computer readable storage medium
CN110661924B (en) Information interaction method, server and terminal

Legal Events

Date Code Title Description
C06 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