WO2016138698A1 - Friend adding method and device therefor - Google Patents

Friend adding method and device therefor Download PDF

Info

Publication number
WO2016138698A1
WO2016138698A1 PCT/CN2015/078986 CN2015078986W WO2016138698A1 WO 2016138698 A1 WO2016138698 A1 WO 2016138698A1 CN 2015078986 W CN2015078986 W CN 2015078986W WO 2016138698 A1 WO2016138698 A1 WO 2016138698A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
picture information
request message
matching
successful
Prior art date
Application number
PCT/CN2015/078986
Other languages
French (fr)
Chinese (zh)
Inventor
侯彬
侯振强
孙仁峰
刘锋
赵敏辉
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016138698A1 publication Critical patent/WO2016138698A1/en

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

Definitions

  • This paper relates to communication technologies, and in particular to a method for adding friends and a device thereof.
  • the user can directly input the account number to be added to the friend, and search for the friend identified by the account number through the search friend function provided by the above application, and then add the friend.
  • the user needs to perform a friend search by using the account number, which limits the range in which the user adds the friend.
  • the embodiment of the invention provides a method for adding a friend and a device thereof, which are used to solve the problem that the range of adding a friend by a user is small.
  • An embodiment of the present invention provides a method for adding a friend, including:
  • the first terminal and the second terminal are recommended to be friends to be added.
  • the method further includes:
  • the failure occurs, acquiring a third added friend request message sent by the third terminal, where the third added friend request message includes the third picture information and the third attribute information.
  • the method further includes:
  • the first terminal and the second terminal are recommended to be friends to be added to each other;
  • the failure occurs, acquiring a third added friend request message sent by the third terminal, where the third added friend request message includes the third picture information and the third attribute information.
  • the method further includes:
  • the first terminal and the third terminal are recommended to be friends to be added.
  • performing the similarity matching process on the first picture information and the second picture information to determine whether the matching is successful including:
  • An embodiment of the present invention further provides a method for adding a friend, including:
  • the first terminal determines to add a friend
  • the first terminal sends a first add friend request message to the server, where the first add friend request message includes first picture information.
  • the method further includes:
  • the first terminal sends first attribute information to the server.
  • An embodiment of the present invention further provides a device for adding a friend, including:
  • a first acquiring module configured to acquire a first added friend request message sent by the first terminal, where the first added friend request message includes first picture information
  • a second acquiring module configured to acquire a second added friend request message sent by the second terminal, where the second added friend request message includes second picture information
  • a processing module configured to perform similarity matching processing on the first picture information and the second picture information, to determine whether the matching is successful
  • the recommendation module is configured to, if successful, recommend that the first terminal and the second terminal are mutually added friends.
  • the first acquiring module is further configured to acquire first attribute information sent by the first terminal;
  • the second obtaining module is further configured to acquire second attribute information sent by the second terminal;
  • the processing module is further configured to perform consistency matching processing on the first attribute information and the second attribute information to determine whether the matching is successful; if successful, execute the first picture information and the second The picture information is subjected to a similarity matching process; if it fails, the third added friend request message sent by the third terminal is obtained, and the third added friend request message includes the third picture information and the third attribute information.
  • the first acquiring module is further configured to acquire first attribute information sent by the first terminal;
  • the second obtaining module is further configured to acquire second attribute information sent by the second terminal;
  • the processing module is further configured to perform consistency matching processing on the first attribute information and the second attribute information to determine whether the matching is successful; if successful, recommending the first terminal and the second terminal to each other If the buddy is to be added, the third buddy request message sent by the third terminal is obtained, where the third buddy request message includes the third picture information and the third attribute information.
  • the processing module is further configured to perform similarity matching processing on the first picture information and the third picture information, and perform consistent matching on the first attribute information and the second attribute information. If the matching process is successful, the first terminal and the third terminal are recommended to be friends to be added.
  • the processing module is further configured to perform similarity matching processing on the first picture information and the second picture information to obtain a similarity matching value, and compare the similarity matching value with a threshold value, Determining whether the matching is successful; if the similarity matching value is greater than the threshold, determining that the matching is successful; if the similarity matching value is less than or equal to the threshold, determining that the matching fails.
  • An embodiment of the present invention further provides a device for adding a friend, including:
  • Determining the module setting to determine to add a friend
  • the sending module is configured to send a first add friend request message to the server, where the first add friend request message includes the first picture information.
  • the sending module is further configured to send the first attribute information to the server.
  • the embodiment of the present invention includes: acquiring a first added friend request message sent by the first terminal, where the first added friend request message includes first picture information; and acquiring a second added friend request sent by the second terminal a message, the second added friend request message includes second picture information; then, performing similarity matching processing on the first picture information and the second picture information to determine whether the matching is successful; if successful, recommending the
  • the first terminal and the second terminal are mutually added friends. It is implemented to add friends according to the needs of the terminal, thereby expanding the scope of adding friends.
  • FIG. 1 is a schematic flowchart of an embodiment of adding a friend method
  • FIG. 2 is a schematic flowchart of another embodiment of adding a friend method
  • FIG. 3 is a schematic structural diagram of an embodiment of adding a friend device
  • FIG. 4 is a schematic structural diagram of another embodiment of adding a friend device.
  • the method for adding a friend provided by the embodiment of the present invention may be applied to an end user adding a friend, and the terminal user may be a user who is using an instant messaging application and a social application.
  • the method for adding a friend provided by this embodiment may be implemented by adding a friend device, which may be integrated in a terminal device or a server, and the device for adding a friend may be implemented by using software and/or hardware.
  • the method for adding a friend device and the device thereof provided in this embodiment are described in detail below.
  • FIG. 1 is a schematic flowchart of an embodiment of a method for adding a friend.
  • an execution body of the method in this embodiment may be a friend device, where the friend device may be set in a server, and the server may provide the first An instant messaging application running on the terminal or a network side server of a social application.
  • the method comprises the following steps:
  • Step 101 Acquire a first add friend request message sent by the first terminal.
  • the first added friend request message in this embodiment includes first picture information.
  • the first picture information may be a letter of a picture selected by the user at the first terminal.
  • the picture can be a network picture, or a picture drawn by yourself, or a picture taken immediately by the terminal camera.
  • Step 102 Acquire a second add friend request message sent by the second terminal.
  • the second add friend request message in this embodiment includes second picture information.
  • the second picture information may be information of a picture selected by the user at the second terminal, and the picture may be a network picture, or a picture manually drawn by itself, or a picture immediately taken by the terminal camera.
  • the adding friend device may obtain the first friend adding request message and the second adding friend request message, and may also obtain the message that the other terminal sends the add friend request message, in this embodiment. No restrictions.
  • Step 103 Perform similarity matching processing on the first picture information and the second picture information to determine whether the matching is successful.
  • performing similarity matching processing on the first picture information and the second picture information to obtain a similarity matching value For example, performing similarity matching processing on the first picture information and the second picture information to obtain a similarity matching value; comparing the similarity matching value with a threshold to determine whether the matching is successful; If the similarity matching value is greater than the threshold, it is determined that the matching is successful; if the similarity matching value is less than or equal to the threshold, it is determined that the matching fails.
  • step 104 is performed. If the matching fails, the third added friend request message sent by the third terminal may be obtained, where the third added friend request message includes the third picture information. Optionally, the first attribute information and the third attribute information are consistently matched to determine whether the matching is successful. If the matching is successful, the first terminal and the third terminal are recommended to be friends to be added. If the matching fails, the information about the added friend request sent by the other terminal is continuously obtained, and the picture information matching the first picture is determined.
  • Step 104 The first terminal and the second terminal are recommended to be friends to be added.
  • the first added friend request message sent by the first terminal is obtained, the first added friend request message includes first picture information, and the second added friend request message sent by the second terminal is acquired, where the The second adding friend request message includes the second picture information; then, performing the similarity matching process on the first picture information and the second picture information to determine whether the matching is successful; if successful, recommending the first terminal and the The second terminal is a friend to be added to each other. Achieved Adding friends to the needs of the terminal expands the scope of adding friends.
  • the method may further include:
  • the first attribute information in this embodiment includes the attribute information of the first terminal that needs to be added, such as the gender, age, and the like of the friend.
  • the second attribute information in this embodiment includes the attribute information of the second terminal that needs to be added, such as the gender, age, and the like of the friend.
  • the first terminal and the second terminal are recommended to be friends to be added to each other;
  • the failure occurs, acquiring a third added friend request message sent by the third terminal, where the third added friend request message includes the third picture information and the third attribute information.
  • the method may further include:
  • the first attribute information and the second attribute information in the embodiment are similar to the first attribute information and the second attribute information in the foregoing embodiment, and are not repeatedly described herein.
  • the failure occurs, acquiring a third added friend request message sent by the third terminal, where the third added friend request message includes the third picture information and the third attribute information.
  • FIG. 2 is a schematic flowchart of another embodiment of the method for adding a friend.
  • the execution body of the method in this embodiment may be a friend device, and the device for adding a friend may be set in the terminal, and the terminal may be used for instant communication. Or social apps.
  • the method comprises the following steps:
  • Step 201 The first terminal determines to add a friend.
  • Step 202 The first terminal sends a first add friend request message to the server.
  • the first add friend request message includes first picture information.
  • the first picture information may be information of a picture selected by the user at the first terminal, and the picture may be a network picture, or a picture manually drawn by itself, or a picture immediately taken by the terminal camera.
  • the first terminal determines to add a friend, and then the first terminal sends a first add friend request message to the server, where the first add friend request message includes the first picture information. It realizes the addition of friends according to the needs of the terminal, thereby expanding the scope of adding friends and realizing the diversification needs of adding friends.
  • the method may further include:
  • the first terminal sends first attribute information to the server.
  • the first attribute information in this embodiment includes the attribute information of the first terminal that needs to be added, such as the gender, age, and the like of the friend.
  • FIG. 3 is a schematic structural diagram of an embodiment of adding a friend device. As shown in FIG. 3, a friend device is added, including: a first obtaining module 31, a second obtaining module 32, a processing module 33, and a recommending module 34. among them,
  • the first acquiring module 31 is configured to acquire a first added friend request message sent by the first terminal, where the first added friend request message includes first picture information;
  • the second obtaining module 32 is configured to obtain a second added friend request message sent by the second terminal, where the second added friend request message includes second picture information;
  • the processing module 33 is configured to perform similarity matching processing on the first picture information and the second picture information to determine whether the matching is successful.
  • the recommendation module 34 is configured to, if successful, recommend that the first terminal and the second terminal are friends to be added to each other.
  • the first adding friend request message is sent by the first terminal, and the first adding friend request message includes the first picture information; a friend request message, the second add friend request message includes second picture information; then, performing similarity matching processing on the first picture information and the second picture information to determine whether the matching is successful; if successful, recommending
  • the first terminal and the second terminal are mutually added friends. It is implemented to add friends according to the needs of the terminal, thereby expanding the scope of adding friends.
  • the first obtaining module 31 is further configured to acquire the first attribute information sent by the first terminal;
  • the second obtaining module 32 is further configured to acquire second attribute information sent by the second terminal;
  • the processing module 33 is further configured to perform consistency matching processing on the first attribute information and the second attribute information to determine whether the matching is successful; if successful, execute the first picture information and the first The second picture information is subjected to a similarity matching process; if the message is not obtained, the third added friend request message sent by the third terminal is obtained, where the third added friend request message includes the third picture information and the third attribute information.
  • the first obtaining module 31 is further configured to acquire the first attribute information sent by the first terminal, on the basis of the foregoing embodiment.
  • the second obtaining module 32 is further configured to acquire second attribute information sent by the second terminal;
  • the processing module 33 is further configured to perform consistency matching processing on the first attribute information and the second attribute information to determine whether the matching is successful; if successful, recommend the first terminal and the second terminal And the third added friend request message sent by the third terminal is obtained, where the third added friend request message includes the third picture information and the third attribute information.
  • the processing module 33 is further configured to perform similarity matching processing on the first picture information and the third picture information, and perform the first attribute information and the third attribute information.
  • the consistency matching process is performed. If the matching process is successful, the first terminal and the third terminal are recommended to be friends to be added.
  • the processing module 33 is further configured to perform similarity matching processing on the first picture information and the second picture information, to obtain a similarity matching value;
  • the similarity matching value is compared with the threshold to determine whether the matching is successful. If the similarity matching value is greater than the threshold, the matching is determined to be successful. If the similarity matching value is less than or equal to the threshold, the matching is determined to be unsuccessful.
  • FIG. 4 is a schematic structural diagram of another embodiment of adding a friend device. As shown in FIG. 4, a friend device is added, including: a determining module 41 and a sending module 42. among them
  • a determining module 41 configured to determine to add a friend
  • the sending module 42 is configured to send a first add friend request message to the server, where the first add friend request message includes first picture information.
  • the first terminal determines to add a friend, and then the first terminal sends a first add friend request message to the server, where the first add friend request message includes the first picture information. It realizes the addition of friends according to the needs of the terminal, thereby expanding the scope of adding friends and realizing the diversification needs of adding friends.
  • the sending module 42 is further configured to send the first attribute information to the server.
  • all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • each device/function module/functional unit in the above embodiment When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the embodiment of the invention realizes adding friends according to the requirements of the terminal, thereby expanding the scope of adding friends.

