WO2013075583A1 - 添加好友的方法、装置及存储介质 - Google Patents

添加好友的方法、装置及存储介质 Download PDF

Info

Publication number
WO2013075583A1
WO2013075583A1 PCT/CN2012/084090 CN2012084090W WO2013075583A1 WO 2013075583 A1 WO2013075583 A1 WO 2013075583A1 CN 2012084090 W CN2012084090 W CN 2012084090W WO 2013075583 A1 WO2013075583 A1 WO 2013075583A1
Authority
WO
WIPO (PCT)
Prior art keywords
friend
user terminal
request
condition
information
Prior art date
Application number
PCT/CN2012/084090
Other languages
English (en)
French (fr)
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 腾讯科技(深圳)有限公司
Priority to AU2012343085A priority Critical patent/AU2012343085B2/en
Priority to US14/114,814 priority patent/US20140074939A1/en
Publication of WO2013075583A1 publication Critical patent/WO2013075583A1/zh

Links

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/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/222Monitoring or handling of messages using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and a storage medium for adding a friend.
  • Adding friends is a basic feature in instant messaging apps and social apps.
  • An existing method for adding a friend is: the user knows the nickname or account number of the target user, finds the target user according to the nickname or account combined with the search function in the instant messaging application and the social application, and then sends the target user to the target friend. Add a friend request.
  • the inventor has found that at least the following problems exist in the prior art: When a user finds a friend, it also needs to know the nickname or account number of the target user, and the limitation in actual use is relatively large, and can be found and added as a friend. There are relatively few target users.
  • Embodiments of the present invention provide a method, an apparatus, and a storage medium for adding a friend.
  • the technical solution is as follows:
  • an embodiment of the present invention provides a method for adding a friend, where the method for adding a friend includes: storing personal information of each user terminal, where the personal information includes area information; and storing each user terminal setting a friend's condition, the friend condition includes at least a region information condition item; according to the user friend's add friend request, selecting a predetermined number of users to recommend to the user terminal that issues the add friend request, the recommended user's personal information is Matching the friend's condition set by the user terminal that issued the add friend request; adding a friend according to the selection of the user terminal that issued the add friend request.
  • an embodiment of the present invention further provides a device for adding a friend, where
  • the device for adding a friend includes: a personal information storage module, configured to store personal information of each user terminal, where the personal information includes regional information; a friend condition storage module, configured to store a friend condition set by each user terminal, The friend condition includes at least a geographic information condition item; the friend recommendation module is configured to select, according to the user friend's add friend request, a predetermined number of user recommendations to the user terminal that issues the add friend request, and the recommended user's personal information is Matching the friend condition set by the user terminal that issued the add friend request; the friend adding module, configured to add a friend according to the selection of the user terminal that sends the add friend request.
  • an embodiment of the present invention further provides a storage medium including computer executable instructions for performing a method for adding a friend, the method comprising the steps of: storing personal information of each user terminal, The personal information includes geographical information; storing the friendship conditions set by each user terminal, wherein the friend condition includes at least a regional information condition item; and according to the user friend's request to add a friend, selecting a predetermined number of user recommendations to issue the addition
  • the user terminal requested by the friend, the personal information of the recommended user is consistent with the friend condition set by the user terminal that issued the request to add the friend; and the friend is added according to the selection of the user terminal that sends the request to add the friend.
  • FIG. 1 is a schematic structural diagram of an implementation environment of a method for adding a friend according to Embodiment 1 of the present invention
  • 2 is a flowchart of a method for adding a friend according to Embodiment 1 of the present invention
  • FIG. 3 is a structural block diagram of a device for adding a friend according to Embodiment 2 of the present invention.
  • FIG. 4 is a structural block diagram of a region information obtaining module according to Embodiment 2 of the present invention
  • FIG. 5 is a block diagram showing a structure of a friend recommendation module according to Embodiment 2 of the present invention
  • FIG. 6 is a structural block diagram of a friend adding module according to Embodiment 2 of the present invention.
  • FIG. 1 is a schematic structural diagram of an implementation environment of a method for adding a friend according to Embodiment 1 of the present invention.
  • the implementation environment includes a user terminal 120, a server 140, and a location based service 160.
  • the user terminal 120 may be a mobile terminal such as a mobile phone or a tablet computer that has certain computing power and runs instant messaging software and websites or social software and websites.
  • the server 140 may be one or more servers that provide instant messaging services or social services. Of course, the server 140 may also be a virtual cloud computing module.
  • the location based service 160 includes a mobile positioning system 162, a global positioning system 164, and a geographic information system 166.
  • the location based service 160 is also referred to in the prior art as a Location Based Service, referred to as LBS. It can obtain the location information of the user terminal 120 through a radio communication network provided by a mobile operator or a GPS (Global Positioning System) system, and is supported by a GIS (Geographic Information System) platform. A value-added service that provides the corresponding service.
  • the location-based service 160 locates the user terminal 120 by the mobile positioning system 162 or the global positioning system 164 to obtain the latitude and longitude information of the user terminal 120, and then obtains the latitude and longitude information through the GIS information to obtain the latitude and longitude information.
  • the area information to which the user terminal 120 belongs The area information to which the user terminal 120 belongs.
  • FIG. 2 illustrates a method for providing a location-based add friend according to Embodiment 1 of the present invention.
  • Flow chart This method of adding a friend can be applied to the server 140.
  • the method of adding a friend includes:
  • Step 201 storing personal information of each user terminal, where the personal information includes regional information; the server may pre-store personal information of each user terminal, where the personal information includes regional information, and the personal information may also include a nickname, a gender, a hobby, etc. Other Information.
  • Most of the personal information can be collected by the user terminal receiving the user's input.
  • the user terminal can automatically send a self-positioning request to the server when logging in to the instant messaging application or the social application, or the user terminal can also receive the user's input to send the self-positioning request to the server.
  • the server can receive a self-location request from the user terminal, and then the server sends a first location request to the global positioning system or the mobile positioning system according to the self-location request of the user terminal.
  • the global positioning system or the mobile positioning system can locate the user terminal according to the first positioning request, thereby obtaining the latitude and longitude information of the user terminal and feeding back to the server.
  • the server then sends a second location request to the geographic information system according to the latitude and longitude information fed back by the global positioning system or the mobile positioning system, and the geographic information system can further obtain the regional information of the user terminal according to the latitude and longitude information and feed back to the server.
  • the server can store the geographical information fed back by the geographic information system, and on the other hand, can feed the regional information to the user terminal that sends the self-positioning request.
  • the server can always obtain timely and accurate geographical information of the user terminal.
  • Step 202 Store a friendship condition set by each user terminal, and each of the dating conditions includes at least a conditional item of the geographic information;
  • the user terminal may set one or more friend conditions, and each friend condition may include one or more specific condition items, such as a gender condition item, an age condition item, and a geographical information condition item.
  • each of the dating conditions includes at least one geographic information condition item; second, each of the dating conditions is independent of each other, but each specific condition item in the same dating condition is logic and relationship.
  • the two friendship conditions set by the user terminal are "female, Wuxi City, Jiangsu province” and "16-34 years old, Suzhou City, Jiangsu province", then when judging whether another user meets the conditions of friendship, the two The conditions for making friends are independent of each other, as long as the user meets one of them, but when judging whether the user meets a friend's condition, other users are in the condition of dating.
  • the gender condition item "female” and the regional information condition item “Wuxi City, Jiangsu province” must be met at the same time to meet the conditions of the friend; or, other users for the age condition item belonging to another friend condition" 16-34 "Annual” and "Regional Information Conditions”"Suzhou City, Jiangsu province” must be met at the same time to be in line with the conditions for making friends.
  • the server may receive one or more dating conditions set by the user terminal, and each of the dating conditions includes at least a geographic information condition item, and the server may store multiple friendship conditions corresponding to different user terminals respectively.
  • Step 203 According to the adding friend request of the user terminal, selecting a predetermined number of users to recommend to the user terminal that sends the add friend request, and the recommended users all meet the friend setting conditions set by the user terminal that sends the add friend request;
  • the user terminal may initiate a friend add request to the server, and the server receives the friend request sent by the user terminal, and then the server queries the friend condition corresponding to the user terminal according to the added friend request, and the friend condition corresponding to the user terminal may be multiple.
  • the server queries the friend condition corresponding to the user terminal, the user whose personal information meets all the condition items in any of the friend conditions can be selected as the recommended friend. That is to say, the friend condition corresponding to the user terminal that is queried by the server may be multiple, and then the server determines whether the personal information of other users meets the friend's condition, as long as the personal information of other users can satisfy one of the friend conditions. Recommend a friend.
  • the server can then recommend a predetermined number of recommended friends to the user terminal.
  • the predetermined number can be preset by the user terminal or the server default. For example, the server can recommend 10 recommended friends to the user terminal each time.
  • the server may further receive the continuation friend request of the user terminal.
  • the server may also recommend another A predetermined number of recommended friends are given to the user terminal.
  • Step 204 Add a friend according to the selection of the user terminal that issues the request to add a friend.
  • the user terminal may choose to send a continuation friend request to the server, or may select one or more from the existing recommended friends to send a friend request, and the server may receive the friend request and Forwarding to the corresponding user terminal, after the corresponding user terminal accepts the friend request, the server adds the user terminal and the corresponding user terminal as Friends.
  • the method for adding a friend obtained by the embodiment obtains the geographical information of each user terminal by using the location-based service, and then selects the user who meets the friend-friending condition according to the friend-friending condition set by the user terminal, so that the user You can find and add friends by setting fuzzy friend conditions such as geographic information. These friends can be not only people who the user knows, but also strangers, that is, the user gets a better user experience.
  • Embodiment 2 Embodiment 2
  • FIG. 3 is a structural block diagram of a device for adding a friend according to Embodiment 2 of the present invention.
  • the device that adds friends can be implemented as part of the server.
  • the device for adding a friend includes a region information obtaining module 310, a personal information storage module 320, a friend condition obtaining module 330, a friend condition storage module 340, a friend recommendation module 350, and a friend adding module 360.
  • the area information obtaining module 310 is configured to obtain the area information of the user terminal from the location-based service according to the self-location request of the user terminal.
  • the area information obtaining module 310 may include: a user request receiving unit 311, a first positioning unit 312, a second positioning unit 313, and a region information transmitting unit 314, as shown in FIG.
  • the user request receiving unit 311 is configured to receive a self-positioning request from each user terminal.
  • the first positioning unit 312 is configured to send a first positioning request to the global positioning system or the mobile positioning system according to the self-positioning request.
  • the second positioning request is sent to the geographic information system according to the latitude and longitude information fed back by the global positioning system or the mobile positioning system; the regional information sending unit 314 is configured to feed back the regional information fed back by the geographic information system to the user terminal that issues the self-positioning request.
  • the personal information storage module 320 is configured to store the geographic information of each user terminal obtained by the regional information obtaining module 310.
  • the personal information storage module 320 is further configured to store other personal information of the user terminal, such as a nickname, a gender, a hobby, and the like;
  • the friend condition obtaining module 330 is configured to receive one or more friend conditions set by each user terminal, and each friend condition includes one or more condition items, wherein one condition item is a geographic information condition item.
  • the friend condition storage module 340 is configured to store the friendship conditions set by each user terminal received by the friend condition obtaining module 330, and each of the friend conditions includes at least a region information condition item.
  • the friend recommendation module 350 is configured to select a predetermined number according to the adding friend request of the user terminal.
  • the user recommends to the user terminal that issues the request to add a friend, and the personal information of the recommended user is consistent with the friend's condition set by the user terminal that issued the request to add a friend.
  • the friend recommendation module 350 may include a friend request receiving unit 352, a friend condition inquiry unit 354, a friend selection condition selection unit 356, and a friend recommendation unit 358, as shown in FIG.
  • the friend request receiving unit 352 is configured to receive the add friend request of the user terminal; the friend condition query unit 354 is configured to query all the friend conditions corresponding to the user terminal that sends the friend request to be added; the friend condition selection unit 356 is configured to select the personal information to match The user of all the condition items in any of the dating conditions serves as a recommended friend; the friend recommendation unit 358 is configured to recommend a predetermined number of recommended friends to the user terminal that issues the add friend request.
  • the friend request receiving unit 352 is further configured to receive the continuation friend request of the user terminal.
  • the friend recommendation unit 354 is further configured to: after the friend request receiving unit 352 receives the continuation friend request, recommend another batch of the predetermined number of recommended friends to the user. terminal.
  • the friend add module 360 is used to add a friend according to the selection of the user terminal that issued the friend request.
  • the friend adding module 360 may include a friend request receiving unit 362, a friend request forwarding unit 364, a feedback information receiving unit 366, and a adding friend unit 368, as shown in FIG.
  • the friend request receiving unit 362 is configured to receive a friend request sent by the user terminal, where the friend request includes a recommended friend selected by the user terminal.
  • the friend request forwarding unit 364 is configured to forward the friend request received by the friend request receiving unit 362 to the recommended friend selected by the user terminal.
  • the feedback information receiving unit 366 is configured to receive feedback information of whether the recommended friend selected by the user terminal agrees to the friend request.
  • the adding friend unit 368 is configured to add the user terminal and the recommended friend selected by the user terminal as a friend after the feedback information receiving unit 366 receives the feedback information that the recommended friend selected by the user terminal agrees to the friend request.
  • the device for adding a friend obtained by the embodiment obtains the regional information of each user terminal by using the location-based service, and then selects the user who meets the friend's condition to the user terminal according to the friendship condition set by the user terminal, so that the user You can find and add friends by setting fuzzy dating information such as geographic information. These friends can be not only people who the user knows, but also strangers, that is, the user gets a better user experience.
  • fuzzy dating information such as geographic information.
  • These friends can be not only people who the user knows, but also strangers, that is, the user gets a better user experience.
  • the device for adding a friend provided in the foregoing embodiment is described in the second embodiment, only the division of the foregoing functional modules is illustrated. In actual applications, the functions may be assigned different functions according to requirements. The module is completed, dividing the internal structure of the device into different Functional modules to perform all or part of the functions described above.
  • the method for adding a friend provided by the foregoing embodiment is the same as the method for adding a friend. For
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Abstract

