WO2012159389A1 - 联系人信息的获取方法及装置 - Google Patents

联系人信息的获取方法及装置 Download PDF

Info

Publication number
WO2012159389A1
WO2012159389A1 PCT/CN2011/079333 CN2011079333W WO2012159389A1 WO 2012159389 A1 WO2012159389 A1 WO 2012159389A1 CN 2011079333 W CN2011079333 W CN 2011079333W WO 2012159389 A1 WO2012159389 A1 WO 2012159389A1
Authority
WO
WIPO (PCT)
Prior art keywords
contact
user
information
indirect
indirect contact
Prior art date
Application number
PCT/CN2011/079333
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 中兴通讯股份有限公司
Publication of WO2012159389A1 publication Critical patent/WO2012159389A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4594Address books, i.e. directories containing contact information about correspondents
    • 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/48Message addressing, e.g. address format or anonymous messages, aliases

Definitions

  • the present invention relates to the field of communications, and in particular to a method and an apparatus for acquiring contact information.
  • BACKGROUND OF THE INVENTION According to the theory of six-degree division, there is no more than six people separated from any stranger, that is, a maximum of six people can know any stranger, and thus can build a huge Social network.
  • a primary object of the present invention is to provide a solution for obtaining contact information to at least solve the above problem that the user experience cannot be reduced because the user cannot obtain the contact information through the indirect contact.
  • a method for obtaining contact information including: a server receiving a request message sent by a client of a first user, where the request message is used to request a second user that the first user needs to acquire
  • the server searches for the indirect contact of the first user to the second user according to the contact information of the first user and/or the subscriber information of the second user; the server sends the information of the indirect contact to the client.
  • the indirect contact is one, the contact information of the indirect contact is recorded in the contact information of the contact of the first user, and the contact information of the second user is recorded in the contact of the contact of the indirect contact.
  • the method further includes: the client, according to the contact information of the indirect contact, to the indirect contact
  • the client sends a sharing request requesting to share the contact information of the second user.
  • the plurality of indirect contacts includes: a first indirect contact, a second indirect contact, and n third indirect contacts, wherein the first indirect contact
  • the contact information is recorded in the contact information of the contact of the first user, and the contact information of the contact of the second indirect contact
  • the contact information of the second user is recorded, the third indirect contact is an indirect contact of the first indirect contact to the second indirect contact, and n is an integer greater than or equal to 0;
  • the method further includes: the client acquiring the second indirect contact according to the indirect contact information returned by the server Contact information, the contact information of the second user is obtained by the second indirect contact sharing.
  • the client obtains the contact information of the second indirect contact by using one of the following manners: the client subscribes to the contact information of the second indirect contact according to the information of the indirect contact returned by the server Sending, by the client, a sharing request to the client of the first indirect contact according to the contact information of the first indirect contact, requesting the first indirect contact to share the contact of the third indirect contact
  • the information is shared by the third indirect contact layer by layer until the contact information of the second indirect contact is obtained; the client subscribes to the third indirect contact according to the indirect contact information returned by the server
  • the contact information of one of the persons is shared layer by layer through the third indirect contact until the contact information of the second indirect contact is obtained.
  • the method further includes: the client, according to the information of the indirect contact, content that needs to be sent to the second user
  • the information is sent to one or more clients corresponding to the indirect contact, and the content information is sent to the client of the second user by the one or more clients.
  • Searching, by the server, the indirect contact of the first user to the second user according to the contact information of the first user and/or the subscriber information of the second user includes one of the following: Searching for the second user in the contact information of the first user, if the search process ends; otherwise, the server continues in the contact information of each contact in the contact information of the first user Searching the second user, searching layer by layer until searching for the second user, obtaining information of the indirect contact from the first user to the second user; Searching for the first user among all the subscribers of the two users, if the search process ends; otherwise, searching for the first user in the subscriber information of all subscribers subscribing to the second user, so searching layer by layer until Searching the first user, obtaining information of the indirect contact from the first user to the second user; a contact letter of the server in the first user Searching for a target contact among the subscribers of the second user and/or subscribing to the second user, and if the target contact is not found, the contact of each contact in the contact information of the first
  • a device for acquiring contact information which is located at a server, and includes: a first receiving module, configured to receive a client sending request message of a first user, where the request message is used by And requesting, by the first user, the contact information of the second user that is acquired by the first user; the searching module is configured to search the first user according to the contact information of the first user and/or the subscriber information of the second user An indirect contact to the second user; a first sending module, configured to send information of the indirect contact to the client.
  • the search module searches for the indirect contact in one of the following ways: searching the second user in the contact information of the first user, if the search process ends; otherwise, the contact at the first user Searching for the second user in the contact information of each contact in the person information, such that searching layer by layer until searching for the second user, obtaining the said from the first user to the second user Information of the indirect contact; searching for the first user among all subscribers subscribing to the second user, if the search process ends; otherwise continuing to search in the subscriber information of all subscribers subscribing to the second user
  • the first user searching layer by layer until searching for the first user, obtaining information of the indirect contact from the first user to the second user; Searching for a target contact in the information and/or subscribing to the second user's subscribers, if the target contact is not found, then each of the first user's contact information Searching for the target contact in the contact information of the contact and/or in all subscriber information subscribing to the subscriber of the second user, such that searching layer
  • a device for acquiring contact information includes: a second sending module, configured to send a request message to a server, where the request message is used to request the first The contact information of the second user that the user needs to obtain; the second receiving module is configured to receive information of the indirect contact of the first user to the second user returned by the server.
  • the indirect contact is one, the contact information of the indirect contact is recorded in the contact information of the contact of the first user, and the contact information of the second user is recorded in the contact of the contact of the indirect contact.
  • the second sending module is further configured to send a sharing request to the client of the indirect contact according to the contact information of the indirect contact, requesting to share the contact information of the second user;
  • the receiving module is further configured to receive the contact information of the second user.
  • the plurality of indirect contacts includes: a first indirect contact, a second indirect contact, and n third indirect contacts, wherein the first indirect contact The contact information is recorded in the contact information of the contact of the first user, and the contact information of the second user is recorded in the contact information of the contact of the second indirect contact, where the third indirect contact is An indirect contact of the first indirect contact to the second indirect contact, where n is an integer greater than or equal to 0;
  • the second sending module is further configured to subscribe to the contact information of the second indirect contact, and And sending, according to the contact information of the second indirect contact, a sharing request to the client of the second indirect contact, requesting to share the contact information of the second user, where the second receiving module is further configured to receive the The contact information of the second indirect contact, and the contact information
  • the second sending module is further configured to: send, according to the information of the indirect contact, content information that needs to be sent to the second user to one or more clients corresponding to the indirect contact, by using the one Or the plurality of clients send the content information to the client of the second user.
  • the server may return the information of the indirect contact to the requesting user, so that the requesting user can know that the indirect contact can be obtained or contacted by the indirect contact, and the solution is solved.
  • the user experience since the user cannot know whether the user experience can be obtained or contacted by the indirect contact, the user experience is reduced, thereby improving the user experience.
  • FIG. 1 is a flow chart of a method for acquiring contact information according to an embodiment of the present invention
  • FIG. 2 is a flow chart according to a preferred embodiment of the present invention
  • FIG. 3 is a flow chart according to a preferred embodiment of the present invention
  • FIG. 1 is a flowchart of a method for acquiring contact information according to an embodiment of the present invention. As shown in FIG.
  • Step S102 A server receives a client sending request message of a first user, where The request message is used to request the contact information of the second user that the first user needs to obtain; for example, the first user may send a contact for requesting subscription to the second user to the server through the client when the second user needs to subscribe to the second user. Request message for information.
  • the first user may also send contact information for requesting the second user to the server when the content information needs to be sent to the second user. For example, if user A needs to send an email to user B, but user A only knows the mobile phone number of user B and does not know the email address of user B, user A can send a request message for requesting user B's email address to the server.
  • Step S104 the server searches for the indirect contact of the first user to the second user according to the contact information of the first user and/or the subscriber information of the second user; for example, if the second user is not included in the first user The part of the contact information of the second user that needs to be obtained in the contact information is not included in the contact information of the contact information of the first user.
  • the server may return the indirect contact information of the first user to the second user to the first user, so the server starts searching for the indirect contact of the first user to the second user; for example, the user A does not know any contact mode of user B at all (ie, user B is not the address book contact member of user A), or user A only knows the mobile phone number of user B, does not know the email address of user B, but needs the email of user B. Send an email at the address.
  • the server may return the indirect contact information of the user A to the user B, or the user A directly requests the server through the client to request the user A to User B's indirect contact information.
  • the contact information refers to the entry in the address book or the buddy list information, and the user name is usually used as the identifier, and the contact information refers to the contact details of the contact (such as a phone number, an email address, a client login name, and a terminal IP address). , the route identifier of the terminal, etc. and combinations thereof.
  • the indirect contact of the first user to the second user may be one or more.
  • the manner in which the server searches for the indirect contacts includes but is not limited to the following three types:
  • the server searches for the second user (for convenience of description, hereinafter referred to as user B) in the contact information ⁇ d(A) ⁇ of the first user (hereinafter referred to as user A for convenience of description), If the search process ends; otherwise, the server continues to search for the second user (user B) in the contact information ⁇ C 2 (A) ⁇ of each contact in the contact information of the first user (user A), Searching layer by layer until the second user is searched, the information of the indirect contact from the first user to the second user is obtained; the indirect contact between the user A and the user B can be recorded as A 2 , . . . . A m , where m is an integer greater than or equal to 1; (2) The server searches for the first user in the subscription to the second user (user B) of all subscribers ⁇ S ⁇ B) ⁇
  • ⁇ search for a target contact layer by layer in the subscription user ⁇ S ⁇ B) ⁇ of the second user (user B) and/or ⁇ S 2 (B) ⁇ , (S 3 (B In the ⁇ ⁇ ... ⁇ , the target contact is also searched layer by layer, and when the target contact is searched (ie, AfBj), the search is stopped, and the information of the indirect contact from the first user to the second user is obtained.
  • the indirect contact between the user A and the user B can be recorded as: ⁇ ,, ⁇ ⁇ ... ⁇ ⁇ ; of course, in the above search, the first user to the second user may There are multiple sets of contact paths, usually Select one or more sets of the shortest path (ie, the least indirect contact) as the search result.
  • Step S106 The server sends the information of the searched indirect contact to the client of the first user.
  • the information of the indirect contact sent by the server to the client of the first user may be the username of one or more contacts, and may not include the contact information of the contact.
  • the contact information of the indirect contact is recorded in the contact information of the contact of the first user (that is, the first user can directly find the contact information of the indirect contact in the terminal or the network address book)
  • the contact information of the second user is recorded in the contact information of the contact of the indirect contact; in this case, if the first user requests to subscribe to the second user, the information of the indirect contact is sent to the server at the server.
  • the client of the first user may send a sharing request to the client of the indirect contact according to the contact information of the indirect contact, requesting to share the contact information of the second user, thereby acquiring the second user.
  • Contact information is one, the contact information of the indirect contact is recorded in the contact information of the contact of the first user (that is, the first user can directly find the contact information of the indirect contact in the terminal or the network address book)
  • the contact information of the second user is recorded in the contact information of the contact of the indirect contact; in this case, if the first user requests to subscribe to the second user, the information of the indirect contact is sent to
  • the indirect contacts of user A to user B may include: one first indirect contact, one second indirect contact B 1 and n (n is An integer number greater than or equal to 0) a third indirect contact (denoted as A 2 , ... ⁇ ,, ⁇ ... ⁇ 2, etc.), wherein the contact information of the first indirect contact Recorded in the contact information of the contact of the first user, the contact information of the contact of the contact of the second indirect contact records the contact information of the second user, and the third indirect contact is the first indirect contact to the second indirect contact Indirect contact.
  • the client of the first user may obtain the contact information of the second indirect contact according to the information of the indirect contact, and then The contact information of the second user is obtained through the second indirect contact sharing.
  • the client of the first user may obtain the contact information of the second indirect contact in one of the following ways: (1) The client of the first user may subscribe to the second indirect contact according to the information of the indirect contact returned by the server.
  • the client of user A can directly subscribe to the contact information of A5, and obtain the contact information of user B through A5 sharing; or, the client of user A can also obtain the contact information of A2 through A1 sharing. Get the contact information of A3 through A2 sharing, so that the contact information of A5 is obtained through A4 sharing, and then through A5.
  • the user B's contact information can be obtained.
  • the user A's client can also subscribe to the A4 contact information, obtain the A5 contact information through the A4 share, and obtain the user B's contact information through the A5 share.
  • User A wants to subscribe to user B's contact information, but user B does not know user A's. It is possible to reject user A's subscription request.
  • user C user C is an indirect contact of A to B.
  • Contact information that can be shared to User B.
  • the server sends the information of the indirect contact to the client of the first user
  • the client of the first user may be based on the information of the indirect contact. Sending content information that needs to be sent to the second user to one or more clients corresponding to the indirect contact (wherein one indirect contact corresponds to one client), and the client through one or more indirect contacts will The above content information is sent to the client of the second user.
  • Embodiment 1 This embodiment can solve the problem in this scenario: After user A searches for contact B on the server, user A initiates a request to subscribe to B contact information to the server, and the server notifies B, but user B sets the required B. Authorization can allow A access, and at this moment B cannot handle the authorization request for some reason; or user B receives the notification from the server, and considers that A is a stranger and rejects user A's subscription request.
  • Step 201 User A initiates a request for subscribing to contact B to the server through the client.
  • the associated relationship is.
  • the association relationship may also adopt a default order relationship.
  • the server returns the indirect contact of user A to user B as user C and user D, and may agree that user A subscribes to user C, user C subscribes to user D, and user D subscribes.
  • User B Such associations can be omitted without transmission. If all users' contacts are also users' subscribers, that is, if A subscribes to B (B is a member of A's contact list), B also subscribes to A (A is also a member of B's contact list). Then the above relationship can be omitted.
  • Step 203 User A initiates a contact sharing request to the client of user C through the client, and requests to share the contact information of user B.
  • the server if the server returns a multi-level indirect contact, for example, the server returns the user A's contact, the user C subscribes to the user D, and the user D subscribes to the user B. Then, user A may first subscribe to the contact information of user D or share the contact information of user D through user C, and then obtain the contact information of user B through user D sharing.
  • user A may send a content message to user C, user C forwards to user D, and user D forwards to user B; or user A obtains contact information of user D, and then sends the content message to the user.
  • D User D forwards to User B.
  • FIG. 3 is a flowchart of user A contacting user B in this embodiment. As shown in FIG. 3, the method mainly includes the following steps: Step 301: When user A cannot contact user B, the server searches for an indirect contact of user A to user B.
  • the client of user A sends the contact content that needs to be sent to user B to the terminal of C, and then sends it to the terminal of C User B.
  • the forwarding is done layer by layer.
  • the contact content can be formatted before being forwarded.
  • user A sends the contact content to user C as a short message
  • user C converts the contact content into an email content and sends it to user B in the form of an email.
  • a device for acquiring contact information is provided, and the device can be used as a server to implement the foregoing method.
  • the device mainly includes: a first receiving module 20, configured to receive a client sending request message of a first user.
  • the request message is used to request contact information of the second user that the first user needs to obtain;
  • the search module 30, Connected to the first receiving module 20, configured to search for an indirect contact of the first user to the second user according to the contact information of the first user and/or the subscriber information of the second user;
  • the first sending module 40 connected to the search
  • the module 30 is configured to send information of the indirect contact searched by the search module 30 to the client of the first user.
  • the indirect contacts searched by the search module 30 may be one or more.
  • the search module 30 may search for an indirect contact in one of the following ways:
  • searching for the second user in the contact information of the first user if the search process ends; otherwise, searching for the second user in the contact information of each contact in the contact information of the first user, Searching layer by layer until searching for the second user, obtaining information of the indirect contact from the first user to the second user; (2) searching for the first user among all subscribers subscribing to the second user, if the search process ends Otherwise searching for the first user in the subscription information of all subscribers subscribing to the second user, so searching layer by layer until searching for the first user, obtaining information of the indirect contact from the first user to the second user;
  • FIG. 5 is a schematic structural diagram of the foregoing apparatus according to an embodiment of the present invention. As shown in FIG.
  • the apparatus mainly includes: a second sending module 50, configured to send a request message to a server, where the request message is used to request the first The contact information of the second user that the user needs to obtain; the second receiving module 60 is configured to receive information of the indirect contact of the first user to the second user returned by the server.
  • the request message is used to request to subscribe to the contact information of the second user; the indirect contact is one, and the contact information of the indirect contact is recorded in the contact information of the contact of the first user.
  • the contact information of the second user is recorded in the contact information of the contact of the indirect contact; the second sending module 50 is further configured to send a sharing request to the client of the indirect contact according to the contact information of the indirect contact, Requesting to share the contact information of the second user; the second receiving module 60 is further configured to receive the contact information of the second user shared by the indirect contact.
  • the request message is used to request to subscribe to the contact information of the second user;
  • the indirect contact is multiple, and the multiple indirect contacts include: a first indirect contact, a first Two indirect contacts and n third indirect contacts, wherein the contact information of the first indirect contact is recorded in the contact information of the contact of the first user, and the contact information of the contact of the second indirect contact is recorded in the contact information
  • the contact information of the second user, the third indirect contact is an indirect contact of the first indirect contact to the second indirect contact, and n is an integer greater than or equal to 0.
  • the second sending module 50 is further configured to subscribe to the contact information of the second indirect contact and send a sharing request to the client of the second indirect contact according to the contact information of the second indirect contact, requesting to share the second user.
  • the second receiving module 60 is further configured to receive the contact information of the second indirect contact and the contact information of the second user shared by the second indirect contact; or the second sending module 50 is further configured to be configured according to the Contact information of an indirect contact, sending a sharing request to the client of the first indirect contact, requesting to share the contact information of the third indirect contact, and sending the sharing request layer by layer through the third indirect contact until the second receiving module 60 receives Go to the contact information of the second indirect contact, and send a sharing request to the second indirect contact; the second receiving module 60 is further configured to receive the contact information of the third indirect contact shared by the layer and share the third indirect contact Contact information of the second indirect contact, and a contact letter of the second user that is shared by the second indirect contact Or the second sending module 50 is further configured to subscribe to the contact information of one of the third indirect contacts according to the indirect contact information returned by the server, and send the sharing layer by layer through the third indirect contact.
  • the second receiving module 60 is further configured to receive the contact information of the third indirect contact and The contact information of the third indirect contact shared by the layer, the contact information of the second indirect contact, and the contact information of the second user that receives the second indirect contact sharing.
  • the second sending module 50 may be further configured to send content information that needs to be sent to the second user to one or more corresponding to the indirect contact according to the information of the indirect contact.
  • the client sends content information to the second user's client through one or more clients.
  • the second sending module 50 sends the content information to the client of the first indirect contact, and the client of the first indirect contact resends the content information to the client of the third indirect contact, and the third indirect contact
  • the client resends the content information to the client of the second indirect contact layer by layer, and finally the client of the second indirect contact sends the content information to the client of the second user.
  • the second sending module 50 sends the content information to the client of the first indirect contact and the client of the third indirect contact, and sends the message to the client of the second user through a different path.
  • the second sending module 50 sends the content information to an indirect contact of a different group, and sends the message to the client of the second user through a different path.
  • the contact method with the target contact is established through the indirect contact relationship of the user's contact information, so that the user can implement the contact with the target contact through the indirect contact. Contact, thereby expanding the user's social network and improving the user experience.
  • the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • the computing device may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种联系人信息的获取方法及装置。其中,该方法包括:服务器接收第一用户的客户端发送的请求消息,其中,该请求消息用于请求第一用户需要获取的第二用户的联系信息;服务器根据第一用户的联系人信息和/或第二用户的订阅人信息搜索第一用户到第二用户的间接联系人;服务器将该间接联系人的信息发送给上述客户端。通过本发明,可以提高用户体验。

Description

联系人信息的获取方法及装置 技术领域 本发明涉及通信领域, 具体而言, 涉及一种联系人信息的获取方法及装置。 背景技术 根据六度分割理论, 每个人与任何一个陌生人之间所间隔的人不会超过六个, 也 就是说, 最多通过六个人某个人就能够认识任何一个陌生人, 从而可以构筑一个庞大 的社交网络。 但是, 在目前的基于通信终端地址本的业务中, 用户 A只能获取其终端 地址本中的用户的联系信息,如果用户 A想获取其终端地址本以外的用户 C的联系信 息,即使用户 C的联系信息属于用户 A的终端地址本中的用户 B的终端地址本中的一 个,而用户 A也不能获知该信息,从而无法通过用户 B获取用户 C的联系信息。因此, 不能扩展用户 A的社交网络, 降低了用户体验。 发明内容 本发明的主要目的在于提供一种联系人信息的获取方案, 以至少解决上述由于用 户不能通过间接联系人获取联系人信息从而导致用户体验降低的问题。 根据本发明的一个方面, 提供了一种联系人信息的获取方法, 包括: 服务器接收 第一用户的客户端发送的请求消息, 其中, 该请求消息用于请求第一用户需要获取的 第二用户的联系信息; 服务器根据第一用户的联系人信息和 /或第二用户的订阅人信息 搜索第一用户到第二用户的间接联系人; 服务器将该间接联系人的信息发送给上述客 户端。 所述间接联系人为一个, 所述间接联系人的联系信息记录在所述第一用户的联系 人的联系信息中, 所述第二用户的联系信息记录在所述间接联系人的联系人的联系信 息中; 在所述服务器将所述间接联系人的信息发送给所述客户端之后, 所述方法还包 括: 所述客户端根据所述间接联系人的联系信息, 向所述间接联系人的客户端发送共 享请求, 请求共享所述第二用户的联系信息。 所述间接联系人为多个, 所述多个间接联系人中包括: 一个第一间接联系人、 一 个第二间接联系人和 n个第三间接联系人, 其中, 所述第一间接联系人的联系信息记 录在所述第一用户的联系人的联系信息中, 所述第二间接联系人的联系人的联系信息 中记录有所述第二用户的联系信息, 所述第三间接联系人为所述第一间接联系人到所 述第二间接联系人的间接联系人, n为大于或等于 0的整数; 在所述服务器将所述间 接联系人的信息发送给所述客户端之后, 所述方法还包括: 所述客户端根据所述服务 器返回的所述间接联系人信息, 获取所述第二间接联系人的联系信息, 通过所述第二 间接联系人共享获取所述第二用户的联系信息。 所述客户端通过以下方式之一获取所述第二间接联系人的联系信息: 所述客户端 根据所述服务器返回的所述间接联系人的信息,订阅所述第二间接联系人的联系信息; 所述客户端根据所述第一间接联系人的联系信息, 向所述第一间接联系人的客户端发 送共享请求, 请求所述第一间接联系人共享所述第三间接联系人的联系信息, 通过所 述第三间接联系人逐层共享直至获得所述第二间接联系人的联系信息; 所述客户端根 据所述服务器返回的所述间接联系人信息,订阅所述第三间接联系人之一的联系信息, 通过该第三间接联系人逐层共享直至获得所述第二间接联系人的联系信息。 在所述服务器将所述间接联系人的信息发送给所述客户端之后,所述方法还包括: 所述客户端根据所述间接联系人的信息, 将需要发送给所述第二用户的内容信息发送 给所述间接联系人对应的一个或多个客户端, 通过所述一个或多个客户端将所述内容 信息发送给所述第二用户的客户端。 所述服务器根据所述第一用户的联系人信息和 /或所述第二用户的订阅人信息搜 索所述第一用户到所述第二用户的间接联系人包括以下之一: 所述服务器在所述第一用户的联系人信息中搜索所述第二用户, 如果搜索到流程 结束; 否则, 所述服务器在所述第一用户的联系人信息中的每个联系人的联系人信息 中继续搜索所述第二用户, 如此逐层搜索直到搜索到所述第二用户, 得到从所述第一 用户到所述第二用户的所述间接联系人的信息; 所述服务器在订阅所述第二用户的所有订阅人中搜索所述第一用户, 如果搜索到 流程结束; 否则在所有订阅所述第二用户的订阅人的订阅人信息中继续搜索所述第一 用户, 如此逐层搜索直到搜索到所述第一用户, 得到从所述第一用户到所述第二用户 的所述间接联系人的信息; 所述服务器在所述第一用户的联系人信息中和 /或订阅所述第二用户的订阅人中 搜索目标联系人, 如果未搜索到所述目标联系人, 则在所述第一用户的联系人信息中 的每个联系人的联系人信息中和 /或所有订阅所述第二用户的订阅人的订阅人信息中 搜索所述目标联系人, 如此逐层搜索直到搜索到所述目标联系人, 得到从所述第一用 户到所述第二用户的所述间接联系人的信息。 根据本发明的另一方面, 提供了一种联系人信息的获取装置, 位于服务器端, 包 括: 第一接收模块, 设置为接收第一用户的客户端发送请求消息, 其中, 所述请求消 息用于请求所述第一用户需要获取的第二用户的联系信息; 搜索模块, 设置为根据所 述第一用户的联系人信息和 /或所述第二用户的订阅人信息搜索所述第一用户到所述 第二用户的间接联系人; 第一发送模块, 设置为将所述间接联系人的信息发送给所述 客户端。 所述搜索模块按照以下方式之一搜索所述间接联系人: 在所述第一用户的联系人信息中搜索所述第二用户, 如果搜索到流程结束; 否则, 在所述第一用户的联系人信息中的每个联系人的联系人信息中继续搜索所述第二用 户, 如此逐层搜索直到搜索到所述第二用户, 得到从所述第一用户到所述第二用户的 所述间接联系人的信息; 在订阅所述第二用户的所有订阅人中搜索所述第一用户, 如果搜索到流程结束; 否则在所有订阅所述第二用户的订阅人的订阅人信息中继续搜索所述第一用户, 如此 逐层搜索直到搜索到所述第一用户, 得到从所述第一用户到所述第二用户的所述间接 联系人的信息; 在所述第一用户的联系人信息中和 /或订阅所述第二用户的订阅人中搜索目标联 系人, 如果未搜索到所述目标联系人, 则在所述第一用户的联系人信息中的每个联系 人的联系人信息中和 /或在所有订阅所述第二用户的订阅人的订阅人信息中搜索所述 目标联系人, 如此逐层搜索直到搜索到所述目标联系人, 得到从所述第一用户到所述 第二用户的所述间接联系人的信息。 根据本发明的又一个方面, 提供一种联系人信息的获取装置, 位于客户端, 该装 置包括: 第二发送模块, 设置为向服务器发送请求消息, 其中, 所述请求消息用于请 求第一用户需要获取的第二用户的联系信息; 第二接收模块, 设置为接收所述服务器 返回的所述第一用户到所述第二用户的间接联系人的信息。 所述间接联系人为一个, 所述间接联系人的联系信息记录在所述第一用户的联系 人的联系信息中, 所述第二用户的联系信息记录在所述间接联系人的联系人的联系信 息中; 所述第二发送模块还设置为根据所述间接联系人的联系信息, 向所述间接联系 人的客户端发送共享请求, 请求共享所述第二用户的联系信息; 所述第二接收模块还 设置为接收所述第二用户的联系信息。 所述间接联系人为多个, 所述多个间接联系人中包括: 一个第一间接联系人、 一 个第二间接联系人和 n个第三间接联系人, 其中, 所述第一间接联系人的联系信息记 录在所述第一用户的联系人的联系信息中, 所述第二间接联系人的联系人的联系信息 中记录有所述第二用户的联系信息, 所述第三间接联系人为所述第一间接联系人到所 述第二间接联系人的间接联系人, n为大于或等于 0的整数; 所述第二发送模块还设 置为订阅所述第二间接联系人的联系信息,以及根据所述第二间接联系人的联系信息, 向所述第二间接联系人的客户端发送共享请求, 请求共享所述第二用户的联系信息, 所述第二接收模块还设置为接收所述第二间接联系人的联系信息, 以及接收所述第二 间接联系人共享的所述第二用户的联系信息; 或者, 所述第二发送模块还设置为根据 所述第一间接联系人的联系信息, 向所述第一间接联系人的客户端发送共享请求, 请 求共享所述第三间接联系人的联系信息,通过所述第三间接联系人逐层发送共享请求, 直至所述第二接收模块接收到所述第二间接联系人的联系信息, 并向所述第二间接联 系人发送共享请求; 所述第二接收模块还设置为接收逐层共享的所述第三间接联系人 的联系信息、 所述第三间接联系人共享的所述第二间接联系人的联系信息, 以及接收 所述第二间接联系人共享的所述第二用户的联系信息; 或者, 所述第二发送模块还设 置为根据所述服务器返回的所述间接联系人信息, 订阅所述第三间接联系人之一的联 系信息, 通过该第三间接联系人逐层发送共享请求直至所述第二接收模块接收到所述 第二间接联系人的联系信息, 向所述第二间接联系人发送共享请求; 所述第二接收模 块还设置为接收所述第三间接联系人之一的联系信息、 逐层共享的所述第三间接联系 人的联系信息、 所述第二间接联系人的联系信息, 以及接收所述第二间接联系人共享 的所述第二用户的联系信息。 所述第二发送模块还设置为根据所述间接联系人的信息, 将需要发送给所述第二 用户的内容信息发送给所述间接联系人对应的一个或多个客户端, 通过所述一个或多 个客户端将所述内容信息发送给所述第二用户的客户端。 通过本发明, 采用服务器在接收到请求获取目标用户的联系信息的请求消息时, 可以向请求用户返回间接联系人的信息, 从而使请求用户获知可以通过间接联系人获 取或联系目标用户, 解决了相关技术中上述由于用户不能获知是否可以通过间接联系 人获取或联系目标用户从而导致用户体验降低的问题, 进而提高了用户体验。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的联系人信息的获取方法的流程图; 图 2是根据本发明优选实施例一的流程图; 图 3是根据本发明优选实施例二的流程图; 图 4是本发明实施例的一种联系人信息的获取装置的结构示意图; 图 5是本发明实施例的另一种联系人信息的获取装置的结构示意图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 图 1是根据本发明实施例的联系人信息的获取方法的流程图, 如图 1所示, 该方 法主要包括以下步骤: 步骤 S102, 服务器接收第一用户的客户端发送请求消息, 其中, 该请求消息用于 请求第一用户需要获取的第二用户的联系信息; 例如, 第一用户可以在需要订阅第二用户时, 通过其客户端向服务器发送用于请 求订阅所述第二用户的联系信息的请求消息。 或者, 第一用户也可以在需要向第二用 户发送内容信息时, 向服务器发送用于请求第二用户的联系信息。 例如, 如果用户 A 需要向用户 B发送 Email,但用户 A只知道用户 B的手机号码,不知道用户 B的 Email 地址, 用户 A可以向服务器发送用于请求用户 B的 Email地址的请求消息。 步骤 S104,服务器根据第一用户的联系人信息和 /或第二用户的订阅人信息搜索第 一用户到第二用户的间接联系人; 例如, 如果第二用户没有包含在所述第一用户的联系人信息中或者需要获取的第 二用户的部分联系信息没有包含在第一用户的联系人信息的联系信息中, 当第一用户 不能直接获取第二用户的联系信息时 (例如第一用户订阅失败或直接请求间接联系 人), 则服务器可向第一用户返回第一用户到第二用户的间接联系人信息, 因此, 服务 器开始搜索第一用户到第二用户的间接联系人; 例如, 用户 A完全不知道用户 B的任何联系方式 (即用户 B不是用户 A的地址 本联系人成员), 或者用户 A只知道用户 B的手机号码, 不知道用户 B的 Email地址, 但需要用户 B的 Email地址发送邮件。可以通过用户 A的客户端向服务器发起订阅请 求, 请求获取用户 B的联系信息或详细联系信息, 在订阅失败时, 服务器可以返回用 户 A到用户 B的间接联系人信息, 或者用户 A通过客户端直接向服务器发起请求, 请求获取用户 A到用户 B的间接联系人信息。 其中, 联系人信息是指地址本中的条目或好友列表信息,通常以用户名作为标识, 联系信息是指联系人的详细联系方式 (如电话号码、 Email 地址、 客户端登录名、 终 端 IP地址、 终端的路由标识等及其组合)。 其中, 第一用户到第二用户的间接联系人可以为一个也可以为多个。 其中, 服务器搜索上述间接联系人的方式包括但不限于以下三种:
( 1 )服务器在第一用户(为方便描述,下面将其称为用户 A)的联系人信息 {d(A)} 中搜索第二用户 (为方便描述, 下面将其称为用户 B), 如果搜索到流程结束; 否则, 服务器在第一用户 (用户 A)的联系人信息中的每个联系人的联系人信息 {C2(A)}中继 续搜索第二用户 (用户 B), 如此逐层搜索直到搜索到第二用户, 得到从第一用户到第 二用户的间接联系人的信息;这种搜索方法从用户 A到用户 B之间的间接联系人可记 为 , A2, ... ... Am, 其中, m为大于或等于 1的整数; (2) 服务器在订阅第二用户 (用户 B) 的所有订阅用户 {S^B)}中搜索第一用户
(用户 A), 如果搜索到流程结束; 否则在所有订阅用户的订阅者 {S2(B) 中继续搜索 第一用户, 如此逐层搜索直到搜索到第一用户, 得到从第一用户到第二用户的间接联 系人的信息; 这种搜索方法从用户 A 到用户 B 之间的间接联系人可记为 Bn, Bn-1, ... ... Bi, n为大于或等于 1的整数; (3 )将上述两种方法相结合, 服务器在第一用户(用户 A)的联系人信息 {d(A)} 和 /或 UC2(A)^C3(A)} ... ... }中逐层搜索某个目标联系人, 在第二用户 (用户 B) 的订 阅用户 {S^B)}中和 /或 {{S2(B)}, (S3(B)} ... ... }中也逐层搜索目标联系人, 当搜索到目标 联系人时(即 AfBj)停止搜索, 得到从第一用户到第二用户的间接联系人的信息。这 种搜索方法从用户 A到用户 B之间的间接联系人可记为 , ... ... Α,, ΒΗ...Βι ; 当然上述搜索中, 第一用户到第二用户之间可能存在多组联系途径, 通常选择一 组或多组最短的路径 (即间接联系人最少) 作为搜索结果。 在下面的实施例中, 均以 一组间接联系人进行说明, 当存在多组间接联系人时处理方法类同。 步骤 S106, 服务器将搜索到的间接联系人的信息发送给第一用户的客户端。 其中, 服务器发送给第一用户的客户端的间接联系人的信息可以是一个或多个联 系人的用户名, 可以不含该联系人的联系信息。 当间接联系人为一个时, 该间接联系人的联系信息记录在第一用户的联系人的联 系信息中 (即第一用户在终端或网络地址本中能直接查到该间接联系人的联系信息), 第二用户的联系信息记录在该间接联系人的联系人的联系信息中; 在这种情况下, 如 果第一用户请求订阅第二用户, 则在服务器将该间接联系人的信息发送给第一用户的 客户端之后, 第一用户的客户端可以根据该间接联系人的联系信息, 向该间接联系人 的客户端发送共享请求, 请求共享第二用户的联系信息, 从而获取到第二用户的联系 信息。 当间接联系人为多个时, 以用户 A到用户 B的间接联系人举例, 该多个间接联系 人中可以包括: 一个第一间接联系人 、 一个第二间接联系人 B1和n (n为大于或等 于 0的整数)个第三间接联系人(记为 A2, ... ... Α,, Β ... ... Β2等), 其中, 第一间接联 系人的联系信息记录在第一用户的联系人的联系信息中, 第二间接联系人的联系人的 联系信息中记录有第二用户的联系信息, 第三间接联系人为第一间接联系人到第二间 接联系人的间接联系人。 在这种情况下, 服务器将该间接联系人的信息发送给第一用 户的客户端之后, 第一用户的客户端可以根据该间接联系人的信息, 获取第二间接联 系人的联系信息, 再通过第二间接联系人共享获取第二用户的联系信息。 其中,第一用户的客户端可以通过以下方式之一获取第二间接联系人的联系信息: ( 1 ), 第一用户的客户端可以根据服务器返回的间接联系人的信息, 订阅第二间接联 系人的联系信息; (2), 第一用户的客户端也可以根据第一间接联系人的联系信息, 向 第一间接联系人的客户端发送共享请求, 在包含第三间接联系人的情况下, 即 η不等 于 0的情况下, 请求第一间接联系人共享第三间接联系人的联系信息, 再通过第三间 接联系人逐层共享得到第二间接联系人的联系信息; 或者, 在不包含第三间接联系人 的情况下, 即 η=0的情况下, 请求第一间接联系人共享第二间接联系人的联系信息; (3 ), 第一用户的客户端也可以根据其中某个第三间接联系人的信息, 订阅该第三间 接联系人的联系信息, 通过该第三间接联系人逐层共享直到获得第二间接联系人的联 系信息。 例如, 如果用户 Α到用户 Β的间接联系人包括: A1 (第一间接联系人)、 A2 (第 三间接联系人)、 A3 (第三间接联系人)、 A4 (第三间接联系人) 和 A5 (第二间接联 系人), 则用户 A的客户端可以直接订阅 A5的联系信息, 通过 A5共享得到用户 B的 联系信息; 或者, 用户 A的客户端也可以通过 A1共享得到 A2的联系信息, 通过 A2 共享得到 A3的联系信息, 如此直至通过 A4共享得到 A5的联系信息, 再通过 A5共 享得到用户 B的联系信息; 或者, 用户 A的客户端也可以订阅 A4的联系信息, 通过 A4共享得到 A5的联系信息, 再通过 A5共享得到用户 B的联系信息。 在用户 A想订阅用户 B的联系信息, 但用户 B是不知道用户 A的, 有可能拒绝 用户 A的订阅请求, 采用上述方法, 通过用户 C (用户 C是 A到 B的间接联系人) 则可共享到用户 B的联系信息。 或者, 在本发明实施例的另一个优选实施方式中, 在服务器将所述间接联系人的 信息发送给所述第一用户的客户端之后, 第一用户的客户端可以根据间接联系人的信 息, 将需要发送给第二用户的内容信息发送给上述间接联系人对应的一个或多个客户 端(其中, 一个间接联系人对应一个客户端), 通过一个或多个间接联系人的客户端将 上述内容信息发送给第二用户的客户端。采用这种方案, 使得用户 A只知道用户 B的 手机号码, 但通过手机号码无法联系上用户 B时, 可以通过用户 A的某个好友 C (C 知道用户 B的 Email地址) 将内容信息通知或发送到用户 B。 下面通过具体实施例进行说明。 实施例一 本实施例可以解决这种场景下的问题: 用户 A在服务器上搜索到联系人 B以后, 向服务器发起订阅 B联系信息的请求, 服务器通知 B, 但用户 B设定了需要 B的授权 才能允许 A访问,而此刻 B由于某种原因不能处理这个授权请求;或者用户 B收到服 务器的通知后, 认为 A是陌生人而拒绝了用户 A的订阅请求。 因此在订阅未成功的前 提下, 用户 A不能得到 B的直接联系方式。 图 2为本实施例的流程图, 如图 2所示, 本实施例中用户 A订阅联系人 B的流程 主要包括以下步骤: 步骤 201, 用户 A通过客户端向服务器发起订阅联系人 B的请求; 步骤 202, 在不能订阅成功时, 服务器返回用户 B和用户 A之间的间接联系人及 其关联关系; 例如: 设用户 A的联系人用户 C订阅过用户 B, 则 C即间接联系人。其中关联关 系是。与 、 B之间的订阅关系, 即 A订阅过 C, C订阅过 B。 其中, 关联关系也可 以采用默认的顺序关系,例如服务器返回用户 A到用户 B的间接联系人为用户 C和用 户 D,可以约定为用户 A订阅了用户 C,用户 C订阅了用户 D,用户 D订阅了用户 B。 这样关联关系可以省略, 不用传输。 如果所有用户的联系人同时也是用户的订阅者, 即若 A订阅过 B (B是 A的联系 人列表中的成员), 反之 B也订阅过 A (A也是 B的联系人列表中成员), 则上述的关 联关系可省略。 步骤 203, 用户 A通过客户端向用户 C的客户端发起联系人共享请求, 请求共享 用户 B的联系信息。 在本实施例的一个优选实施方式中, 如果服务器返回的是多级间接联系人,例如, 服务器返回用户 A的联系人中用户 C订阅过用户 D, 而用户 D订阅过用户 B。则用户 A可以先订阅用户 D的联系信息或者通过用户 C共享用户 D的联系信息,然后通过用 户 D共享获得用户 B的联系信息。 在发送内容消息的情景下, 用户 A可以将内容消 息发送给用户 C, 用户 C转发给用户 D, 用户 D转发给用户 B; 或者用户 A获取用户 D的联系信息后, 将内容消息发送给用户 D, 用户 D转发给用户 B。 实施例二 本实施例中, 用户 A只知道用户 B的手机号码, 但通过手机号码无法联系上用户 B时 (或者用户 A不知道用户 B的任何联系方式, 但需要发送联系内容给用户 B), 可以通过用户 A的某个好友 C ( C知道用户 B的 Email地址) 联系到用户 B。 图 3为本实施例中用户 A联系用户 B的流程图,如图 3所示,主要包括以下步骤: 步骤 301,用户 A无法联系上用户 B时,服务器搜索用户 A到用户 B的间接联系 人及其关联关系 (假设只有 C), 并返回给用户 A的客户端; 步骤 302, 用户 A的客户端将需要发送给用户 B的联系内容发送到 C的终端上, 再由 C的终端发送给用户 B。 在该步骤中, 如果存在多级间接联系人, 则逐层进行转发。 另外, 联系内容在转 发前可以进行格式转换, 例如, 用户 A将联系内容以短信形式发送给用户 C, 用户 C 将联系内容转换成 Email内容以 Email形式发送给用户 B。 根据本发明实施例, 还提供了一种联系人信息的获取装置, 该装置可以作为服务 器端, 用于实现上述方法。 图 4为根据本发明实施例的一种联系人信息的获取装置的结构示意图, 如图 4所 示,该装置主要包括:第一接收模块 20,设置为接收第一用户的客户端发送请求消息, 其中, 该请求消息用于请求第一用户需要获取的第二用户的联系信息; 搜索模块 30, 连接至第一接收模块 20,设置为根据第一用户的联系人信息和 /或第二用户的订阅人信 息搜索第一用户到第二用户的间接联系人; 第一发送模块 40, 连接至搜索模块 30, 设 置为将搜索模块 30搜索到的间接联系人的信息发送给第一用户的客户端。 其中, 搜索模块 30搜索到的间接联系人可以为一个也可以为多个。 在本发明实施例的一个优选实施方式中,搜索模块 30可以按照以下方式之一搜索 间接联系人:
( 1 )在第一用户的联系人信息中搜索第二用户, 如果搜索到流程结束; 否则, 在 第一用户的联系人信息中的每个联系人的联系人信息中继续搜索第二用户, 如此逐层 搜索直到搜索到第二用户, 得到从第一用户到第二用户的间接联系人的信息; ( 2 )在订阅第二用户的所有订阅人中搜索第一用户, 如果搜索到流程结束; 否则 在所有订阅第二用户的订阅人的订阅信息中继续搜索第一用户, 如此逐层搜索直到搜 索到第一用户, 得到从第一用户到第二用户的间接联系人的信息;
( 3 ) 在第一用户的联系人信息中和 /或订阅第二用户的订阅人中搜索某个目标联 系人, 如果未搜索到该目标联系人, 则在第一用户的联系人信息中的每个联系人的联 系人信息中和 /或所有订阅第二用户的订阅人的订阅人信息中搜索该目标联系人, 如此 逐层搜索直到搜索到该目标联系人,得到从第一用户到第二用户的间接联系人的信息。 根据本发明实施例, 还提供了另一种联系人信息的获取装置, 位于上述方法中的 客户端, 可以用于实现上述方法。 图 5为根据本发明实施例的上述装置的结构示意图, 如图 5所示, 该装置主要包 括: 第二发送模块 50, 设置为向服务器发送请求消息, 其中, 该请求消息用于请求第 一用户需要获取的第二用户的联系信息; 第二接收模块 60, 设置为接收服务器返回的 第一用户到第二用户的间接联系人的信息。 在本发明实施例的一个优选实施方式中, 上述请求消息用于请求订阅第二用户的 联系信息; 间接联系人为一个, 该间接联系人的联系信息记录在第一用户的联系人的 联系信息中, 第二用户的联系信息记录在该间接联系人的联系人的联系信息中; 第二 发送模块 50还设置为根据该间接联系人的联系信息,向该间接联系人的客户端发送共 享请求,请求共享第二用户的联系信息; 第二接收模块 60还设置为接收该间接联系人 共享的第二用户的联系信息。 在本发明实施例的另一个优选实施方式中, 上述请求消息用于请求订阅第二用户 的联系信息; 间接联系人为多个, 多个间接联系人中包括: 一个第一间接联系人、 一 个第二间接联系人和 n个第三间接联系人, 其中, 第一间接联系人的联系信息记录在 第一用户的联系人的联系信息中, 第二间接联系人的联系人的联系信息中记录有第二 用户的联系信息,第三间接联系人为第一间接联系人到第二间接联系人的间接联系人, n为大于或等于 0的整数。 贝 U: 第二发送模块 50 还设置为订阅第二间接联系人的联系信息以及根据第二间接联 系人的联系信息, 向第二间接联系人的客户端发送共享请求, 请求共享第二用户的联 系信息,第二接收模块 60还设置为接收第二间接联系人的联系信息以及通过第二间接 联系人共享的第二用户的联系信息; 或者, 所述第二发送模块 50还设置为根据第一间接联系人的联系信息,向第一间接联系 人的客户端发送共享请求, 请求共享第三间接联系人的联系信息并通过第三间接联系 人逐层发送共享请求直至第二接收模块 60接收到第二间接联系人的联系信息,并向第 二间接联系人发送共享请求;第二接收模块 60还设置为接收逐层共享的第三间接联系 人的联系信息以及通过第三间接联系人共享的第二间接联系人的联系信息, 以及接收 通过第二间接联系人共享的第二用户的联系信息; 或者, 第二发送模块 50还设置为根据所述服务器返回的所述间接联系人信息,订阅所述 第三间接联系人之一的联系信息, 并通过该第三间接联系人逐层发送共享请求直至第 二接收模块 60接收到第二间接联系人的联系信息,向所述第二间接联系人发送共享请 求;第二接收模块 60还设置为接收该第三间接联系人的联系信息和逐层共享的第三间 接联系人的联系信息、 第二间接联系人的联系信息以及接收第二间接联系人共享的第 二用户的联系信息。 在本发明实施例的又一个优选实施方式中,第二发送模块 50可以还设置为根据间 接联系人的信息, 将需要发送给第二用户的内容信息发送给间接联系人对应的一个或 多个客户端, 通过一个或多个客户端将内容信息发送给第二用户的客户端。 例如, 第 二发送模块 50将内容信息发送给第一间接联系人的客户端,第一间接联系人的客户端 将内容信息再发送给第三间接联系人的客户端, 第三间接联系人的客户端逐层将内容 信息再发送给第二间接联系人的客户端, 最后第二间接联系人的客户端将内容信息发 送给第二用户的客户端。或者,第二发送模块 50将内容信息发送给第一间接联系人的 客户端和某个第三间接联系人的客户端, 通过不同的路径发送给第二用户的客户端。 或者,在存在多组间接联系人时,第二发送模块 50将内容信息发送给不同组的某个间 接联系人, 通过不同的路径发送给第二用户的客户端。 从以上的描述中, 可以看出, 在本发明实施例中, 通过用户的联系人信息的间接 联系关系来建立与目标联系人的联系方法, 使得用户可以通过间接联系人实现与目标 联系人进行联系, 从而扩展用户的社交网络, 提高了用户体验。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 并且在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤, 或者将它们分别制作成各个集成电路模块, 或者将 它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任 何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求 书
1. 一种联系人信息的获取方法, 包括:
服务器接收第一用户的客户端发送的请求消息, 其中, 所述请求消息用于 请求所述第一用户需要获取的第二用户的联系信息;
所述服务器根据所述第一用户的联系人信息和 /或所述第二用户的订阅人 信息搜索所述第一用户到所述第二用户的间接联系人;
所述服务器将所述间接联系人的信息发送给所述客户端。
2. 根据权利要求 1所述的方法, 其中,
所述间接联系人为一个, 所述间接联系人的联系信息记录在所述第一用户 的联系人的联系信息中, 所述第二用户的联系信息记录在所述间接联系人的联 系人的联系信息中;
在所述服务器将所述间接联系人的信息发送给所述客户端之后, 所述方法 还包括: 所述客户端根据所述间接联系人的联系信息, 向所述间接联系人的客 户端发送共享请求, 请求共享所述第二用户的联系信息。
3. 根据权利要求 1所述的方法, 其中,
所述间接联系人为多个, 所述多个间接联系人中包括: 一个第一间接联系 人、 一个第二间接联系人和 n个第三间接联系人, 其中, 所述第一间接联系人 的联系信息记录在所述第一用户的联系人的联系信息中, 所述第二间接联系人 的联系人的联系信息中记录有所述第二用户的联系信息, 所述第三间接联系人 为所述第一间接联系人到所述第二间接联系人的间接联系人, n为大于或等于 0 的整数;
在所述服务器将所述间接联系人的信息发送给所述客户端之后, 所述方法 还包括: 所述客户端根据所述服务器返回的所述间接联系人信息, 获取所述第 二间接联系人的联系信息, 通过所述第二间接联系人共享获取所述第二用户的 联系信息。
4. 根据权利要求 3所述的方法, 其中, 所述客户端通过以下方式之一获取所述第 二间接联系人的联系信息: 所述客户端根据所述服务器返回的所述间接联系人的信息, 订阅所述第二 间接联系人的联系信息;
所述客户端根据所述第一间接联系人的联系信息, 向所述第一间接联系人 的客户端发送共享请求, 请求所述第一间接联系人共享所述第三间接联系人的 联系信息, 通过所述第三间接联系人逐层共享直至获得所述第二间接联系人的 联系信息;
所述客户端根据所述服务器返回的所述间接联系人信息, 订阅所述第三间 接联系人之一的联系信息, 通过该第三间接联系人逐层共享直至获得所述第二 间接联系人的联系信息。
5. 根据权利要求 1所述的方法, 其中, 在所述服务器将所述间接联系人的信息发 送给所述客户端之后, 所述方法还包括: 所述客户端根据所述间接联系人的信 息, 将需要发送给所述第二用户的内容信息发送给所述间接联系人对应的一个 或多个客户端, 通过所述一个或多个客户端将所述内容信息发送给所述第二用 户的客户端。
6. 根据权利要求 1至 5中任一项所述的方法, 其中, 所述服务器根据所述第一用 户的联系人信息和 /或所述第二用户的订阅人信息搜索所述第一用户到所述第 二用户的间接联系人包括以下之一:
所述服务器在所述第一用户的联系人信息中搜索所述第二用户, 如果搜索 到流程结束; 否则, 所述服务器在所述第一用户的联系人信息中的每个联系人 的联系人信息中继续搜索所述第二用户, 如此逐层搜索直到搜索到所述第二用 户, 得到从所述第一用户到所述第二用户的所述间接联系人的信息;
所述服务器在订阅所述第二用户的所有订阅人中搜索所述第一用户, 如果 搜索到流程结束; 否则在所有订阅所述第二用户的订阅人的订阅人信息中继续 搜索所述第一用户, 如此逐层搜索直到搜索到所述第一用户, 得到从所述第一 用户到所述第二用户的所述间接联系人的信息;
所述服务器在所述第一用户的联系人信息中和 /或订阅所述第二用户的订 阅人中搜索目标联系人, 如果未搜索到所述目标联系人, 则在所述第一用户的 联系人信息中的每个联系人的联系人信息中和 /或所有订阅所述第二用户的订 阅人的订阅人信息中搜索所述目标联系人, 如此逐层搜索直到搜索到所述目标 联系人, 得到从所述第一用户到所述第二用户的所述间接联系人的信息。
7. 一种联系人信息的获取装置, 位于服务器端, 所述装置包括: 第一接收模块, 设置为接收第一用户的客户端发送请求消息, 其中, 所述 请求消息用于请求所述第一用户需要获取的第二用户的联系信息;
搜索模块,设置为根据所述第一用户的联系人信息和 /或所述第二用户的订 阅人信息搜索所述第一用户到所述第二用户的间接联系人;
第一发送模块, 设置为将所述间接联系人的信息发送给所述客户端。 根据权利要求 7所述的装置, 其中, 所述搜索模块按照以下方式之一搜索所述 间接联系人:
在所述第一用户的联系人信息中搜索所述第二用户,如果搜索到流程结束; 否则, 在所述第一用户的联系人信息中的每个联系人的联系人信息中继续搜索 所述第二用户, 如此逐层搜索直到搜索到所述第二用户, 得到从所述第一用户 到所述第二用户的所述间接联系人的信息;
在订阅所述第二用户的所有订阅人中搜索所述第一用户, 如果搜索到流程 结束; 否则在所有订阅所述第二用户的订阅人的订阅人信息中继续搜索所述第 一用户, 如此逐层搜索直到搜索到所述第一用户, 得到从所述第一用户到所述 第二用户的所述间接联系人的信息;
在所述第一用户的联系人信息中和 /或订阅所述第二用户的订阅人中搜索 目标联系人, 如果未搜索到所述目标联系人, 则在所述第一用户的联系人信息 中的每个联系人的联系人信息中和 /或在所有订阅所述第二用户的订阅人的订 阅人信息中搜索所述目标联系人, 如此逐层搜索直到搜索到所述目标联系人, 得到从所述第一用户到所述第二用户的所述间接联系人的信息。 一种联系人信息的获取装置, 位于客户端, 所述装置包括:
第二发送模块, 设置为向服务器发送请求消息, 其中, 所述请求消息用于 请求第一用户需要获取的第二用户的联系信息;
第二接收模块, 设置为接收所述服务器返回的所述第一用户到所述第二用 户的间接联系人的信息。 根据权利要求 9所述的装置, 其中, 所述间接联系人为一个, 所述间接联系人的联系信息记录在所述第一用户 的联系人的联系信息中, 所述第二用户的联系信息记录在所述间接联系人的联 系人的联系信息中; 所述第二发送模块还设置为根据所述间接联系人的联系信息, 向所述间接 联系人的客户端发送共享请求, 请求共享所述第二用户的联系信息;
所述第二接收模块还设置为接收所述第二用户的联系信息。
11. 根据权利要求 9所述的装置, 其中,
所述间接联系人为多个, 所述多个间接联系人中包括: 一个第一间接联系 人、 一个第二间接联系人和 n个第三间接联系人, 其中, 所述第一间接联系人 的联系信息记录在所述第一用户的联系人的联系信息中, 所述第二间接联系人 的联系人的联系信息中记录有所述第二用户的联系信息, 所述第三间接联系人 为所述第一间接联系人到所述第二间接联系人的间接联系人, n为大于或等于 0 的整数;
所述第二发送模块还设置为订阅所述第二间接联系人的联系信息, 以及根 据所述第二间接联系人的联系信息, 向所述第二间接联系人的客户端发送共享 请求, 请求共享所述第二用户的联系信息, 所述第二接收模块还设置为接收所 述第二间接联系人的联系信息, 以及接收所述第二间接联系人共享的所述第二 用户的联系信息; 或者, 所述第二发送模块还设置为根据所述第一间接联系人 的联系信息, 向所述第一间接联系人的客户端发送共享请求, 请求共享所述第 三间接联系人的联系信息, 通过所述第三间接联系人逐层发送共享请求, 直至 所述第二接收模块接收到所述第二间接联系人的联系信息, 并向所述第二间接 联系人发送共享请求; 所述第二接收模块还设置为接收逐层共享的所述第三间 接联系人的联系信息、 所述第三间接联系人共享的所述第二间接联系人的联系 信息, 以及接收所述第二间接联系人共享的所述第二用户的联系信息; 或者, 所述第二发送模块还设置为根据所述服务器返回的所述间接联系人信息, 订阅 所述第三间接联系人之一的联系信息, 通过该第三间接联系人逐层发送共享请 求直至所述第二接收模块接收到所述第二间接联系人的联系信息, 向所述第二 间接联系人发送共享请求; 所述第二接收模块还设置为接收所述第三间接联系 人之一的联系信息、 逐层共享的所述第三间接联系人的联系信息、 所述第二间 接联系人的联系信息, 以及接收所述第二间接联系人共享的所述第二用户的联 系信息。
12. 根据权利要求 9所述的装置, 其中, 所述第二发送模块还设置为根据所述间接联系人的信息, 将需要发送给所 述第二用户的内容信息发送给所述间接联系人对应的一个或多个客户端, 通过 所述一个或多个客户端将所述内容信息发送给所述第二用户的客户端。
PCT/CN2011/079333 2011-05-25 2011-09-05 联系人信息的获取方法及装置 WO2012159389A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2011101373458A CN102801691A (zh) 2011-05-25 2011-05-25 联系人信息的获取方法及装置
CN201110137345.8 2011-05-25