Abstract

A friend adding method and device therefor. The method comprises: acquiring a first friend adding request message sent by a first terminal, the first friend adding request message comprising first picture information; acquiring a second friend adding request message sent by a second terminal, the second friend adding request message comprising second picture information; then performing similarity matching on the first picture information and the second picture information and determining whether the matching is successful; and if so, recommending the first terminal and the second terminal to each other as friends to be added.

Description

一种添加好友方法及其装置Method for adding friends and device thereof 技术领域Technical field
本文涉及通信技术,尤其涉及一种添加好友方法及其装置。This paper relates to communication technologies, and in particular to a method for adding friends and a device thereof.
背景技术Background technique
在当前多种社交网络领域系统中,如即时通信应用或社交类应用中,均存在好友添加功能。In many current social network domain systems, such as instant messaging applications or social applications, there are buddy addition functions.
通常,用户可以直接输入准备添加好友的账户号码,并通过上述应用提供的搜索好友功能搜索到该账户号码标识的好友,进而进行好友添加。Generally, the user can directly input the account number to be added to the friend, and search for the friend identified by the account number through the search friend function provided by the above application, and then add the friend.
然而,在上述相关技术的实现中,用户需要通过账户号码进行好友的搜索,限制了用户添加好友的范围。However, in the implementation of the related art described above, the user needs to perform a friend search by using the account number, which limits the range in which the user adds the friend.
发明内容Summary of the invention
本发明实施例提供了一种添加好友方法及其装置,用以解决用户添加好友的范围较小的问题。The embodiment of the invention provides a method for adding a friend and a device thereof, which are used to solve the problem that the range of adding a friend by a user is small.
本发明实施例提供了一种添加好友方法,包括:An embodiment of the present invention provides a method for adding a friend, including:
获取第一终端发送的第一添加好友请求消息,所述第一添加好友请求消息包括第一图片信息;Obtaining a first add friend request message sent by the first terminal, where the first add friend request message includes first picture information;
获取第二终端发送的第二添加好友请求消息,所述第二添加好友请求消息包括第二图片信息;Obtaining a second add friend request message sent by the second terminal, where the second add friend request message includes second picture information;
将所述第一图片信息与所述第二图片信息进行相似度匹配处理,确定匹配是否成功;Performing similarity matching processing on the first picture information and the second picture information to determine whether the matching is successful;
若成功,则推荐所述第一终端和所述第二终端互为待添加好友。If successful, the first terminal and the second terminal are recommended to be friends to be added.
可选的,所述将所述第一图片信息与所述第二图片信息进行相似度匹配处理,确定匹配是否成功之前,还包括:Optionally, the performing the similarity matching processing on the first picture information and the second picture information to determine whether the matching is successful, the method further includes:
获取所述第一终端发送的第一属性信息; Obtaining first attribute information sent by the first terminal;
获取所述第二终端发送的第二属性信息;Obtaining second attribute information sent by the second terminal;
将所述第一属性信息与所述第二属性信息进行一致性匹配处理,确定匹配是否成功;Performing consistency matching processing on the first attribute information and the second attribute information to determine whether the matching is successful;
若成功,则执行将所述第一图片信息与所述第二图片信息进行相似度匹配处理;If successful, performing similarity matching processing on the first picture information and the second picture information;
若失败,则获取第三终端发送的第三添加好友请求消息,所述第三添加好友请求消息包括第三图片信息和第三属性信息。If the failure occurs, acquiring a third added friend request message sent by the third terminal, where the third added friend request message includes the third picture information and the third attribute information.
可选的,所述将所述第一图片信息与所述第二图片信息进行相似度匹配处理,确定匹配是否成功之后,还包括:Optionally, after performing the similarity matching process on the first picture information and the second picture information to determine whether the matching is successful, the method further includes:
获取所述第一终端发送的第一属性信息;Obtaining first attribute information sent by the first terminal;
获取所述第二终端发送的第二属性信息;Obtaining second attribute information sent by the second terminal;
将所述第一属性信息与所述第二属性信息进行一致性匹配处理,确定匹配是否成功;Performing consistency matching processing on the first attribute information and the second attribute information to determine whether the matching is successful;
若成功,则推荐所述第一终端和所述第二终端互为待添加好友;If the method is successful, the first terminal and the second terminal are recommended to be friends to be added to each other;
若失败,则获取第三终端发送的第三添加好友请求消息,所述第三添加好友请求消息包括第三图片信息和第三属性信息。If the failure occurs, acquiring a third added friend request message sent by the third terminal, where the third added friend request message includes the third picture information and the third attribute information.
可选的,所述获取第三终端发送的第三添加好友请求消息之后,还包括:Optionally, after the acquiring the third add friend request message sent by the third terminal, the method further includes:
将所述第一图片信息与所述第三图片信息进行相似度匹配处理;Performing similarity matching processing on the first picture information and the third picture information;
将所述第一属性信息与所述第二属性信息进行一致性匹配处理;Performing consistency matching processing on the first attribute information and the second attribute information;
若匹配处理均成功,则推荐所述第一终端和所述第三终端互为待添加好友。If the matching process is successful, the first terminal and the third terminal are recommended to be friends to be added.
可选的,所述将所述第一图片信息与所述第二图片信息进行相似度匹配处理,确定匹配是否成功,包括:Optionally, performing the similarity matching process on the first picture information and the second picture information to determine whether the matching is successful, including:
将所述第一图片信息与所述第二图片信息进行相似度匹配处理,获取相似度匹配值;Performing similarity matching processing on the first picture information and the second picture information to obtain a similarity matching value;
将所述相似度匹配值与阈值进行比较,确定匹配是否成功;Comparing the similarity matching value with a threshold to determine whether the matching is successful;
若所述相似度匹配值大于阈值,则确定匹配成功; If the similarity matching value is greater than the threshold, determining that the matching is successful;
若所述相似度匹配值小于或等于阈值,则确定匹配失败。If the similarity matching value is less than or equal to the threshold, it is determined that the matching fails.
本发明实施例还提供了一种添加好友方法,包括:An embodiment of the present invention further provides a method for adding a friend, including:
第一终端确定添加好友;The first terminal determines to add a friend;
所述第一终端向服务器发送第一添加好友请求消息,所述第一添加好友请求消息包括第一图片信息。The first terminal sends a first add friend request message to the server, where the first add friend request message includes first picture information.
可选的,所述第一终端向服务器发送第一添加好友请求消息之后,还包括:Optionally, after the first terminal sends the first add friend request message to the server, the method further includes:
所述第一终端向所述服务器发送第一属性信息。The first terminal sends first attribute information to the server.
本发明实施例还提供了一种添加好友装置,包括:An embodiment of the present invention further provides a device for adding a friend, including:
第一获取模块,设置为获取第一终端发送的第一添加好友请求消息,所述第一添加好友请求消息包括第一图片信息;a first acquiring module, configured to acquire a first added friend request message sent by the first terminal, where the first added friend request message includes first picture information;
第二获取模块,设置为获取第二终端发送的第二添加好友请求消息,所述第二添加好友请求消息包括第二图片信息;a second acquiring module, configured to acquire a second added friend request message sent by the second terminal, where the second added friend request message includes second picture information;
处理模块,设置为将所述第一图片信息与所述第二图片信息进行相似度匹配处理,确定匹配是否成功;a processing module, configured to perform similarity matching processing on the first picture information and the second picture information, to determine whether the matching is successful;
推荐模块,设置为若成功,则推荐所述第一终端和所述第二终端互为待添加好友。The recommendation module is configured to, if successful, recommend that the first terminal and the second terminal are mutually added friends.
可选的,所述第一获取模块,还设置为获取所述第一终端发送的第一属性信息;Optionally, the first acquiring module is further configured to acquire first attribute information sent by the first terminal;
所述第二获取模块,还设置为获取所述第二终端发送的第二属性信息;The second obtaining module is further configured to acquire second attribute information sent by the second terminal;
所述处理模块,还设置为将所述第一属性信息与所述第二属性信息进行一致性匹配处理,确定匹配是否成功;若成功,则执行将所述第一图片信息与所述第二图片信息进行相似度匹配处理;若失败,则获取第三终端发送的第三添加好友请求消息,所述第三添加好友请求消息包括第三图片信息和第三属性信息。The processing module is further configured to perform consistency matching processing on the first attribute information and the second attribute information to determine whether the matching is successful; if successful, execute the first picture information and the second The picture information is subjected to a similarity matching process; if it fails, the third added friend request message sent by the third terminal is obtained, and the third added friend request message includes the third picture information and the third attribute information.
可选的,所述第一获取模块,还设置为获取所述第一终端发送的第一属性信息; Optionally, the first acquiring module is further configured to acquire first attribute information sent by the first terminal;
所述第二获取模块,还设置为获取所述第二终端发送的第二属性信息;The second obtaining module is further configured to acquire second attribute information sent by the second terminal;
所述处理模块,还设置为将所述第一属性信息与所述第二属性信息进行一致性匹配处理,确定匹配是否成功;若成功,则推荐所述第一终端和所述第二终端互为待添加好友;若失败,则获取第三终端发送的第三添加好友请求消息,所述第三添加好友请求消息包括第三图片信息和第三属性信息。The processing module is further configured to perform consistency matching processing on the first attribute information and the second attribute information to determine whether the matching is successful; if successful, recommending the first terminal and the second terminal to each other If the buddy is to be added, the third buddy request message sent by the third terminal is obtained, where the third buddy request message includes the third picture information and the third attribute information.
可选的,所述处理模块,还设置为将所述第一图片信息与所述第三图片信息进行相似度匹配处理;将所述第一属性信息与所述第二属性信息进行一致性匹配处理;若匹配处理均成功,则推荐所述第一终端和所述第三终端互为待添加好友。Optionally, the processing module is further configured to perform similarity matching processing on the first picture information and the third picture information, and perform consistent matching on the first attribute information and the second attribute information. If the matching process is successful, the first terminal and the third terminal are recommended to be friends to be added.
可选的,所述处理模块,还设置为将所述第一图片信息与所述第二图片信息进行相似度匹配处理,获取相似度匹配值;将所述相似度匹配值与阈值进行比较,确定匹配是否成功;若所述相似度匹配值大于阈值,则确定匹配成功;若所述相似度匹配值小于或等于阈值,则确定匹配失败。Optionally, the processing module is further configured to perform similarity matching processing on the first picture information and the second picture information to obtain a similarity matching value, and compare the similarity matching value with a threshold value, Determining whether the matching is successful; if the similarity matching value is greater than the threshold, determining that the matching is successful; if the similarity matching value is less than or equal to the threshold, determining that the matching fails.
本发明实施例还提供了一种添加好友装置,包括:An embodiment of the present invention further provides a device for adding a friend, including:
确定模块,设置为确定添加好友;Determining the module, setting to determine to add a friend;
发送模块,设置为向服务器发送第一添加好友请求消息,所述第一添加好友请求消息包括第一图片信息。The sending module is configured to send a first add friend request message to the server, where the first add friend request message includes the first picture information.
可选的,所述发送模块,还设置为向所述服务器发送第一属性信息。Optionally, the sending module is further configured to send the first attribute information to the server.
与相关技术相比,本发明实施例包括,获取第一终端发送的第一添加好友请求消息,所述第一添加好友请求消息包括第一图片信息;获取第二终端发送的第二添加好友请求消息,所述第二添加好友请求消息包括第二图片信息;接着,将所述第一图片信息与所述第二图片信息进行相似度匹配处理,确定匹配是否成功;若成功,则推荐所述第一终端和所述第二终端互为待添加好友。实现了根据终端的需求添加好友,进而扩大了添加好友的范围。Compared with the related art, the embodiment of the present invention includes: acquiring a first added friend request message sent by the first terminal, where the first added friend request message includes first picture information; and acquiring a second added friend request sent by the second terminal a message, the second added friend request message includes second picture information; then, performing similarity matching processing on the first picture information and the second picture information to determine whether the matching is successful; if successful, recommending the The first terminal and the second terminal are mutually added friends. It is implemented to add friends according to the needs of the terminal, thereby expanding the scope of adding friends.
本发明实施例的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明实施例而了解。本发明实施例的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。 Other features and advantages of the embodiments of the invention will be set forth in the description in the description in the claims The objectives and other advantages of the embodiments of the present invention can be realized and obtained by the structure of the invention.
附图概述BRIEF abstract
附图用来提供对本发明实施例技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本发明实施例的技术方案,并不构成对本发明实施例技术方案的限制。The accompanying drawings are used to provide a further understanding of the embodiments of the embodiments of the invention, and .
图1为本添加好友方法一实施例的流程示意图;FIG. 1 is a schematic flowchart of an embodiment of adding a friend method;
图2为本添加好友方法另一实施例的流程示意图;2 is a schematic flowchart of another embodiment of adding a friend method;
图3为本添加好友装置一实施例的结构示意图;3 is a schematic structural diagram of an embodiment of adding a friend device;
图4为本添加好友装置另一实施例的结构示意图。FIG. 4 is a schematic structural diagram of another embodiment of adding a friend device.
本发明的实施方式Embodiments of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行。并且,虽然在流程图中示出了逻辑顺序,但是在一些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。The steps illustrated in the flowchart of the figures may be executed in a computer system such as a set of computer executable instructions. Also, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
本发明实施例提供的添加好友方法可以应用于终端用户添加好友时,该终端用户可以是正在使用如即时通信应用和社交类应用的用户。本实施例提供的添加好友方法可以通过添加好友装置来执行,该添加好友装置可以集成在终端设备或服务器中,该添加好友装置可以采用软件和/或硬件的方式来实现。以下对本实施例提供的添加好友装置方法及其装置进行详细地说明。The method for adding a friend provided by the embodiment of the present invention may be applied to an end user adding a friend, and the terminal user may be a user who is using an instant messaging application and a social application. The method for adding a friend provided by this embodiment may be implemented by adding a friend device, which may be integrated in a terminal device or a server, and the device for adding a friend may be implemented by using software and/or hardware. The method for adding a friend device and the device thereof provided in this embodiment are described in detail below.
图1为本添加好友方法一实施例的流程示意图,如图1所示,本实施例的方法的执行主体可以是添加好友装置,该添加好友装置可以设置在服务器,该服务器可以是提供第一终端运行的即时通信应用或社交类应用的网络侧服务器。该方法包括如下步骤:FIG. 1 is a schematic flowchart of an embodiment of a method for adding a friend. As shown in FIG. 1 , an execution body of the method in this embodiment may be a friend device, where the friend device may be set in a server, and the server may provide the first An instant messaging application running on the terminal or a network side server of a social application. The method comprises the following steps:
步骤101、获取第一终端发送的第一添加好友请求消息。Step 101: Acquire a first add friend request message sent by the first terminal.
本实施例中的第一添加好友请求消息包括第一图片信息。The first added friend request message in this embodiment includes first picture information.
举例来讲,该第一图片信息可以是用户在第一终端选择的一张图片的信 息,该图片可以是网络图片,或自己手工绘制的图片、或通过终端相机立即拍摄的图片等。For example, the first picture information may be a letter of a picture selected by the user at the first terminal. Interest, the picture can be a network picture, or a picture drawn by yourself, or a picture taken immediately by the terminal camera.
步骤102、获取第二终端发送的第二添加好友请求消息。Step 102: Acquire a second add friend request message sent by the second terminal.
本实施例中的所述第二添加好友请求消息包括第二图片信息。The second add friend request message in this embodiment includes second picture information.
举例来讲,该第二图片信息可以是用户在第二终端选择的一张图片的信息,该图片可以是网络图片,或自己手工绘制的图片、或通过终端相机立即拍摄的图片等。For example, the second picture information may be information of a picture selected by the user at the second terminal, and the picture may be a network picture, or a picture manually drawn by itself, or a picture immediately taken by the terminal camera.
需要说明的是,在本实施例中,添加好友装置在获取到上述第一添加好友请求消息和第二添加好友请求消息的同时,还可以获取其他终端发送添加好友请求消息,在本实施例中不做限制。It should be noted that, in this embodiment, the adding friend device may obtain the first friend adding request message and the second adding friend request message, and may also obtain the message that the other terminal sends the add friend request message, in this embodiment. No restrictions.
步骤103、将所述第一图片信息与所述第二图片信息进行相似度匹配处理,确定匹配是否成功。Step 103: Perform similarity matching processing on the first picture information and the second picture information to determine whether the matching is successful.
举例来讲,将所述第一图片信息与所述第二图片信息进行相似度匹配处理,获取相似度匹配值;将所述相似度匹配值与阈值进行比较,确定匹配是否成功;若所述相似度匹配值大于阈值,则确定匹配成功;若所述相似度匹配值小于或等于阈值,则确定匹配失败。For example, performing similarity matching processing on the first picture information and the second picture information to obtain a similarity matching value; comparing the similarity matching value with a threshold to determine whether the matching is successful; If the similarity matching value is greater than the threshold, it is determined that the matching is successful; if the similarity matching value is less than or equal to the threshold, it is determined that the matching fails.
在本实施例中,若匹配成功,执行步骤104,若匹配失败,则可以获取第三终端发送的第三添加好友请求消息,其中,该第三添加好友请求消息包括第三图片信息。可选的,将所述第一属性信息与所述第三属性信息进行一致性匹配处理,确定匹配是否成功;若匹配成功,则推荐第一终端和第三终端互为待添加好友。若匹配失败,则继续获取其他的终端发送的添加好友请求信息,并确定与第一图片匹配的图片信息。In this embodiment, if the matching is successful, step 104 is performed. If the matching fails, the third added friend request message sent by the third terminal may be obtained, where the third added friend request message includes the third picture information. Optionally, the first attribute information and the third attribute information are consistently matched to determine whether the matching is successful. If the matching is successful, the first terminal and the third terminal are recommended to be friends to be added. If the matching fails, the information about the added friend request sent by the other terminal is continuously obtained, and the picture information matching the first picture is determined.
步骤104、推荐所述第一终端和所述第二终端互为待添加好友。Step 104: The first terminal and the second terminal are recommended to be friends to be added.
在本实施例中,通过获取第一终端发送的第一添加好友请求消息,所述第一添加好友请求消息包括第一图片信息;获取第二终端发送的第二添加好友请求消息,所述第二添加好友请求消息包括第二图片信息;接着,将所述第一图片信息与所述第二图片信息进行相似度匹配处理,确定匹配是否成功;若成功,则推荐所述第一终端和所述第二终端互为待添加好友。实现了根据 终端的需求添加好友,进而扩大了添加好友的范围。In this embodiment, the first added friend request message sent by the first terminal is obtained, the first added friend request message includes first picture information, and the second added friend request message sent by the second terminal is acquired, where the The second adding friend request message includes the second picture information; then, performing the similarity matching process on the first picture information and the second picture information to determine whether the matching is successful; if successful, recommending the first terminal and the The second terminal is a friend to be added to each other. Achieved Adding friends to the needs of the terminal expands the scope of adding friends.
在上述实施例的基础上,在步骤103之后,还可以包括:On the basis of the foregoing embodiment, after step 103, the method may further include:
获取所述第一终端发送的第一属性信息;Obtaining first attribute information sent by the first terminal;
本实施例中的第一属性信息包括第一终端需要添加好友的属性信息,如,好友的性别、年龄等信息。The first attribute information in this embodiment includes the attribute information of the first terminal that needs to be added, such as the gender, age, and the like of the friend.
获取所述第二终端发送的第二属性信息。Obtaining second attribute information sent by the second terminal.
本实施例中的第二属性信息包括第二终端需要添加好友的属性信息,如,好友的性别、年龄等信息。The second attribute information in this embodiment includes the attribute information of the second terminal that needs to be added, such as the gender, age, and the like of the friend.
将所述第一属性信息与所述第二属性信息进行一致性匹配处理,确定匹配是否成功;Performing consistency matching processing on the first attribute information and the second attribute information to determine whether the matching is successful;
若成功,则推荐所述第一终端和所述第二终端互为待添加好友;If the method is successful, the first terminal and the second terminal are recommended to be friends to be added to each other;
若失败,则获取第三终端发送的第三添加好友请求消息,所述第三添加好友请求消息包括第三图片信息和第三属性信息。If the failure occurs, acquiring a third added friend request message sent by the third terminal, where the third added friend request message includes the third picture information and the third attribute information.
可选的,在上述实施例的基础上,在步骤103之后,还可以包括:Optionally, on the basis of the foregoing embodiment, after step 103, the method may further include:
获取所述第一终端发送的第一属性信息;Obtaining first attribute information sent by the first terminal;
获取所述第二终端发送的第二属性信息;Obtaining second attribute information sent by the second terminal;
本实施例中的第一属性信息和第二属性信息分别与上述实施例中的第一属性信息和第二属性信息类似,在此不再一一赘述。The first attribute information and the second attribute information in the embodiment are similar to the first attribute information and the second attribute information in the foregoing embodiment, and are not repeatedly described herein.
将所述第一属性信息与所述第二属性信息进行一致性匹配处理,确定匹配是否成功;Performing consistency matching processing on the first attribute information and the second attribute information to determine whether the matching is successful;
若成功,则执行将所述第一图片信息与所述第二图片信息进行相似度匹配处理;If successful, performing similarity matching processing on the first picture information and the second picture information;
若失败,则获取第三终端发送的第三添加好友请求消息,所述第三添加好友请求消息包括第三图片信息和第三属性信息。If the failure occurs, acquiring a third added friend request message sent by the third terminal, where the third added friend request message includes the third picture information and the third attribute information.
图2为本添加好友方法另一实施例的流程示意图,如图2所示,本实施例的方法的执行主体可以是添加好友装置,该添加好友装置可以设置在终端,该终端可以即时通信应用或社交类应用。该方法包括如下步骤: 2 is a schematic flowchart of another embodiment of the method for adding a friend. As shown in FIG. 2, the execution body of the method in this embodiment may be a friend device, and the device for adding a friend may be set in the terminal, and the terminal may be used for instant communication. Or social apps. The method comprises the following steps:
步骤201、第一终端确定添加好友。Step 201: The first terminal determines to add a friend.
步骤202、所述第一终端向服务器发送第一添加好友请求消息。Step 202: The first terminal sends a first add friend request message to the server.
在本实施例中,所述第一添加好友请求消息包括第一图片信息。In this embodiment, the first add friend request message includes first picture information.
举例来讲,该第一图片信息可以是用户在第一终端选择的一张图片的信息,该图片可以是网络图片,或自己手工绘制的图片、或通过终端相机立即拍摄的图片等。For example, the first picture information may be information of a picture selected by the user at the first terminal, and the picture may be a network picture, or a picture manually drawn by itself, or a picture immediately taken by the terminal camera.
在本实施例中,通过第一终端确定添加好友,接着,所述第一终端向服务器发送第一添加好友请求消息,所述第一添加好友请求消息包括第一图片信息。实现了根据终端的需求添加好友,进而扩大了添加好友的范围,并实现了添加好友的多样化需要。In this embodiment, the first terminal determines to add a friend, and then the first terminal sends a first add friend request message to the server, where the first add friend request message includes the first picture information. It realizes the addition of friends according to the needs of the terminal, thereby expanding the scope of adding friends and realizing the diversification needs of adding friends.
在上述实施例的基础上,步骤202之后,还可以包括:On the basis of the foregoing embodiment, after step 202, the method may further include:
所述第一终端向所述服务器发送第一属性信息。The first terminal sends first attribute information to the server.
本实施例中的第一属性信息包括第一终端需要添加好友的属性信息,如,好友的性别、年龄等信息。The first attribute information in this embodiment includes the attribute information of the first terminal that needs to be added, such as the gender, age, and the like of the friend.
图3为本添加好友装置一实施例的结构示意图,如图3所示,添加好友装置,包括:第一获取模块31、第二获取模块32、处理模块33和推荐模块34。其中,FIG. 3 is a schematic structural diagram of an embodiment of adding a friend device. As shown in FIG. 3, a friend device is added, including: a first obtaining module 31, a second obtaining module 32, a processing module 33, and a recommending module 34. among them,
第一获取模块31,设置为获取第一终端发送的第一添加好友请求消息,所述第一添加好友请求消息包括第一图片信息;The first acquiring module 31 is configured to acquire a first added friend request message sent by the first terminal, where the first added friend request message includes first picture information;
第二获取模块32,设置为获取第二终端发送的第二添加好友请求消息,所述第二添加好友请求消息包括第二图片信息;The second obtaining module 32 is configured to obtain a second added friend request message sent by the second terminal, where the second added friend request message includes second picture information;
处理模块33,设置为将所述第一图片信息与所述第二图片信息进行相似度匹配处理,确定匹配是否成功;The processing module 33 is configured to perform similarity matching processing on the first picture information and the second picture information to determine whether the matching is successful.
推荐模块34,设置为若成功,则推荐所述第一终端和所述第二终端互为待添加好友。The recommendation module 34 is configured to, if successful, recommend that the first terminal and the second terminal are friends to be added to each other.
在本实施例中,通过获取第一终端发送的第一添加好友请求消息,所述第一添加好友请求消息包括第一图片信息;获取第二终端发送的第二添加好 友请求消息,所述第二添加好友请求消息包括第二图片信息;接着,将所述第一图片信息与所述第二图片信息进行相似度匹配处理,确定匹配是否成功;若成功,则推荐所述第一终端和所述第二终端互为待添加好友。实现了根据终端的需求添加好友,进而扩大了添加好友的范围。In this embodiment, the first adding friend request message is sent by the first terminal, and the first adding friend request message includes the first picture information; a friend request message, the second add friend request message includes second picture information; then, performing similarity matching processing on the first picture information and the second picture information to determine whether the matching is successful; if successful, recommending The first terminal and the second terminal are mutually added friends. It is implemented to add friends according to the needs of the terminal, thereby expanding the scope of adding friends.
在上述实施例的基础上,第一获取模块31,还设置为获取所述第一终端发送的第一属性信息;On the basis of the foregoing embodiment, the first obtaining module 31 is further configured to acquire the first attribute information sent by the first terminal;
所述第二获取模块32,还设置为获取所述第二终端发送的第二属性信息;The second obtaining module 32 is further configured to acquire second attribute information sent by the second terminal;
所述处理模块33,还设置为将所述第一属性信息与所述第二属性信息进行一致性匹配处理,确定匹配是否成功;若成功,则执行将所述第一图片信息与所述第二图片信息进行相似度匹配处理;若失败,则获取第三终端发送的第三添加好友请求消息,所述第三添加好友请求消息包括第三图片信息和第三属性信息。The processing module 33 is further configured to perform consistency matching processing on the first attribute information and the second attribute information to determine whether the matching is successful; if successful, execute the first picture information and the first The second picture information is subjected to a similarity matching process; if the message is not obtained, the third added friend request message sent by the third terminal is obtained, where the third added friend request message includes the third picture information and the third attribute information.
可选的,在上述实施例的基础上,第一获取模块31,还设置为获取所述第一终端发送的第一属性信息;Optionally, the first obtaining module 31 is further configured to acquire the first attribute information sent by the first terminal, on the basis of the foregoing embodiment.
所述第二获取模块32,还设置为获取所述第二终端发送的第二属性信息;The second obtaining module 32 is further configured to acquire second attribute information sent by the second terminal;
所述处理模块33,还设置为将所述第一属性信息与所述第二属性信息进行一致性匹配处理,确定匹配是否成功;若成功,则推荐所述第一终端和所述第二终端互为待添加好友;若失败,则获取第三终端发送的第三添加好友请求消息,所述第三添加好友请求消息包括第三图片信息和第三属性信息。The processing module 33 is further configured to perform consistency matching processing on the first attribute information and the second attribute information to determine whether the matching is successful; if successful, recommend the first terminal and the second terminal And the third added friend request message sent by the third terminal is obtained, where the third added friend request message includes the third picture information and the third attribute information.
在上述实施例的基础上,处理模块33,还设置为将所述第一图片信息与所述第三图片信息进行相似度匹配处理;将所述第一属性信息与所述第三属性信息进行一致性匹配处理;若匹配处理均成功,则推荐所述第一终端和所述第三终端互为待添加好友。On the basis of the foregoing embodiment, the processing module 33 is further configured to perform similarity matching processing on the first picture information and the third picture information, and perform the first attribute information and the third attribute information. The consistency matching process is performed. If the matching process is successful, the first terminal and the third terminal are recommended to be friends to be added.
可选的,在上述实施例的基础上,所述处理模块33,还设置为将所述第一图片信息与所述第二图片信息进行相似度匹配处理,获取相似度匹配值;将所述相似度匹配值与阈值进行比较,确定匹配是否成功;若所述相似度匹配值大于阈值,则确定匹配成功;若所述相似度匹配值小于或等于阈值,则确定匹配失败。 Optionally, on the basis of the foregoing embodiment, the processing module 33 is further configured to perform similarity matching processing on the first picture information and the second picture information, to obtain a similarity matching value; The similarity matching value is compared with the threshold to determine whether the matching is successful. If the similarity matching value is greater than the threshold, the matching is determined to be successful. If the similarity matching value is less than or equal to the threshold, the matching is determined to be unsuccessful.
图4为本添加好友装置另一实施例的结构示意图,如图4所示,添加好友装置,包括:确定模块41和发送模块42。其中FIG. 4 is a schematic structural diagram of another embodiment of adding a friend device. As shown in FIG. 4, a friend device is added, including: a determining module 41 and a sending module 42. among them
确定模块41,设置为确定添加好友;a determining module 41, configured to determine to add a friend;
发送模块42,设置为向服务器发送第一添加好友请求消息,所述第一添加好友请求消息包括第一图片信息。The sending module 42 is configured to send a first add friend request message to the server, where the first add friend request message includes first picture information.
在本实施例中,通过第一终端确定添加好友,接着,所述第一终端向服务器发送第一添加好友请求消息,所述第一添加好友请求消息包括第一图片信息。实现了根据终端的需求添加好友,进而扩大了添加好友的范围,并实现了添加好友的多样化需要。In this embodiment, the first terminal determines to add a friend, and then the first terminal sends a first add friend request message to the server, where the first add friend request message includes the first picture information. It realizes the addition of friends according to the needs of the terminal, thereby expanding the scope of adding friends and realizing the diversification needs of adding friends.
在上述实施例的基础上,所述发送模块42,还设置为向所述服务器发送第一属性信息。Based on the foregoing embodiment, the sending module 42 is further configured to send the first attribute information to the server.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中,所述计算机程序在相应的硬件平台上(如系统、设备、装置、器件等)执行,在执行时,包括方法实施例的步骤之一或其组合。One of ordinary skill in the art will appreciate that all or a portion of the steps of the above-described embodiments can be implemented using a computer program flow, which can be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地,上述实施例的全部或部分步骤也可以使用集成电路来实现,这些步骤可以被分别制作成一个个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。Alternatively, all or part of the steps of the above embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
上述实施例中的装置/功能模块/功能单元可以采用通用的计算装置来实现,它们可以集中在单个的计算装置上,也可以分布在多个计算装置所组成的网络上。The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的各装置/功能模块/功能单元以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。上述提到的计算机可读取存储介质可以是只读存储器,磁盘或光盘等。When each device/function module/functional unit in the above embodiment is implemented in the form of a software function module and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性Industrial applicability
本发明实施例实现了根据终端的需求添加好友,进而扩大了添加好友的范围。 The embodiment of the invention realizes adding friends according to the requirements of the terminal, thereby expanding the scope of adding friends.