本发明公开了一种添加好友的方法、装置及存储介质。其中,所述方法包括:存储各个用户终端的个人信息,个人信息中包含地域信息;存储各个用户终端设定的交友条件,交友条件中至少包括有地域信息条件项;根据用户终端的添加好友请求,选择预定数量的用户推荐给发出所述添加好友请求的用户终端,被推荐的用户的个人信息都符合发出所述添加好友请求的用户终端设定的交友条件;根据用户终端的选择添加好友。本发明通过基于位置的服务获得各个用户终端的地域信息,然后根据用户终端设定的交友条件,来选择符合交友条件的用户给用户终端,使得用户能够通过设定诸如地域信息之类的交友信息来查找和添加好友,也使得用户获得了更为良好的用户体验。

Description

添加好友的方法、 装置及存储介质
技术领域
本发明涉及计算机技术领域, 特别涉及一种添加好友的方法、 装置及存 储介质。
背景技术
随着计算机技术和网络技术的发展, 即时通讯类应用和社交类应用已经 逐步融入到了人们的曰常生活中。
在即时通讯类应用和社交类应用中, 添加好友功能是一项基本功能。 现 有的一种添加好友的方法是: 用户获知目标用户的昵称或者账号, 根据该昵 称或者账号结合即时通讯类应用和社交类应用中的搜索功能查找到该目标 用户, 然后向该目标好友发出添加好友请求。
在实现本发明的过程中, 发明人发现现有技术至少存在以下问题: 用户 查找好友时, 还需要知道目标用户的昵称或者账号, 实际使用时局限性比较 大, 能够查找到并且添加为好友的目标用户相对较少。
发明内容
为了使用户能够通过设定诸如地域信息之类的模糊交友条件来查找和 添加好友。 本发明实施例提供了一种添加好友的方法、 装置及存储介质。 所 述技术方案如下:
根据本发明的一个方面, 本发明实施例提供一种添加好友的方法, 所述 添加好友的方法包括: 存储各个用户终端的个人信息, 所述个人信息中包含 地域信息; 存储各个用户终端设定的交友条件, 所述交友条件中至少包括有 地域信息条件项; 根据用户终端的添加好友请求, 选择预定数量的用户推荐 给发出所述添加好友请求的用户终端, 被推荐的用户的个人信息都符合发出 所述添加好友请求的用户终端设定的交友条件; 根据发出所述添加好友请求 的用户终端的选择添加好友。
根据本发明的另一方面, 本发明实施例还提供一种添加好友的装置, 所 述添加好友的装置包括: 个人信息存储模块, 用于存储各个用户终端的个人 信息, 所述个人信息中包含地域信息; 交友条件存储模块, 用于存储各个用 户终端设定的交友条件, 所述交友条件中至少包括有地域信息条件项; 好友 推荐模块, 用于根据用户终端的添加好友请求, 选择预定数量的用户推荐给 发出所述添加好友请求的用户终端, 被推荐的用户的个人信息都符合发出所 述添加好友请求的用户终端设定的交友条件; 好友添加模块, 用于根据发出 所述添加好友请求的用户终端的选择添加好友。
此外, 本发明实施例还提供了一种包含计算机可执行指令的存储介质, 该计算机可执行指令用于执行一种添加好友的方法, 此方法包括以下步骤: 存储各个用户终端的个人信息, 所述个人信息中包含地域信息; 存储各个用 户终端设定的交友条件, 所述交友条件中至少包括有地域信息条件项; 根据 用户终端的添加好友请求, 选择预定数量的用户推荐给发出所述添加好友请 求的用户终端, 被推荐的用户的个人信息都符合发出所述添加好友请求的用 户终端设定的交友条件; 根据发出所述添加好友请求的用户终端的选择添加 好友。
本发明实施例提供的技术方案带来的有益效果是:
通过基于位置的服务获得各个用户终端的地域信息, 然后根据用户终端 设定的交友条件, 选择符合交友条件的用户给用户终端, 使得用户能够通过 设定诸如地域信息之类的模糊交友条件来查找和添加好友, 这些好友不仅可 以是用户本来认识的人, 也可以是陌生人, 也即使得用户获得了更为良好的 用户体验。
附图概述
为了更清楚地说明本发明实施例的技术方案, 下面将对实施例描述中所 需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本发 明的一些实施例, 对于本领域的普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他附图。
图 1 是本发明实施例一提供的添加好友的方法的实施环境的结构示意 图; 图 2是本发明实施例一提供的添加好友的方法的流程图;
图 3是本发明实施例二提供的添加好友的装置的结构方框图;
图 4是本发明实施例二提供的地域信息获得模块的结构方框图; 图 5是本发明实施例二提供的好友推荐模块的结构方框图;
图 6是本发明实施例二提供的好友添加模块的结构方框图。
本发明的较佳实施方式
下面结合本发明实施例中的附图, 对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不 是全部的实施例。 基于本发明的实施例, 本领域普通技术人员在没有做出创 造性劳动前提下所获得的所有其他实施例, 都属于本发明的保护范围。
下面将结合附图对本发明实施例作进一步地详细描述。
为了便于描述, 请参考图 1 , 其示出了本发明实施例一提供的添加好友 的方法的实施环境的结构示意图。该实施环境包括用户终端 120、服务器 140 和基于位置的服务 160。 其中, 用户终端 120可以是诸如手机或者平板电脑 之类的具有一定计算能力并且运行有即时通讯类软件及网站或者社交类软 件及网站的移动终端。 服务器 140可以是提供即时通讯类服务或者社交类服 务的一台或者多台服务器, 当然服务器 140也可以是虚拟云计算模组。 基于 位置的服务 160包括移动定位系统 162、 全球定位系统 164和地理信息系统 166。基于位置的服务 160在现有技术中也称之为 Location Based Service, 筒 称 LBS。 它可以通过移动运营商提供的无线电通讯网络或 GPS(Global Positioning System, 全球定位系统)系统来获取用户终端 120的位置信息, 在 GIS(Geographic Information System, 地理信息系统)平台的支持下, 为用户提 供相应服务的一种增值业务。 筒单来讲, 基于位置的服务 160是通过移动定 位系统 162或者全球定位系统 164来对用户终端 120进行定位以获得用户终 端 120的经纬度信息, 然后通过该经纬度信息在地理信息系统 166查询来获 得用户终端 120所属的地域信息。
实施例一
请参考图 2, 其示出了本发明实施例一提供基于位置的添加好友的方法 的流程图。 该添加好友的方法可以应用于服务器 140中。 该添加好友的方法 包括:
步骤 201 , 存储各个用户终端的个人信息, 个人信息中包含地域信息; 服务器可以预先存储各个用户终端的个人信息, 该个人信息中包含地域 信息, 当然该个人信息也可以包括昵称、 性别、 爱好等其它信息。 大部分个 人信息都可以通过用户终端接收用户的输入的方式采集。 对于其中地域信息 的采集, 用户终端可以在登陆即时通讯类应用或社交类应用时自动发送自我 定位请求给服务器, 或者用户终端也可以接收用户的输入来发送自我定位请 求给服务器。 服务器可以接收来自用户终端的自我定位请求, 然后服务器根 据用户终端的自我定位请求发送第一定位请求给全球定位系统或者移动定 位系统。 全球定位系统或者移动定位系统可以根据该第一定位请求来对用户 终端进行定位, 从而获得该用户终端的经纬度信息并反馈给服务器。 服务器 再根据全球定位系统或者移动定位系统反馈的经纬度信息发送第二定位请 求给地理信息系统, 地理信息系统又可以根据该经纬度信息查询获得该用户 终端的地域信息并反馈给服务器。 服务器一方面可以存储地理信息系统反馈 的地域信息, 另一方面可以将该地域信息反馈给发送自我定位请求的用户终 端。
显然, 如果用户终端在每次登陆即时通讯类应用或社交类应用时自动发 送自我定位请求给服务器, 则服务器总是能够获得该用户终端的及时、 准确 的地域信息。
步骤 202, 存储各个用户终端设定的交友条件, 每条交友条件中至少包 括有地域信息条件项;
用户终端可以设定一条或者多条交友条件, 每条交友条件中又可以包括 一个或者多个具体的条件项, 比如性别条件项、 年龄条件项和地域信息条件 项等等。 应当注意的是, 第一, 每条交友条件中都至少包括有一个地域信息 条件项; 第二, 各条交友条件互相独立, 但同一条交友条件中的各个具体的 条件项是逻辑与关系 , 也即假设用户终端设定的两条交友条件分别是"女, 江苏省无锡市 "和" 16-34岁, 江苏省苏州市", 那么在判断另外一个用户是否 符合交友条件时, 该两条交友条件互相独立, 只要用户符合其中一条即可, 但是在判断用户是否符合一条交友条件时, 其他用户对于属于该条交友条件 中的性别条件项"女"和地域信息条件项"江苏省无锡市 "必须同时满足才算是 符合该条交友条件; 再或者, 其他用户对于属于另一条交友条件中的年龄条 件项" 16-34 岁"和地域信息条件项"江苏省苏州市 "必须同时满足才算是符合 该条交友条件。 服务器可以接收用户终端设定的一条或者多条交友条件, 每 条交友条件中都至少包括有地域信息条件项, 并且服务器可以存储与不同用 户终端分别对应的多条交友条件。
步骤 203 , 根据用户终端的添加好友请求, 选择预定数量的用户推荐给 发出该添加好友请求的用户终端, 被推荐的用户都符合发出添加好友请求的 用户终端设定的交友条件;
用户终端可以向服务器发起添加好友请求, 服务器接收用户终端发出的 添加好友请求, 然后服务器根据该添加好友请求查询与该用户终端对应的交 友条件, 与该用户终端对应的交友条件可以为多条。 当服务器查询到与该用 户终端对应的交友条件后 , 可以选择个人信息符合任一条交友条件中的所有 条件项的用户作为推荐好友。 也就是说, 服务器查询到的与该用户终端对应 的交友条件可能是多条, 然后服务器判断其它用户的个人信息是否符合该交 友条件, 只要其它用户的个人信息能够满足其中一条交友条件就可以作为推 荐好友。 需要再次说明的是, 此处"满足其中一条交友条件"是指其它用户的 个人信息必须满足该条交友条件中的所有具体的条件项。 然后服务器可以推 荐预定数量的推荐好友给用户终端, 这个预定数量可以由用户终端预先设 定, 也可以为服务器默认, 比如, 服务器可以每次给用户终端推荐 10 个推 荐好友。
在一个优选地实施例中, 在服务器首次推荐预订数量的推荐好友给用户 终端后, 服务器还可以接收用户终端的继续好友请求, 当服务器接收到用户 终端的继续好友请求后, 还可以推荐另一批预定数量的推荐好友给用户终 端。
步骤 204 , 根据发出添加好友请求的用户终端的选择添加好友。
当用户终端接收到服务器推荐的预定数量的推荐好友后, 可以选择向服 务器发送继续好友请求, 也可以从已有的推荐好友里面选择一个或者多个来 发送交友请求, 服务器可以接收该交友请求并转发给对应的用户终端, 当对 应的用户终端接受该交友请求后, 服务器将用户终端和对应的用户终端加为 好友。
综上所述, 本实施例提供的添加好友的方法通过基于位置的服务获得各 个用户终端的地域信息, 然后根据用户终端设定的交友条件, 来选择符合交 友条件的用户给用户终端, 使得用户能够通过设定诸如地域信息之类的模糊 交友条件来查找和添加好友, 这些好友不仅可以是用户本来认识的人, 也可 以是陌生人, 也即使得用户获得了更为良好的用户体验。 实施例二
请参考图 3 , 其示出了本发明实施例二提供的添加好友的装置的结构方 框图。 该添加好友的装置可以实施成为服务器中的一部分。 该添加好友的装 置包括地域信息获得模块 310、 个人信息存储模块 320、 交友条件获得模块 330、 交友条件存储模块 340、 好友推荐模块 350和好友添加模块 360。
地域信息获得模块 310用于根据用户终端的自我定位请求来向基于位置 的服务获得用户终端的地域信息。 地域信息获得模块 310可以包括: 用户请 求接收单元 311、 第一定位单元 312、 第二定位单元 313和地域信息发送单 元 314, 如图 4所示。 其中, 用户请求接收单元 311用于接收来自各个用户 终端的自我定位请求; 第一定位单元 312用于根据自我定位请求发送第一定 位请求给全球定位系统或者移动定位系统; 第二定位单元 313用于根据全球 定位系统或者移动定位系统反馈的经纬度信息发送第二定位请求给地理信 息系统; 地域信息发送单元 314用于将地理信息系统反馈的地域信息反馈给 发出自我定位请求的用户终端。
个人信息存储模块 320用于存储地域信息获得模块 310获得的各个用户 终端的地域信息, 个人信息存储模块 320还用于存储用户终端的其它个人信 息, 比如昵称、 性别、 爱好等;
交友条件获得模块 330用于接收每个用户终端设定的一条或者多条交友 条件, 每条交友条件都包括有一个或者多个条件项, 其中一个条件项为地域 信息条件项。
交友条件存储模块 340用于存储交友条件获得模块 330接收到的各个用 户终端设定的交友条件 , 每条交友条件中至少包括有地域信息条件项。
好友推荐模块 350用于根据用户终端的添加好友请求, 选择预定数量的 用户推荐给发出添加好友请求的用户终端, 被推荐的用户的个人信息都符合 发出添加好友请求的用户终端设定的交友条件。 好友推荐模块 350可以包括 交友请求接收单元 352、 交友条件查询单元 354、 交友条件选择单元 356和 好友推荐单元 358 , 如图 5所示。 其中, 交友请求接收单元 352用于接收用 户终端的添加好友请求; 交友条件查询单元 354用于查询与发出添加好友请 求的用户终端对应的所有交友条件; 交友条件选择单元 356用于选择个人信 息符合任一条交友条件中的所有条件项的用户作为推荐好友; 好友推荐单元 358用于推荐预定数量的推荐好友给发出添加好友请求的用户终端。优选地, 交友请求接收单元 352还用于接收用户终端的继续好友请求; 好友推荐单元 354还用于在交友请求接收单元 352接收到继续好友请求后, 推荐另一批预 定数量的推荐好友给用户终端。
好友添加模块 360用于根据发出添加好友请求的用户终端的选择添加好 友。 好友添加模块 360可以包括交友请求接收单元 362、 交友请求转发单元 364、 回馈信息接收单元 366和添加好友单元 368 , 如图 6所示。 其中, 交友 请求接收单元 362用于接收用户终端发送的交友请求, 该交友请求中包含用 户终端选定的推荐好友。 交友请求转发单元 364用于转发交友请求接收单元 362接收到的交友请求给用户终端选定的推荐好友。 回馈信息接收单元 366 用于接收被用户终端选定的推荐好友是否同意该交友请求的回馈信息。 添加 好友单元 368用于在回馈信息接收单元 366接收到被用户终端选定的推荐好 友同意该交友请求的回馈信息后, 将用户终端和被用户终端选定的推荐好友 添加为好友。
综上所述, 本实施例提供的添加好友的装置通过基于位置的服务获得各 个用户终端的地域信息, 然后根据用户终端设定的交友条件, 来选择符合交 友条件的用户给用户终端, 使得用户能够通过设定诸如地域信息之类的模糊 交友信息来查找和添加好友, 这些好友不仅可以是用户本来认识的人, 也可 以是陌生人, 也即使得用户获得了更为良好的用户体验。 需要说明的是: 上述实施例提供的添加好友的装置在实施例二中描述 时, 仅以上述各功能模块的划分进行举例说明, 实际应用中, 可以根据需要 而将上述功能分配由不同的功能模块完成, 即将装置的内部结构划分成不同 的功能模块, 以完成以上描述的全部或者部分功能。 另外, 上述实施例提供 的添加好友的装置与添加好友的方法实施例属于同一构思, 其具体实现过程 详见方法实施例, 这里不再赘述。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以 通过硬件来完成, 也可以通过程序来指令相关的硬件完成, 所述的程序可以 存储于一种计算机可读存储介质中, 上述提到的存储介质可以是只读存储 器, 磁盘或光盘等。
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不 局限于此, 任何熟悉本技术领域的技术人员在本发明披露的技术范围内, 可 轻易想到的变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明 的保护范围应该以权利要求书的保护范围为准。