Publications (1)

Publication Number Publication Date
WO2012159389A1 true WO2012159389A1 (zh) 2012-11-29

Family

ID=47200657

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/079333 WO2012159389A1 (zh) 2011-05-25 2011-09-05 联系人信息的获取方法及装置

Country Status (2)

Country Link
CN (1) CN102801691A (zh)
WO (1) WO2012159389A1 (zh)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107391579B (zh) * 2013-01-10 2021-01-29 华为技术有限公司 一种查找账户的方法和装置
CN104156379A (zh) * 2014-01-14 2014-11-19 深圳市亿芯通讯有限公司 联系人关联检索系统及方法
CN103916469A (zh) * 2014-03-26 2014-07-09 北京奇虎科技有限公司 一种联系人信息获取方法、客户端和服务器
CN104008151B (zh) * 2014-05-21 2019-03-26 深圳市亿芯通讯有限公司 联系人检索的方法、系统和终端设备
CN105373569A (zh) * 2014-09-02 2016-03-02 中兴通讯股份有限公司 联系人的检索处理方法及装置
US9871884B2 (en) 2014-09-30 2018-01-16 Xiaomi Inc. Method and device for transferring messages
CN105515939B (zh) * 2014-10-20 2019-10-29 阿里巴巴集团控股有限公司 在即时通信应用中提供用户信息的方法及装置
CN106033296A (zh) * 2015-03-09 2016-10-19 阿里巴巴集团控股有限公司 联系人的检索方法及装置
CN106603395A (zh) * 2017-02-27 2017-04-26 努比亚技术有限公司 获取好友联系信息的方法、系统与装置
CN110213151B (zh) * 2018-04-26 2021-08-24 腾讯科技(深圳)有限公司 一种获取联系人社交账号的方法及装置
CN109347995A (zh) * 2018-11-06 2019-02-15 上海掌门科技有限公司 一种用于获取用户联系信息的方法与设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1836235A (zh) * 2003-07-07 2006-09-20 西姆沃克斯国际有限公司 用于确定网络系统的用户之间的关系的系统和方法
US20090204601A1 (en) * 2008-02-13 2009-08-13 Yahoo! Inc. Social network search
CN101631165A (zh) * 2009-07-28 2010-01-20 深圳市同洲电子股份有限公司 移动通信终端中查找联系人信息的方法及装置
CN101662486A (zh) * 2008-08-30 2010-03-03 华为技术有限公司 一种订阅信息的方法和系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7519542B1 (en) * 2001-08-14 2009-04-14 Versata Development Group, Inc. System and method for modeling and applying a people network representation
US20030187813A1 (en) * 2002-03-26 2003-10-02 Goldman Neal D. System and method for identifying relationship paths to a target entity
CN100488100C (zh) * 2005-11-09 2009-05-13 华为技术有限公司 关系信息的公开、获取方法及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1836235A (zh) * 2003-07-07 2006-09-20 西姆沃克斯国际有限公司 用于确定网络系统的用户之间的关系的系统和方法
US20090204601A1 (en) * 2008-02-13 2009-08-13 Yahoo! Inc. Social network search
CN101662486A (zh) * 2008-08-30 2010-03-03 华为技术有限公司 一种订阅信息的方法和系统
CN101631165A (zh) * 2009-07-28 2010-01-20 深圳市同洲电子股份有限公司 移动通信终端中查找联系人信息的方法及装置