Claims (15)

  1. 一种添加好友方法,包括:A method of adding friends, including:
    获取第一终端发送的第一添加好友请求消息,所述第一添加好友请求消息包括第一图片信息;Obtaining a first add friend request message sent by the first terminal, where the first add friend request message includes first picture information;
    获取第二终端发送的第二添加好友请求消息,所述第二添加好友请求消息包括第二图片信息;Obtaining a second add friend request message sent by the second terminal, where the second add friend request message includes second picture information;
    将所述第一图片信息与所述第二图片信息进行相似度匹配处理,确定匹配是否成功;以及,Performing similarity matching processing on the first picture information and the second picture information to determine whether the matching is successful; and
    若成功,则推荐所述第一终端和所述第二终端互为待添加好友。If successful, the first terminal and the second terminal are recommended to be friends to be added.
  2. 根据权利要求1所述的方法,所述将所述第一图片信息与所述第二图片信息进行相似度匹配处理,确定匹配是否成功之前,该方法还包括:The method according to claim 1, wherein the method further comprises: performing a similarity matching process on the first picture information and the second picture information to determine whether the matching is successful, the method further comprising:
    获取所述第一终端发送的第一属性信息;Obtaining first attribute information sent by the first terminal;
    获取所述第二终端发送的第二属性信息;Obtaining second attribute information sent by the second terminal;
    将所述第一属性信息与所述第二属性信息进行一致性匹配处理,确定匹配是否成功;Performing consistency matching processing on the first attribute information and the second attribute information to determine whether the matching is successful;
    若成功,则执行将所述第一图片信息与所述第二图片信息进行相似度匹配处理;If successful, performing similarity matching processing on the first picture information and the second picture information;
    若失败,则获取第三终端发送的第三添加好友请求消息,所述第三添加好友请求消息包括第三图片信息和第三属性信息。If the failure occurs, acquiring a third added friend request message sent by the third terminal, where the third added friend request message includes the third picture information and the third attribute information.
  3. 根据权利要求1所述的方法,所述将所述第一图片信息与所述第二图片信息进行相似度匹配处理,确定匹配是否成功之后,该方法还包括:The method of claim 1, after the first picture information and the second picture information are subjected to similarity matching processing to determine whether the matching is successful, the method further includes:
    获取所述第一终端发送的第一属性信息;Obtaining first attribute information sent by the first terminal;
    获取所述第二终端发送的第二属性信息;Obtaining second attribute information sent by the second terminal;
    将所述第一属性信息与所述第二属性信息进行一致性匹配处理,确定匹配是否成功;Performing consistency matching processing on the first attribute information and the second attribute information to determine whether the matching is successful;
    若成功,则推荐所述第一终端和所述第二终端互为待添加好友; If the method is successful, the first terminal and the second terminal are recommended to be friends to be added to each other;
    若失败,则获取第三终端发送的第三添加好友请求消息,所述第三添加好友请求消息包括第三图片信息和第三属性信息。If the failure occurs, acquiring a third added friend request message sent by the third terminal, where the third added friend request message includes the third picture information and the third attribute information.
  4. 根据权利要求2或3所述的方法,所述获取第三终端发送的第三添加好友请求消息之后,该方法还包括:The method according to claim 2 or 3, after the acquiring the third add friend request message sent by the third terminal, the method further includes:
    将所述第一图片信息与所述第三图片信息进行相似度匹配处理;Performing similarity matching processing on the first picture information and the third picture information;
    将所述第一属性信息与所述第三属性信息进行一致性匹配处理;Performing consistency matching processing on the first attribute information and the third attribute information;
    若匹配处理均成功,则推荐所述第一终端和所述第三终端互为待添加好友。If the matching process is successful, the first terminal and the third terminal are recommended to be friends to be added.
  5. 根据权利要求1项所述的方法,其中,所述将所述第一图片信息与所述第二图片信息进行相似度匹配处理,确定匹配是否成功,包括:The method according to claim 1, wherein the performing the similarity matching processing on the first picture information and the second picture information to determine whether the matching is successful comprises:
    将所述第一图片信息与所述第二图片信息进行相似度匹配处理,获取相似度匹配值;Performing similarity matching processing on the first picture information and the second picture information to obtain a similarity matching value;
    将所述相似度匹配值与阈值进行比较,确定匹配是否成功;Comparing the similarity matching value with a threshold to determine whether the matching is successful;
    若所述相似度匹配值大于阈值,则确定匹配成功;If the similarity matching value is greater than the threshold, determining that the matching is successful;
    若所述相似度匹配值小于或等于阈值,则确定匹配失败。If the similarity matching value is less than or equal to the threshold, it is determined that the matching fails.
  6. 一种添加好友方法,包括:A method of adding friends, including:
    第一终端确定添加好友;The first terminal determines to add a friend;
    所述第一终端向服务器发送第一添加好友请求消息,所述第一添加好友请求消息包括第一图片信息。The first terminal sends a first add friend request message to the server, where the first add friend request message includes first picture information.
  7. 根据权利要求6项所述的方法,所述第一终端向服务器发送第一添加好友请求消息之后,还包括:The method of claim 6, after the first terminal sends the first add friend request message to the server, the method further includes:
    所述第一终端向所述服务器发送第一属性信息。The first terminal sends first attribute information to the server.
  8. 一种添加好友装置,包括:A friend device is added, including:
    第一获取模块,设置为获取第一终端发送的第一添加好友请求消息,所述第一添加好友请求消息包括第一图片信息;a first acquiring module, configured to acquire a first added friend request message sent by the first terminal, where the first added friend request message includes first picture information;
    第二获取模块,设置为获取第二终端发送的第二添加好友请求消息,所述第二添加好友请求消息包括第二图片信息; a second acquiring module, configured to acquire a second added friend request message sent by the second terminal, where the second added friend request message includes second picture information;
    处理模块,设置为将所述第一图片信息与所述第二图片信息进行相似度匹配处理,确定匹配是否成功;以及,The processing module is configured to perform similarity matching processing on the first picture information and the second picture information to determine whether the matching is successful; and
    推荐模块,设置为若成功,则推荐所述第一终端和所述第二终端互为待添加好友。The recommendation module is configured to, if successful, recommend that the first terminal and the second terminal are mutually added friends.
  9. 根据权利要求8所述的装置,其中,所述第一获取模块,还设置为获取所述第一终端发送的第一属性信息;The device according to claim 8, wherein the first obtaining module is further configured to acquire first attribute information sent by the first terminal;
    所述第二获取模块,还设置为获取所述第二终端发送的第二属性信息;The second obtaining module is further configured to acquire second attribute information sent by the second terminal;
    所述处理模块,还设置为将所述第一属性信息与所述第二属性信息进行一致性匹配处理,确定匹配是否成功;若成功,则执行将所述第一图片信息与所述第二图片信息进行相似度匹配处理;若失败,则获取第三终端发送的第三添加好友请求消息,所述第三添加好友请求消息包括第三图片信息和第三属性信息。The processing module is further configured to perform consistency matching processing on the first attribute information and the second attribute information to determine whether the matching is successful; if successful, execute the first picture information and the second The picture information is subjected to a similarity matching process; if it fails, the third added friend request message sent by the third terminal is obtained, and the third added friend request message includes the third picture information and the third attribute information.
  10. 根据权利要求8所述的装置,其中,所述第一获取模块,还设置为获取所述第一终端发送的第一属性信息;The device according to claim 8, wherein the first obtaining module is further configured to acquire first attribute information sent by the first terminal;
    所述第二获取模块,还设置为获取所述第二终端发送的第二属性信息;The second obtaining module is further configured to acquire second attribute information sent by the second terminal;
    所述处理模块,还设置为将所述第一属性信息与所述第二属性信息进行一致性匹配处理,确定匹配是否成功;若成功,则推荐所述第一终端和所述第二终端互为待添加好友;若失败,则获取第三终端发送的第三添加好友请求消息,所述第三添加好友请求消息包括第三图片信息和第三属性信息。The processing module is further configured to perform consistency matching processing on the first attribute information and the second attribute information to determine whether the matching is successful; if successful, recommending the first terminal and the second terminal to each other If the buddy is to be added, the third buddy request message sent by the third terminal is obtained, where the third buddy request message includes the third picture information and the third attribute information.
  11. 根据权利要求9或10所述的装置,其中,所述处理模块,还设置为将所述第一图片信息与所述第三图片信息进行相似度匹配处理;将所述第一属性信息与所述第三属性信息进行一致性匹配处理;若匹配处理均成功,则推荐所述第一终端和所述第三终端互为待添加好友。The apparatus according to claim 9 or 10, wherein the processing module is further configured to perform similarity matching processing on the first picture information and the third picture information; The third attribute information is subjected to consistency matching processing; if the matching processing is successful, the first terminal and the third terminal are recommended to be friends to be added.
  12. 根据权利要求8项所述的装置,其中,所述处理模块,还设置为将所述第一图片信息与所述第二图片信息进行相似度匹配处理,获取相似度匹配值;将所述相似度匹配值与阈值进行比较,确定匹配是否成功;若所述相似度匹配值大于阈值,则确定匹配成功;若所述相似度匹配值小于或等于阈值,则确定匹配失败。 The apparatus according to claim 8, wherein the processing module is further configured to perform similarity matching processing on the first picture information and the second picture information to obtain a similarity matching value; The degree matching value is compared with the threshold to determine whether the matching is successful. If the similarity matching value is greater than the threshold, the matching is determined to be successful. If the similarity matching value is less than or equal to the threshold, the matching is determined to be unsuccessful.
  13. 一种添加好友装置,包括:A friend device is added, including:
    确定模块,设置为确定添加好友;Determining the module, setting to determine to add a friend;
    发送模块,设置为向服务器发送第一添加好友请求消息,所述第一添加好友请求消息包括第一图片信息。The sending module is configured to send a first add friend request message to the server, where the first add friend request message includes the first picture information.
  14. 根据权利要求13项所述的装置,其中,所述发送模块,还设置为向所述服务器发送第一属性信息。The apparatus of claim 13, wherein the transmitting module is further configured to send the first attribute information to the server.
  15. 一种计算机可读存储介质,存储有程序指令,当该程序指令被执行时可实现权利要求1-7任一项所述的方法。 A computer readable storage medium storing program instructions that, when executed, implement the method of any of claims 1-7.