Claims

权 利 要 求 书
1、 一种添加好友的方法, 其特征在于, 所述方法包括:
存储各个用户终端的个人信息, 所述个人信息中包含地域信息; 存储各个用户终端设定的交友条件, 所述交友条件中至少包括有地域信 息条件项;
根据用户终端的添加好友请求, 选择预定数量的用户推荐给发出所述添 加好友请求的用户终端, 被推荐的用户的个人信息符合发出所述添加好友请 求的用户终端设定的交友条件;
根据发出所述添加好友请求的用户终端的选择添加好友。
2、 根据权利要求 1 所述的添加好友的方法, 其特征在于, 所述存储各 个用户终端的个人信息之前, 还包括:
接收来自各个用户终端的自我定位请求;
根据所述自我定位请求发送第一定位请求给全球定位系统或者移动定 位系统;
根据所述全球定位系统或者所述移动定位系统反馈的经纬度信息发送 第二定位请求给地理信息系统;
将所述地理信息系统反馈的地域信息反馈给发出所述自我定位请求的 用户终端。
3、 根据权利要求 1 所述的添加好友的方法, 其特征在于, 所述存储各 个用户终端设定的交友条件, 所述交友条件至少包括有地域信息条件项之 前, 还包括:
接收每个用户终端设定的一条或者多条交友条件, 每条交友条件都包括 有一个或者多个条件项, 其中一个条件项为地域信息条件项。
4、 根据权利要求 3 所述的添加好友的方法, 其特征在于, 所述根据用 户终端的添加好友请求, 选择预定数量的用户推荐给发出所述添加好友请求 的用户终端, 被推荐的用户的个人信息都符合发出所述添加好友请求的用户 终端设定的交友条件包括:
接收所述用户终端的添加好友请求;
查询与发出所述添加好友请求的用户终端对应的所有交友条件; 选择个人信息符合任一条交友条件中的所有条件项的用户作为推荐好 友;
推荐预定数量的推荐好友给发出所述添加好友请求的用户终端。
5、 根据权利要求 4所述的添加好友的方法, 其特征在于, 在推荐预定 数量的推荐好友给发出所述添加好友请求的用户终端之后, 还包括:
接收所述用户终端的继续好友请求;
推荐另一批预定数量的推荐好友给所述用户终端。
6、 一种添加好友的装置, 其特征在于, 其包括:
个人信息存储模块, 用于存储各个用户终端的个人信息, 所述个人信息 中包含地域信息;
交友条件存储模块, 用于存储各个用户终端设定的交友条件, 所述交友 条件中至少包括有地域信息条件项;
好友推荐模块, 用于根据用户终端的添加好友请求, 选择预定数量的用 户推荐给发出所述添加好友请求的用户终端, 被推荐的用户的个人信息符合 发出所述添加好友请求的用户终端设定的交友条件;
好友添加模块, 用于根据发出所述添加好友请求的用户终端的选择添加 好友。
7、 根据权利要求 6所述的添加好友的装置, 其特征在于, 所述添加好 友的装置还包括地域信息获得模块, 所述地域信息获得模块又包括:
用户请求接收单元, 用于接收来自各个用户终端的自我定位请求; 第一定位单元, 用于根据所述自我定位请求发送第一定位请求给全球定 位系统或者移动定位系统;
第二定位单元, 用于根据所述全球定位系统或者所述移动定位系统反馈 的经纬度信息发送第二定位请求给地理信息系统;
地域信息发送单元, 用于将所述地理信息系统反馈的地域信息反馈给发 出所述自我定位请求的用户终端。
8、 根据权利要求 6所述的添加好友的装置, 其特征在于, 所述添加好 友的装置还包括交友条件获得模块,
所述交友条件获得模块, 用于接收每个用户终端设定的一条或者多条交 友条件, 每条交友条件都包括有一个或者多个条件项, 其中一个条件项为地 域信息条件项。
9、 根据权利要求 8 所述的添加好友的装置, 其特征在于, 所述好友推 荐模块包括:
交友请求接收单元, 用于接收所述用户终端的添加好友请求; 交友条件查询单元, 用于查询与发出所述添加好友请求的用户终端对应 的所有交友条件;
交友条件选择单元, 用于选择个人信息符合任一条交友条件中的所有条 件项的用户作为推荐好友;
好友推荐单元, 用于推荐预定数量的推荐好友给发出所述添加好友请求 的用户终端。
10、 根据权利要求 9所述的添加好友的装置, 其特征在于,
所述交友请求接收单元, 还用于接收所述用户终端的继续好友请求; 所述好友推荐单元, 还用于在所述交友请求接收单元接收到继续好友请 求后, 推荐另一批预定数量的推荐好友给所述用户终端。
11、 一个或多个包含计算机可执行指令的存储介质, 所述计算机可执行 指令用于执行一种添加好友的方法, 其特征在于, 所述方法包括以下步骤: 存储各个用户终端的个人信息, 所述个人信息中包含地域信息; 存储各个用户终端设定的交友条件, 所述交友条件中至少包括有地域信 息条件项;
根据用户终端的添加好友请求, 选择预定数量的用户推荐给发出所述添 加好友请求的用户终端, 被推荐的用户的个人信息符合发出所述添加好友请 求的用户终端设定的交友条件;
根据发出所述添加好友请求的用户终端的选择添加好友。
PCT/CN2012/084090 2011-11-25 2012-11-05 添加好友的方法、装置及存储介质 WO2013075583A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
AU2012343085A AU2012343085B2 (en) 2011-11-25 2012-11-05 Method, device and storage medium for adding friends
US14/114,814 US20140074939A1 (en) 2011-11-25 2012-11-05 Method, device and storage medium for adding friends

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110382469.2 2011-11-25
CN2011103824692A CN103139044A (zh) 2011-11-25 2011-11-25 添加好友方法及装置