Also Published As

Publication number Publication date
CN102801691A (zh) 2012-11-28

Similar Documents

Publication Publication Date Title
WO2012159389A1 (zh) 联系人信息的获取方法及装置
KR102056416B1 (ko) 무선 네트워크에서 디바이스들 간의 터널 다이렉트 링크 설정(tdls) 세션을 확립하는 방법들 및 장치들
US8943572B2 (en) Method for accessing a storage server of an IM service system, and an IM service system
WO2013159576A1 (zh) 接入无线网络的方法、终端、wi-fi接入网节点和鉴权服务器
US10735498B2 (en) Method and device for interworking between different OTTs
WO2004025899A1 (fr) Procede de connexion de dispositifs dans une mise en reseaux de type dynamique
CN113938910A (zh) 一种通信方法及装置
WO2014029276A1 (zh) 通讯方法及装置
WO2013086800A1 (zh) 社交网络的互操作方法及系统
EP3056047B1 (en) Wireless network service type
EP3860300B1 (en) Group calling in a mission critical service system
US10419543B2 (en) Method and system for establishing a connection between a seeker device and a target device
US20140019549A1 (en) Control System for Conferencing Applications in Named-Data Networks
JP2023519631A (ja) ネットワークスライス認証の制御方法、装置、機器及び記憶媒体
US9900353B2 (en) Method and apparatus for enabling communications between users
WO2008125057A1 (fr) Procédé et système de communication avec un abonné supportant divers services de messagerie
WO2009113947A1 (en) Using a hash value as a pointer to an application class in a communications device
WO2017185934A1 (zh) 一种管理设备及设备管理方法
WO2017168302A1 (en) System and methods for providing at least one service to a user device through a multimedia gateway
WO2012155652A1 (zh) 跨社交网络的通信方法、网元及系统
US9537713B2 (en) Method of setting PN on the basis of personal network usage information in heterogeneous network
WO2012129832A1 (zh) 联系人信息获取方法及装置
WO2012167473A1 (zh) 消息状态设置方法和cpm业务服务器
WO2012129913A1 (zh) Sip终端注册及业务处理的方法、及相关设备
WO2010045799A1 (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: 11866083

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

Country of ref document: EP

Kind code of ref document: A1