PCT/CN2015/078986 2015-03-05 2015-05-14 Friend adding method and device therefor WO2016138698A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510098533.2A CN105991422A (en) 2015-03-05 2015-03-05 Method and device for adding friends
CN201510098533.2 2015-03-05

Publications (1)

Publication Number Publication Date
WO2016138698A1 true WO2016138698A1 (en) 2016-09-09

Family

ID=56849142

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/078986 WO2016138698A1 (en) 2015-03-05 2015-05-14 Friend adding method and device therefor

Country Status (2)

Country Link
CN (1) CN105991422A (en)
WO (1) WO2016138698A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110011901A (en) * 2019-03-22 2019-07-12 广州友迅网络科技有限公司 Search for the method, apparatus and storage medium of friend-making object
CN111104836A (en) * 2019-01-11 2020-05-05 孙向东 Multifunctional social system and method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108650169A (en) * 2018-04-28 2018-10-12 深圳市沃特沃德股份有限公司 The precisely method and device of addition good friend

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629945A (en) * 2012-04-16 2012-08-08 腾讯科技(深圳)有限公司 Method for user information acquisition and server as well as terminal
CN104052646A (en) * 2013-03-12 2014-09-17 中国移动通信集团公司 Photo identification-based instant communication method and system, server
CN104102656A (en) * 2013-04-09 2014-10-15 腾讯科技(深圳)有限公司 Friend recommending method, device, system and server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239457B (en) * 2014-09-02 2019-03-12 百度在线网络技术(北京)有限公司 Search for recommended method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629945A (en) * 2012-04-16 2012-08-08 腾讯科技(深圳)有限公司 Method for user information acquisition and server as well as terminal
CN104052646A (en) * 2013-03-12 2014-09-17 中国移动通信集团公司 Photo identification-based instant communication method and system, server
CN104102656A (en) * 2013-04-09 2014-10-15 腾讯科技(深圳)有限公司 Friend recommending method, device, system and server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111104836A (en) * 2019-01-11 2020-05-05 孙向东 Multifunctional social system and method
CN110011901A (en) * 2019-03-22 2019-07-12 广州友迅网络科技有限公司 Search for the method, apparatus and storage medium of friend-making object
CN110011901B (en) * 2019-03-22 2022-01-18 广州友迅网络科技有限公司 Method, apparatus and storage medium for searching friend-making object