Publications (1)

Publication Number Publication Date
WO2013075583A1 true WO2013075583A1 (zh) 2013-05-30

Family

ID=48469102

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/084090 WO2013075583A1 (zh) 2011-11-25 2012-11-05 添加好友的方法、装置及存储介质

Country Status (4)

Country Link
US (1) US20140074939A1 (zh)
CN (1) CN103139044A (zh)
AU (1) AU2012343085B2 (zh)
WO (1) WO2013075583A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110958172A (zh) * 2018-09-26 2020-04-03 上海掌门科技有限公司 一种用于推荐好友的方法、设备和计算机存储介质

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103391322A (zh) * 2013-07-23 2013-11-13 关际信息科技(上海)有限公司 实现移动社交用户推荐通知功能的系统及方法
CN103678605B (zh) * 2013-12-16 2017-06-16 小米科技有限责任公司 一种信息传输的方法、装置及终端设备
CN110162717B (zh) * 2014-06-05 2022-11-01 网易(杭州)网络有限公司 一种推荐好友的方法和设备
CN104038909B (zh) * 2014-06-16 2017-08-29 浙江翼信科技有限公司 一种信息交互方法和设备
CN104090930A (zh) * 2014-06-25 2014-10-08 袁永亮 一种根据用户特性标签搜索恋爱交友对象的方法和系统
CN105376138B (zh) * 2014-08-28 2019-11-19 腾讯科技(深圳)有限公司 一种联系人添加的方法、数据传输的方法、及用户设备
CN106161575B (zh) * 2015-04-28 2020-04-24 腾讯科技(深圳)有限公司 用户匹配方法及装置
CN106202071A (zh) * 2015-04-29 2016-12-07 腾讯科技(深圳)有限公司 账户信息获取的方法、终端、服务器和系统
CN106686198B (zh) * 2015-11-06 2020-08-25 中国移动通信集团公司 通信录的管理方法、亲密度信息的管理方法及装置
CN105282015A (zh) * 2015-11-19 2016-01-27 北京乐动卓越科技有限公司 网络好友获取方法和装置
CN105933863B (zh) * 2016-04-15 2020-02-14 北京搜狗科技发展有限公司 一种添加好友方法、装置及电子设备
CN107733772B (zh) * 2016-08-10 2021-04-20 腾讯科技(深圳)有限公司 添加联系人的方法和装置
CN106716478B (zh) * 2016-11-18 2020-12-01 深圳市大疆创新科技有限公司 控制方法、控制装置及电子装置
CN107153673A (zh) * 2017-03-24 2017-09-12 联想(北京)有限公司 一种信息处理方法及电子设备
CN107592256B (zh) * 2017-09-21 2021-03-09 北京小米移动软件有限公司 添加好友的方法、装置及系统
CN109714246A (zh) * 2017-10-26 2019-05-03 触信(厦门)智能科技有限公司 一种即时互动式好友添加方法
CN108428189B (zh) * 2018-02-27 2021-04-02 上海掌门科技有限公司 一种社交资源处理方法、设备以及可读介质
CN111949813A (zh) * 2019-04-30 2020-11-17 北京百度网讯科技有限公司 交友请求方法、装置、计算机设备和存储介质

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102054127A (zh) * 2010-12-17 2011-05-11 北京开心人信息技术有限公司 一种社交游戏中交友的方法及系统
CN102075573A (zh) * 2011-01-07 2011-05-25 北京邮电大学 远程教育社交网络中学习伙伴自动推荐方法及其系统

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100451190B1 (ko) * 2002-04-15 2004-10-02 엘지전자 주식회사 이동통신 단말기의 위치정보 전송방법
US7236799B2 (en) * 2002-06-14 2007-06-26 Cingular Wireless Ii, Llc Apparatus and systems for providing location-based services within a wireless network
US7330112B1 (en) * 2003-09-09 2008-02-12 Emigh Aaron T Location-aware services
TW200617416A (en) * 2004-11-23 2006-06-01 Fortuna Electronic Corp Global positioning system and method
WO2009101629A2 (en) * 2008-02-13 2009-08-20 Ron Ishai A system and methods for positioning information from a plurality of users
CN101587184B (zh) * 2008-05-19 2012-09-19 鸿富锦精密工业(深圳)有限公司 实时提供联络人所在位置的方法
US20100142447A1 (en) * 2008-09-04 2010-06-10 Ludger Schlicht Web applications for a mobile, broadband, routable internet
CN101360275A (zh) * 2008-09-26 2009-02-04 腾讯科技(深圳)有限公司 一种交友系统、实现方法及交友服务器
US20110010092A1 (en) * 2009-07-10 2011-01-13 Davut Kavranoglu Geographic identification system
US8386620B2 (en) * 2009-12-15 2013-02-26 Apple Inc. Ad hoc networking based on content and location
US8990333B2 (en) * 2010-04-09 2015-03-24 Weather Decision Technologies, Inc. Multimedia alerting
WO2012001624A1 (en) * 2010-07-01 2012-01-05 Ishai Binenstock Location-aware mobile connectivity and information exchange system
CN102014148A (zh) * 2010-08-19 2011-04-13 上海酷吧信息技术有限公司 一种在手机即时通讯中自动推荐同区域好友的方法
CN101924996A (zh) * 2010-09-21 2010-12-22 北京开心人信息技术有限公司 基于地理位置信息的话题群聚方法及系统
US8249621B2 (en) * 2010-10-21 2012-08-21 Google Inc. Frequency of geographic location updates for an electronic device based on user communication
US20130204937A1 (en) * 2011-09-02 2013-08-08 Barry Fernando Platform for information management and method using same
US8660582B2 (en) * 2011-09-20 2014-02-25 Steve Y. Chen System and method for electronic communications between users in a similar geographic location
US20130097123A1 (en) * 2011-10-18 2013-04-18 Research In Motion Limited Method and System for Determining Eligible Communication Partners Utilizing an Entity Discovery Engine
US8880397B2 (en) * 2011-10-21 2014-11-04 Wal-Mart Stores, Inc. Systems, devices and methods for list display and management
US20130104035A1 (en) * 2011-10-25 2013-04-25 Robert Wagner Gps tracking system and method employing public portal publishing location data
CN103425659B (zh) * 2012-05-15 2017-06-09 阿里巴巴集团控股有限公司 基于地理位置的信息搜索方法及服务器

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102054127A (zh) * 2010-12-17 2011-05-11 北京开心人信息技术有限公司 一种社交游戏中交友的方法及系统
CN102075573A (zh) * 2011-01-07 2011-05-25 北京邮电大学 远程教育社交网络中学习伙伴自动推荐方法及其系统

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110958172A (zh) * 2018-09-26 2020-04-03 上海掌门科技有限公司 一种用于推荐好友的方法、设备和计算机存储介质