Also Published As

Publication number Publication date
CN105991422A (en) 2016-10-05

Similar Documents

Publication Publication Date Title
US11317240B2 (en) Geo-location based event gallery
US8214301B2 (en) Social network mapping
US20160028803A1 (en) Networking in a Social Network
US9730046B2 (en) Automatically inferring user signature through contextual learning
US11706168B2 (en) Triggering event identification and application dialog validation
US9311681B2 (en) Claiming conversations between users and non-users of a social networking system
US9838396B2 (en) Controlling content-sharing using a privacy list snapshot
WO2014062542A1 (en) Social gathering-based group sharing
TWI706362B (en) Data processing method, device and server based on blockchain
KR20150132266A (en) Method and apparatus for requesting and providing access to information associated with an image
US20150095803A1 (en) Social network capable of recommending friends and friend recommendation method
CN110677267B (en) Information processing method and device
JP2017204304A (en) Maintaining limited user profile for social networking system users unable to establish user profile
US11652807B2 (en) Device validation apparatus and protocol for a group-based communication system
CN104376022B (en) Data processing method and device
WO2016138698A1 (en) Friend adding method and device therefor
US20160092838A1 (en) Job posting standardization and deduplication
US10043157B2 (en) Job posting standardization and deduplication
US10341129B2 (en) Method and system to provide the trending news stories to the plurality of groups based on the plurality of group members existing conversations
CN105376279A (en) Contact recommending method and device
US9094575B2 (en) Non-transitory computer-readable medium storing program and communication device
JP2016512629A (en) Integrating content from external followers in social networking systems
US20150127757A1 (en) Systems and Methods for Sending Messages
CN112102195A (en) Beautifying method, parameter maintenance method, device, electronic equipment and storage medium
WO2014173105A1 (en) Systems and methods for reward issuance

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15883755

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15883755

Country of ref document: EP

Kind code of ref document: A1