Also Published As

Publication number Publication date
AU2012343085B2 (en) 2015-04-02
CN103139044A (zh) 2013-06-05
US20140074939A1 (en) 2014-03-13
AU2012343085A1 (en) 2013-11-07

Similar Documents

Publication Publication Date Title
WO2013075583A1 (zh) 添加好友的方法、装置及存储介质
US9674665B2 (en) System and method for automated location-based widgets
CN112333633B (zh) 一种用于共享移动设备的位置的计算机实现的方法、设备和系统
US9813852B2 (en) System and method for positioning terminal
KR101820198B1 (ko) 위치 정보 기반 서비스 처리 방법 및 장치
US20170324658A1 (en) Techniques for smart data routing
EP2831747B1 (en) Sending communications to contacts on a social networking service
JP5961762B2 (ja) 位置情報を取得する方法、および、そのためのシステム
US20120136852A1 (en) Method of and apparatus for managing data representative of a business in a database
US9420426B2 (en) Inferring a current location based on a user location history
CN106792545B (zh) 一种数据传输方法、移动终端及服务器
WO2014090081A1 (zh) 群组加入方法、群组创建方法、客户端、服务器及系统
JP2015507295A (ja) ソーシャルネットワークにおけるユーザ検索方法、ユーザ検索システム、およびユーザ検索装置
WO2010061039A1 (en) Method, apparatus and computer program product for providing context aware queries in a network
WO2014008811A1 (zh) 推送信息的方法、系统及服务器
KR101045822B1 (ko) 휴대단말을 이용한 전자명함 처리 방법, 그 시스템 및 그 프로그램을 기록한 컴퓨터 판독 가능한 기록매체
CN103167401A (zh) 一种基于移动互联网的用户关系建立方法和系统
TW201005317A (en) Method, apparatus, and computer program product for location sharing
KR20140020332A (ko) 사용자 콘텐츠 획득 방법 및 시스템
US20140229503A1 (en) Method And Apparatus For Facilitating Remote Search Of A Community
KR20170038807A (ko) 인스턴트 메시징 그룹 설문 기법
KR20180105176A (ko) 서비스 프로세싱 방법 및 장치
CN104462275A (zh) 一种基于社交网络的应用推荐方法
EP2750417A1 (en) Method for determining points of interest based on user communications and location
CN106294509B (zh) 信息获取方法、装置及系统

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: 12852078

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14114814

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2012343085

Country of ref document: AU

Date of ref document: 20121105

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC OF 071014

122 Ep: pct application non-entry in european phase

Ref document number: 12852078

Country of ref document: EP

Kind code of ref document: A1