Movatterモバイル変換


[0]ホーム

URL:


CN106790738A - The querying method and server of a kind of user contact details - Google Patents

The querying method and server of a kind of user contact details
Download PDF

Info

Publication number
CN106790738A
CN106790738ACN201611027557.XACN201611027557ACN106790738ACN 106790738 ACN106790738 ACN 106790738ACN 201611027557 ACN201611027557 ACN 201611027557ACN 106790738 ACN106790738 ACN 106790738A
Authority
CN
China
Prior art keywords
contact
initiator
information
user
candidate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611027557.XA
Other languages
Chinese (zh)
Other versions
CN106790738B (en
Inventor
任明明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201611027557.XApriorityCriticalpatent/CN106790738B/en
Publication of CN106790738ApublicationCriticalpatent/CN106790738A/en
Application grantedgrantedCritical
Publication of CN106790738BpublicationCriticalpatent/CN106790738B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明实施例提供了一种用户联系方式的查询方法及服务器,该方法包括:接收来自发起方所在终端的查询请求,所述查询请求中包括目标用户特征和所述发起方的信息;根据所述发起方的信息,获取所述发起方的联系人列表,并在预置的联系人数据库中,查找与所述目标用户特征匹配的候选用户,获取所述候选用户的联系人列表;计算所述发起方的联系人列表与所述候选用户的联系人列表之间的匹配度;当所述匹配度满足预设条件时,将所述候选用户的联系方式返回给所述终端。本发明实施例操作简便,大大提高了查询的及时性和实用性,同时,通过联系人信息之间的匹配度决定是否反馈用户的联系方式,可以保证联系方式的隐私性。

Embodiments of the present invention provide a user contact information query method and server, the method comprising: receiving a query request from a terminal where the initiator is located, the query request including the characteristics of the target user and the information of the initiator; according to the information of the initiator, obtain the contact list of the initiator, and search for candidate users matching the characteristics of the target user in the preset contact database, and obtain the contact list of the candidate users; calculate the The matching degree between the contact list of the initiator and the contact list of the candidate user; when the matching degree satisfies a preset condition, return the contact information of the candidate user to the terminal. The embodiment of the present invention is easy to operate, and greatly improves the timeliness and practicability of the query. At the same time, whether to feed back the user's contact information is determined by the matching degree between contact information, which can ensure the privacy of the contact information.

Description

Translated fromChinese
一种用户联系方式的查询方法及服务器A query method and server for user contact information

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种用户联系方式的查询方法和一种服务器。The invention relates to the technical field of communication, in particular to a query method for user contact information and a server.

背景技术Background technique

着通讯技术的发展,移动终端已经被越来越多的人接受并在人们的工作、学习、日常生活中等各方面的使用越来越普遍。With the development of communication technology, mobile terminals have been accepted by more and more people and are increasingly used in people's work, study, and daily life.

在移动终端的使用过程中,当前用户与其他用户进行通信的使频率较大,使得移动终端中存储了数量较多的联系人信息。During the use of the mobile terminal, the current user communicates with other users frequently, so that a large amount of contact information is stored in the mobile terminal.

如果某个用户想将另一个用户的联系方式作为联系人信息存储在移动终端中,一般需要当面要联系方式,或者,通过询问第三方用户来找到此用户的联系方式。If a certain user wants to store another user's contact information in the mobile terminal as contact information, he generally needs to ask for the contact information in person, or find out the user's contact information by asking a third-party user.

这两种方式,不能够及时地获得想要联系的用户的联系方式,及时性差,而且,若长时间不联系,很多时候很难见到想要联系的用户、也很难通过第三方找到想要联系的用户的联系方式,实用性差。These two methods cannot obtain the contact information of the user you want to contact in time, and the timeliness is poor. Moreover, if you do not contact for a long time, it is often difficult to see the user you want to contact, and it is also difficult to find the desired user through a third party. The contact information of the user to be contacted is poor in practicality.

发明内容Contents of the invention

本发明实施例提供一种用户联系方式的查询方法,以解决查询用户的联系方式及时性差、实用性差的问题。An embodiment of the present invention provides a method for querying a user's contact information to solve the problems of poor timeliness and poor practicability for querying the user's contact information.

第一方面,提供了一种用户联系方式的查询的方法,所述方法包括:In the first aspect, a method for querying user contact information is provided, the method comprising:

接收来自发起方所在终端的查询请求,所述查询请求中包括目标用户特征和所述发起方的信息;receiving a query request from the terminal where the initiator is located, the query request including the characteristics of the target user and the information of the initiator;

根据所述发起方的信息,获取所述发起方的联系人列表,并在预置的联系人数据库中,查找与所述目标用户特征匹配的候选用户,获取所述候选用户的联系人列表;Obtaining a contact list of the initiator according to the information of the initiator, and searching for a candidate user matching the characteristics of the target user in a preset contact database, and acquiring a contact list of the candidate user;

计算所述发起方的联系人列表与所述候选用户的联系人列表之间的匹配度;calculating a degree of matching between the initiator's contact list and the candidate user's contact list;

当所述匹配度满足预设条件时,将所述候选用户的联系方式返回给所述终端。When the matching degree satisfies the preset condition, the contact information of the candidate user is returned to the terminal.

第二方面,提供了一种服务器,所述服务器包括:In a second aspect, a server is provided, and the server includes:

查询请求接收模块,用于接收来自发起方所在终端的查询请求,所述查询请求中包括目标用户特征和所述发起方的信息;A query request receiving module, configured to receive a query request from a terminal where the initiator is located, the query request including target user characteristics and information of the initiator;

联系信息获取模块,用于根据所述发起方的信息,获取所述发起方的联系人列表,并在预置的联系人数据库中,查找与所述目标用户特征匹配的候选用户,获取所述候选用户的联系人列表;A contact information acquiring module, configured to acquire a contact list of the initiator according to the information of the initiator, and search for a candidate user matching the characteristics of the target user in a preset contact database, and acquire the Contact list of candidate users;

匹配度计算模块,用于计算所述发起方的联系人列表与所述候选用户的联系人列表之间的匹配度;A matching degree calculation module, configured to calculate the matching degree between the contact list of the initiator and the contact list of the candidate user;

联系方式返回模块,用于在所述匹配度满足预设条件时,将所述候选用户的联系方式返回给所述终端。A contact information returning module, configured to return the contact information of the candidate user to the terminal when the matching degree satisfies a preset condition.

这样,本发明实施例中,根据发起方的信息,获取发起方的联系人列表,并在预置的联系人数据库中,查找与目标用户特征匹配的候选用户,获取候选用户的联系人列表,通过计算发起方的联系人列表与候选用户的联系人列表之间的匹配度,当匹配度满足预设条件时,将候选用户的联系方式返回给终端,通过前期众多用户在云端共享联系方式,后期可以基于用户特征即可查询到想要联系的用户,避免了当面要联系方式和通过询问第三方用户,操作简便,大大提高了查询的及时性和实用性,同时,通过联系人信息之间的匹配度决定是否反馈用户的联系方式,可以保证联系方式的隐私性。In this way, in the embodiment of the present invention, according to the information of the initiator, the contact list of the initiator is obtained, and in the preset contact database, a candidate user matching the characteristics of the target user is searched, and the contact list of the candidate user is obtained, By calculating the matching degree between the initiator's contact list and the candidate user's contact list, when the matching degree meets the preset conditions, the candidate user's contact information is returned to the terminal, and many users share the contact information on the cloud in the early stage. In the later stage, users who want to be contacted can be queried based on user characteristics, avoiding the need for contact information in person and asking third-party users, which is easy to operate and greatly improves the timeliness and practicability of the query. At the same time, through contact information between The matching degree determines whether to feed back the user's contact information, which can ensure the privacy of the contact information.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.

图1是本发明的一种用户联系方式的查询方法实施例的步骤流程图;Fig. 1 is a flow chart of the steps of a query method embodiment of a user contact method of the present invention;

图2是本发明的另一种用户联系方式的查询方法实施例的步骤流程图;Fig. 2 is a flow chart of the steps of another embodiment of the query method for user contact information of the present invention;

图3是本发明的另一种用户联系方式的查询方法实施例的步骤流程图;Fig. 3 is a flow chart of the steps of another embodiment of the query method for user contact information of the present invention;

图4是本发明的一种服务器的结构框图;Fig. 4 is a structural block diagram of a server of the present invention;

图5是本发明实施例的一种联系信息获取模块的框图;Fig. 5 is the block diagram of a kind of contact information obtaining module of the embodiment of the present invention;

图6是本发明实施例的一种的匹配度计算模块的框图;Fig. 6 is a block diagram of a matching calculation module according to an embodiment of the present invention;

图7是本发明实施例的一种联系信息获取模块的框图;Fig. 7 is a block diagram of a contact information acquisition module according to an embodiment of the present invention;

图8是本发明实施例的一种匹配度计算模块的框图;Fig. 8 is a block diagram of a matching calculation module according to an embodiment of the present invention;

图9是本发明的另一种服务器的结构框图;Fig. 9 is a structural block diagram of another server of the present invention;

图10是本发明实施例的一种联系方式返回模块的框图;Fig. 10 is a block diagram of a contact return module in an embodiment of the present invention;

图11是本发明的另一种服务器的结构框图。Fig. 11 is a structural block diagram of another server of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

第一实施例first embodiment

参照图1,示出了本发明的一种用户联系方式的查询方法实施例的步骤流程图,具体可以包括如下步骤:Referring to Fig. 1, it shows a flow chart of the steps of an embodiment of a method for querying user contact information according to the present invention, which may specifically include the following steps:

步骤101,接收来自发起方所在终端的查询请求。Step 101, receiving a query request from a terminal where an initiator is located.

在具体实现中,本发明实施例可以应用在服务器中,该服务器可以为独立的计算机,也可以为计算机集群,如分布式系统,本发明实施例对此不加以限制。In a specific implementation, the embodiment of the present invention can be applied in a server, and the server can be an independent computer, or a computer cluster, such as a distributed system, which is not limited in the embodiment of the present invention.

该服务器设置有API(Application Programming Interface,应用程序编程接口),提供用户联系方式的查询服务。The server is provided with an API (Application Programming Interface, application programming interface) to provide query services for user contact information.

用户可以通过终端(例如,手机、平板电脑、个人数字助理、穿戴设备(如眼镜、手表等)等)可以调用该服务器提供的API接口,按照该API接口的参数规范,将目标用户特征作为参数、组装成一查询请求,发送到该服务器,以调用该服务器的用户联系方式的查询服务,查询目标用户的信息。Users can call the API interface provided by the server through terminals (such as mobile phones, tablet computers, personal digital assistants, wearable devices (such as glasses, watches, etc.), etc., and use the characteristics of the target user as parameters according to the parameter specification of the API interface , assembled into a query request, and sent to the server to invoke the query service of the server's user contact information to query the information of the target user.

因此,查询请求中具有目标用户特征和发起方的信息,其中,目标用户特征为体现目标用户的特征的信息,一般为姓名,当然,也可以为性别、公司、E-mail(电子邮件)地址、即时通讯工具的账号、支付应用的账号等等,本发明实施例对此不加以限制。Therefore, there are target user characteristics and initiator information in the query request, wherein the target user characteristics are information that reflects the characteristics of the target user, generally name, of course, can also be gender, company, E-mail (email) address , the account of the instant messaging tool, the account of the payment application, etc., which are not limited in this embodiment of the present invention.

例如,第一移动终端所属的用户想要联系一个姓名为“王超”的用户,则可以以姓名为key(键)、王超为value(值)作为参数,发送至服务器。For example, if a user belonging to the first mobile terminal wants to contact a user whose name is "Wang Chao", he can use the name as key (key) and Wang Chao as value (value) as parameters to send to the server.

如果第一移动终端所属的用户除了知道目标用户的姓名为“王超”之外,还知道该目标用户就职的公司为A通信公司,则除了以姓名为key(键)、王超为value(值)作为参数之外,还可以以公司为key(键)、A通信公司为value(值)作为参数,发送至服务器。If the user of the first mobile terminal knows that the target user's full name is "Wang Chao", and also knows that the target user's inaugural company is A communication company, then in addition to using the name as key (key), Wang Chao as value ( Value) as a parameter, you can also use the company as the key (key) and the A communication company as the value (value) as parameters to send to the server.

步骤102,根据所述发起方的信息,获取所述发起方的联系人列表,并在预置的联系人数据库中,查找与所述目标用户特征匹配的候选用户,获取所述候选用户的联系人列表。Step 102, according to the information of the initiator, obtain the contact list of the initiator, and search for candidate users matching the characteristics of the target user in the preset contact database, and obtain the contact information of the candidate users list of people.

在具体实现中,终端可以通过SIM(Subscriber Identity Module,客户识别模块)卡、USIM(Universal Subscriber Identity Module,全球用户识别卡)卡、电子邮箱等方式与其他终端进行通信,用户通常会记录数量不等的联系人信息,例如,姓名、电话号码、性别、E-mail(电子邮件)地址、即时通讯工具的账号、支付账号等等。In a specific implementation, the terminal can communicate with other terminals through SIM (Subscriber Identity Module, customer identification module) card, USIM (Universal Subscriber Identity Module, global subscriber identification card) card, e-mail, etc. Contact information such as name, phone number, gender, E-mail (e-mail) address, account number of instant messaging tool, payment account number, etc.

这些终端的操作系统可以包括Android(安卓)、IOS、Windows Phone、Windows等等,通常配置有通讯录,其中包括系统内置的通讯录,第三方应用的通讯录,用于存储联系人信息,并形成联系人列表。The operating systems of these terminals can include Android (Android), IOS, Windows Phone, Windows, etc., and are usually configured with address books, including system built-in address books, address books of third-party applications, used to store contact information, and Form a list of contacts.

进一步而言,这些通讯录的联系人信息一般会存储在操作系统的联系人数据库中,通讯录上显示的联系人信息一般是通过查询此联系人数据库得到的,供用户进行浏览、删除、修改等操作。Furthermore, the contact information of these address books is generally stored in the contact database of the operating system, and the contact information displayed on the address book is generally obtained by querying the contact database for users to browse, delete, and modify and so on.

以Android系统为例,联系人数据库可以为contacts2.db,其存储目录一般为/data/data/com.android.providers.contacts/databases。Taking the Android system as an example, the contact database may be contacts2.db, and its storage directory is generally /data/data/com.android.providers.contacts/databases.

contacts2.db中一般具有raw_contacts表、contacts表和data表等表格。Contacts2.db generally has tables such as raw_contacts table, contacts table and data table.

contacts表存储联系人lookup(可以理解为类似ID的功能)。The contacts table stores contact lookups (which can be understood as functions similar to IDs).

raw_contacts表存储了联系人的姓名、姓名的字母索引和帐户类型信息(区别是本机号码还是SIM卡号码)。The raw_contacts table stores the name of the contact, the alphabetical index of the name, and the account type information (the difference is the phone number or the SIM card number).

data表存储了联系人的号码、邮件、IM等数据。The data table stores data such as numbers, emails, and IMs of contacts.

在本发明实施例中,可以通过如下两种方式获取在发起方的联系人列表:In the embodiment of the present invention, the contact list at the initiator can be obtained in the following two ways:

1、终端上传。1. Terminal upload.

在此种方式中,服务器可以根据发起方的信息,从发起方所在终端获取所述发起方的联系人列表。In this way, the server may acquire the contact list of the initiator from the terminal where the initiator is located according to the information of the initiator.

进一步而言,发起方的终端可以随目标用户特征一同在目标用户的查询请求上传存储在通讯录的联系人列表,也可以单独上传存储在通讯录的联系人列表,本发明实施例对此不加以限制。Further, the terminal of the initiator can upload the contact list stored in the address book together with the target user's characteristics in the query request of the target user, or can upload the contact list stored in the address book separately, which is not covered in the embodiment of the present invention. be restricted.

例如,发起方的终端可以先在目标用户的查询请求中上传目标用户特征,在联系人数据库中,服务器查找到与目标用户特征匹配的候选用户之后,可以向发起方的终端返回应答信息,发起方的终端依据该应答信息上传存储在通讯录的联系人列表;如果服务器未查找到与目标用户特征匹配的候选用户,可以向发起方的终端返回查询失败的消息,发起方的终端不上传联系人列表。For example, the initiator's terminal can first upload the characteristics of the target user in the query request of the target user. In the contact database, after the server finds a candidate user matching the characteristics of the target user, it can return a response message to the initiator's terminal, and initiate The terminal of the party uploads the contact list stored in the address book according to the response information; if the server does not find a candidate user matching the characteristics of the target user, it can return a query failure message to the terminal of the initiating party, and the terminal of the initiating party does not upload the contact list. list of people.

2、服务器查询。2. Server query.

在此种方式中,发起方的终端在先将其所属的联系方式(包括电话号码、用户特征,如姓名、公司等)作为候选用户联系方式、存储在通讯录的联系人列表上传至服务器,建立关联关系、存储在联系人数据库中。In this method, the initiator's terminal first uploads its contact information (including phone number, user characteristics, such as name, company, etc.) to the server as a candidate user contact information and a list of contacts stored in the address book, Establish an association relationship and store it in the contact database.

发起方的终端可以随目标用户特征一同在目标用户的查询请求中嵌入第一移动终端的SIM卡或USIM卡的目标电话号码等用户标识作为发起方的信息。The initiator's terminal can embed the user identifier such as the SIM card or the target phone number of the USIM card of the first mobile terminal in the query request of the target user together with the characteristics of the target user as the information of the initiator.

根据发起方的信息,从联系人数据库中获取所述发起方的联系人列表,即服务器可以基于发起方的终端上传的用户标识,在预置的联系人数据库中查找该用户标识对应的候选用户联系方式,并提取候选用户联系方式对应的联系人列表。According to the initiator's information, obtain the initiator's contact list from the contact database, that is, the server can search for the candidate user corresponding to the user identifier in the preset contact database based on the user identifier uploaded by the initiator's terminal contact information, and extract a contact list corresponding to the candidate user contact information.

当然,上述发起方的联系人列表的获取方式只是作为示例,在实施本发明实施例时,可以根据实际情况设置其他发起方的联系人列表的获取方式的方式,本发明实施例对此不加以限制。另外,除了上述发起方的联系人列表的获取方式外,本领域技术人员还可以根据实际需要采用其它发起方的联系人列表的获取方式,本发明实施例对此也不加以限制。Of course, the method of obtaining the contact list of the initiator above is only an example. When implementing the embodiment of the present invention, the method of obtaining the contact list of other initiators can be set according to the actual situation, and the embodiment of the present invention does not impose any restrictions on this. limit. In addition, in addition to the above method for obtaining the contact list of the initiator, those skilled in the art may also use other methods for obtaining the contact list of the initiator according to actual needs, which is not limited in this embodiment of the present invention.

应用本发明实施例,候选用户的终端可以上传候选用户的联系方式及联系人列表,建立关联关系、存储在联系人数据库中。Applying the embodiment of the present invention, the candidate user's terminal can upload the candidate user's contact information and contact list, establish an association relationship, and store it in the contact database.

其中,候选用户联系方式,可以为候选用户的联系方式,即上传联系人列表的用户的联系方式。Wherein, the contact information of the candidate user may be the contact information of the candidate user, that is, the contact information of the user who uploaded the contact list.

在具体实现中,候选用户的联系方式可以以候选用户特征与候选电话号码的形式存储。In a specific implementation, the contact information of candidate users may be stored in the form of candidate user features and candidate phone numbers.

其中,候选用户特征为体现第二移动终端所属用户的特征的信息,一般为姓名,当然,也可以为性别、公司、E-mail(电子邮件)地址、即时通讯工具的账号、支付应用的账号等等,本发明实施例对此不加以限制。Wherein, the candidate user feature is the information reflecting the feature of the user to which the second mobile terminal belongs, generally name, of course, also can be gender, company, E-mail (e-mail) address, account number of instant messaging tool, account number of payment application etc., which are not limited in this embodiment of the present invention.

因此,若服务器接收到发起方的终端发送的查询请求,则可以以目标用户特征在联系人数据库中的候选用户特征进行比对。Therefore, if the server receives the query request sent by the terminal of the initiating party, it can compare the characteristics of the target user with the candidate user characteristics in the contact database.

如果目标用户特征与候选用户特征部分关键的特征(如姓名)或全部特征相同,则可以认为目标用户特征与候选用户特征匹配,进而确认目标用户特征与候选用户特征所属的候选用户联系方式匹配。If some key features (such as name) or all features of the target user feature are the same as the candidate user feature, it can be considered that the target user feature matches the candidate user feature, and then it is confirmed that the target user feature matches the candidate user contact information to which the candidate user feature belongs.

因此,当目标用户特征与候选用户匹配时,可以按照该关联关系提取该候选用户对应的联系人列表。Therefore, when the characteristics of the target user match the candidate user, the contact list corresponding to the candidate user can be extracted according to the association relationship.

步骤103,计算所述发起方的联系人列表与所述候选用户的联系人列表之间的匹配度。Step 103, calculating the matching degree between the contact list of the initiator and the contact list of the candidate user.

在用户的日常生活中,经常需要在不同场合与不同的人进行交流,人们对于在社交中个体之间关系理解将会或多或少的影响到对联系人信息的使用,这些联系人信息很多是基于实现的社交关系存储的,因此,通讯录中的联系人信息在某种程度上表达用户的社会关系网络。In users' daily life, they often need to communicate with different people on different occasions. People's understanding of the relationship between individuals in social interaction will more or less affect the use of contact information. There are many contact information It is stored based on the realized social relationship, therefore, the contact information in the address book expresses the user's social relationship network to some extent.

若发起方与候选用户认识,其社会关系网络一般具有相关性,如具有共同的好友,共同存储了该好友的联系人信息。If the initiating party and the candidate user know each other, their social relationship network is generally related, for example, they have a common friend, and the contact information of the friend is stored together.

反之,若发起发与候选用户不认识,其社会关系网络一般不具有相关性,如不具有共同的好友,没有共同存储该好友的联系人信息。Conversely, if the originator and the candidate user do not know each other, their social relationship network generally has no correlation. For example, if there is no mutual friend, the contact information of the friend is not stored together.

在本发明实施例中,可以计算发起发的联系人列表与候选用户的联系人列表之间的匹配度(即匹配的程度),反映两个用户之间的社会关系网络的相关性。In the embodiment of the present invention, the matching degree (that is, the degree of matching) between the initiating contact list and the candidate user's contact list can be calculated, reflecting the relevance of the social network between the two users.

步骤104,当所述匹配度满足预设条件时,将所述候选用户的联系方式返回给所述终端。Step 104, when the matching degree satisfies a preset condition, return the contact information of the candidate user to the terminal.

在具体实现中,若匹配度满足一定的条件,则可以将该候选用户联系方式返回发起方的终端,展示给发起方。In a specific implementation, if the matching degree satisfies a certain condition, the candidate user contact information may be returned to the initiator's terminal and displayed to the initiator.

这样,本发明实施例中,通过在服务器中按照第一移动终端上传的目标用户特征匹配第二移动终端上传的候选用户联系方式,按照第一移动终端中存储的第一联系人信息与第二移动终端的第二联系人信息之间的匹配度将候选用户联系方式返回第一移动终端,通过众多用户在云端共享联系方式,通过用户特征即可查询到想要联系的用户,避免了当面要联系方式和通过询问第三方用户,操作简便,大大提高了查询的及时性和实用性,同时,通过联系人信息之间的匹配度决定是否反馈用户的联系方式,可以保证联系方式的隐私性。In this way, in the embodiment of the present invention, by matching the candidate user contact information uploaded by the second mobile terminal in the server according to the characteristics of the target user uploaded by the first mobile terminal, according to the first contact information stored in the first mobile terminal and the second The matching degree between the second contact information of the mobile terminal returns the contact information of the candidate user to the first mobile terminal. Through the sharing of contact information by many users in the cloud, the user who wants to be contacted can be queried through user characteristics, avoiding the need to contact in person. Contact information and asking third-party users are easy to operate and greatly improve the timeliness and practicability of the query. At the same time, whether to feedback the user's contact information is determined by the matching degree between contact information, which can ensure the privacy of the contact information.

第二实施例second embodiment

参照图2,示出了本发明的另一种用户联系方式的查询方法实施例的步骤流程图,具体可以包括如下步骤:Referring to FIG. 2 , it shows a flow chart of the steps of another embodiment of the user contact information query method of the present invention, which may specifically include the following steps:

步骤201,接收来自发起方所在终端的查询请求。Step 201, receiving a query request from a terminal where an initiator is located.

其中,所述查询请求中包括目标用户特征和所述发起方的信息。Wherein, the query request includes the characteristics of the target user and information of the initiator.

步骤202,根据所述发起方的信息,获取所述发起方的联系人列表。Step 202: Acquire a contact list of the initiator according to the information of the initiator.

步骤203,在预置的联系人数据库中,查找到与所述目标用户特征匹配的多个候选用户,分别获取所述多个候选用户的联系人列表。Step 203 , in the preset contact database, find a plurality of candidate users matching the characteristics of the target user, and acquire contact lists of the plurality of candidate users respectively.

在本发明实施例中,如果存在与目标用户特征匹配的多个候选用户,如存在多个姓名相同的候选用户,则可以分别提取该多个候选用户的多个候选人列表。In the embodiment of the present invention, if there are multiple candidate users matching the characteristics of the target user, for example, multiple candidate users with the same name, multiple candidate lists of the multiple candidate users may be respectively extracted.

步骤204,分别计算所述发起方的联系人列表与各个候选用户的联系人列表之间的匹配度。Step 204, respectively calculating the matching degree between the contact list of the initiator and the contact list of each candidate user.

如果提取了多个候选用户的联系人列表,则可以分别计算发起方的联系人列表与各个候选用户的联系人列表之间的匹配度,逐一验证。If the contact lists of multiple candidate users are extracted, the matching degrees between the contact list of the initiator and the contact lists of each candidate user may be calculated and verified one by one.

在本发明的一个实施例中,针对每次发起方的联系人列表与候选用户的联系人列表之间的匹配度计算,可以将发起方的联系人列表中的各个联系人的联系方式与候选用户的联系人列表中的各个联系人的联系方式进行匹配,获取联系方式相同的联系人数量。In one embodiment of the present invention, for each calculation of the matching degree between the initiator's contact list and the candidate user's contact list, the contact information of each contact in the initiator's contact list can be compared with the candidate user's contact information. The contact information of each contact in the user's contact list is matched to obtain the number of contacts with the same contact information.

将联系人数量和/或联系人数量在候选用户的联系人列表中的比例,作为发起方的联系人列表与候选用户的联系人列表之间的匹配度。The number of contacts and/or the ratio of the number of contacts in the contact list of the candidate user is taken as the matching degree between the contact list of the initiator and the contact list of the candidate user.

在具体实现中,如果发起方的联系人列表中的联系人信息与候选用户的联系人列表中的联系人信息的部分关键的联系方式(如电话号码)或全部联系方式相同,则可以认为第一联系人信息与第二联系人信息相同。In a specific implementation, if part of the key contact information (such as a phone number) or all contact information in the contact information in the contact list of the initiator and the contact information in the candidate user's contact list are the same, it can be considered that the first The first contact information is the same as the second contact information.

以电话号码为例,服务器可以从发起方的联系人列表中的联系人信息中提取第一电话号码,从候选用户的联系人列表中的联系人信息提取第二电话号码。Taking phone numbers as an example, the server may extract the first phone number from contact information in the contact list of the initiator, and extract the second phone number from contact information in the contact list of the candidate user.

当第一电话号码与第二电话号码匹配时,则确定两个联系方式相同。When the first phone number matches the second phone number, it is determined that the two contact methods are the same.

当然,上述相同联系方式的判断方式只是作为示例,在实施本发明实施例时,可以根据实际情况设置其他相同联系方式的判断方式,本发明实施例对此不加以限制。另外,除了上述相同联系方式的判断方式外,本领域技术人员还可以根据实际需要采用其它相同联系方式的判断方式,本发明实施例对此也不加以限制。Certainly, the above-mentioned judging method of the same contact method is only an example. When implementing the embodiment of the present invention, other judging methods of the same contact method can be set according to the actual situation, which is not limited in the embodiment of the present invention. In addition, in addition to the above-mentioned judging methods of the same contact method, those skilled in the art may also use other judging methods of the same contact method according to actual needs, which is not limited in the embodiment of the present invention.

此外,为了减少计算量,可以直接以将联系人数量和/或联系人数量在候选用户的联系人列表中的比例作为匹配度。In addition, in order to reduce the amount of calculation, the number of contacts and/or the ratio of the number of contacts in the contact list of the candidate user may be directly used as the matching degree.

为了提高匹配度的准确度,可以按照发起方的终端与候选用户的终端与联系方式相同的联系人之间的通讯信息(如通讯次数、通讯时长等)配置权重,基于配置权重的联系方式相同的联系人生成匹配度。In order to improve the accuracy of the matching degree, the weight can be configured according to the communication information (such as communication times, communication duration, etc.) between the terminal of the initiator and the terminal of the candidate user and contacts with the same contact information. of contacts generate matches.

当然,上述匹配度的生成方式只是作为示例,在实施本发明实施例时,可以根据实际情况设置其他匹配度的生成方式,本发明实施例对此不加以限制。另外,除了上述匹配度的生成方式外,本领域技术人员还可以根据实际需要采用其它匹配度的生成方式,本发明实施例对此也不加以限制。Of course, the above manner of generating the matching degree is only an example. When implementing the embodiment of the present invention, other manners of generating the matching degree may be set according to the actual situation, which is not limited in the embodiment of the present invention. In addition, in addition to the foregoing manner of generating the matching degree, those skilled in the art may also adopt other manners of generating the matching degree according to actual needs, which is not limited in this embodiment of the present invention.

步骤205,根据所述发起方的联系人列表与各个候选用户的联系人列表之间的匹配度,对各个候选用户进行排序。Step 205 , sort each candidate user according to the degree of matching between the initiator's contact list and each candidate user's contact list.

在本发明实施例中,可以按照匹配度(如目标用户联系方式的数量)对候选用户联系方式进行顺序排序,即匹配度越高(如目标用户联系方式的数量越多),则排序越高,反之,匹配度越低(如目标用户联系方式的数量越少),则排序越低。In the embodiment of the present invention, the candidate user contact methods can be sorted according to the degree of matching (such as the number of contact methods of the target user), that is, the higher the degree of matching (such as the greater the number of contact methods of the target user), the higher the ranking , on the contrary, the lower the matching degree (for example, the smaller the number of contact information of the target user), the lower the ranking.

步骤206,将排序最前的预设数量的候选用户的联系方式返回给所述终端。Step 206, returning the contact information of the top preset number of candidate users to the terminal.

在本发明实施例中,由于目标用户一般是一个,因此,可以将最有可能的前N(N为正整数,如5)个候选用户的联系方式返回发起方的终端进行显示,一方面可以防止过多的信息扰乱用户,另一方面可以防止透露过多的用户信息。In the embodiment of the present invention, since there is generally one target user, the contact information of the most likely top N (N is a positive integer, such as 5) candidate users can be returned to the initiator's terminal for display. Preventing too much information from disturbing users, on the other hand, can prevent revealing too much user information.

步骤207,当所述匹配度满足预设条件时,将所述候选用户对应的终端的地理位置信息和/或所述候选用户的电话号码的归属地信息,返回给所述发起方所在终端。Step 207: When the matching degree satisfies the preset condition, return the geographic location information of the terminal corresponding to the candidate user and/or the attribution information of the phone number of the candidate user to the terminal where the initiator is located.

在本发明实施例中,为了提高识别目标用户的精确度,除了候选用户的联系方式之外,还可以返回与候选用户的其他信息,辅助发起方判断该候选用户是否为目标用户。In the embodiment of the present invention, in order to improve the accuracy of identifying the target user, in addition to the contact information of the candidate user, other information about the candidate user may be returned to assist the initiator in judging whether the candidate user is the target user.

在具体实现中,候选用户在使用终端时,可以在预设的时间点(如9时、17时、21时等)通过GPS(Global Positioning System,全球定位系统)、Wi-Fi(无线保真)等方式进行定位并上传服务器,则服务器可以查询候选用户的终端上传的地理位置信息,形成候选用户的活动区域。In a specific implementation, when the candidate user is using the terminal, he can pass GPS (Global Positioning System, Global Positioning System), Wi-Fi (Wireless Fidelity ) and other methods to locate and upload to the server, then the server can query the geographic location information uploaded by the terminal of the candidate user to form the activity area of the candidate user.

例如,王超在广东深圳上梅林上班,在上塘居住,根据地理位置信息的记录,把王超的活动区域显示在一个市级的一个区的范围,即“广东省深圳市福田区”和“广东省深圳市龙华新区”。For example, Wang Chao works in Shangmeilin, Shenzhen, Guangdong, and lives in Shangtang. According to the records of geographical location information, Wang Chao’s activity area is displayed within the range of a city-level district, that is, "Futian District, Shenzhen, Guangdong Province" and " Longhua New District, Shenzhen, Guangdong Province".

此外,服务器可以从候选用户的联系方式中提取电话号码,查询该电话号码的归属地信息。In addition, the server can extract the phone number from the contact information of the candidate user, and query the attribution information of the phone number.

最后,服务器将地理位置信息和/或归属地信息,返回发起方的终端,展示给发起方进行判断。Finally, the server returns the geographic location information and/or attribution information to the initiator's terminal, and presents them to the initiator for judgment.

第三实施例third embodiment

参照图3,示出了本发明的另一种用户联系方式的查询方法实施例的步骤流程图,具体可以包括如下步骤:Referring to FIG. 3 , it shows a flow chart of the steps of another embodiment of the user contact information query method of the present invention, which may specifically include the following steps:

步骤301,接收候选用户终端上传的联系人列表。Step 301, receiving a contact list uploaded by a candidate user terminal.

在本发明实施例中,候选用户的终端可以在满足一定条件下,如到达预设时间、联系人信息更新的数量超过预设阈值等,上传其在通讯录中存储的联系人列表至云端(服务器),共同维护联系人数据库。In the embodiment of the present invention, the terminal of the candidate user can upload the contact list stored in the address book to the cloud ( server), jointly maintain the contact database.

当然,为了保证用户的隐私权和知情权,可以先检查候选用户是否加入了指定计划,如果是,则确认候选用户对服务器采集候选用户的联系人列表进行了授权,候选用户的终端可以继续执行联系人列表的发送流程,如果候选用户没有加入执行计划,则确认候选用户未对服务器采集联系人列表进行授权,候选用户的终端终止执行联系人列表的发送流程。Of course, in order to ensure the user's right to privacy and the right to know, you can first check whether the candidate user has joined the specified plan, and if so, confirm that the candidate user has authorized the server to collect the contact list of the candidate user, and the terminal of the candidate user can continue to execute For the sending process of the contact list, if the candidate user does not join the execution plan, it is confirmed that the candidate user has not authorized the server to collect the contact list, and the terminal of the candidate user terminates the sending process of executing the contact list.

其中,指定计划可以包括但不限于服务器发起的用户体验计划等等。Wherein, the specified plan may include but not limited to a user experience plan initiated by the server and the like.

步骤302,确定候选用户的联系方式。Step 302, determine the contact information of the candidate user.

在具体实现中,如果候选用户的终端在通讯录存储有候选用户的联系方式,则可以直接将候选用户的联系方式。In a specific implementation, if the candidate user's terminal stores the candidate user's contact information in the address book, the candidate user's contact information may be directly stored.

相对地,服务器可以接收候选用户的终端上传的联系方式。Relatively, the server may receive the contact information uploaded by the terminal of the candidate user.

如果候选用户的终端为在通讯录存储候选用户的联系方式,则可以上传其SIM卡、USIM卡等通信卡的候选电话号码。If the terminal of the candidate user stores the contact information of the candidate user in the address book, the candidate phone number of the communication card such as its SIM card, USIM card, etc. can be uploaded.

相对地,服务器可以接收候选用户的终端上传的候选电话号码。Relatively, the server may receive candidate phone numbers uploaded by terminals of candidate users.

由于其他用户可能将候选用户的联系方式作为联系人信息存储在通讯录中,因此,服务器可以在联系人数据库中查询该候选电话号码所属的联系人信息,作为候选用户的联系方式。Since other users may store the candidate user's contact information in the address book as contact information, the server may query the contact database for the contact information to which the candidate phone number belongs as the candidate user's contact information.

当然,上述候选用户的联系方式的确定方式只是作为示例,在实施本发明实施例时,可以根据实际情况设置其他候选用户的联系方式的确定方式,本发明实施例对此不加以限制。另外,除了上述候选用户的联系方式的确定方式外,本领域技术人员还可以根据实际需要采用其它候选用户的联系方式的确定方式,本发明实施例对此也不加以限制。Of course, the above method of determining the contact information of the candidate users is only an example. When implementing the embodiment of the present invention, the method of determining the contact information of other candidate users can be set according to the actual situation, which is not limited by the embodiment of the present invention. In addition, in addition to the above methods for determining the contact information of candidate users, those skilled in the art may also use other methods for determining contact information of candidate users according to actual needs, which is not limited in this embodiment of the present invention.

步骤303,将所述候选用户的联系方式及所述联系人列表建立关联关系、存储在联系人数据库中。Step 303, establishing an association relationship between the contact information of the candidate user and the contact list, and storing them in a contact database.

若云端(服务器)接收到候选用户的联系方式及联系人列表,则可以对候选用户的联系方式与联系人列表建立关联关系,存储在联系人数据库。If the cloud (server) receives the candidate user's contact information and the contact list, an association relationship can be established between the candidate user's contact information and the contact list, and stored in the contact database.

在实际应用中,若某个用户具有一部终端,存储一份联系人列表,则候选用户的联系方式与联系人列表是一一对应的关系;若某个用户具有多部终端,存储有多份联系人列表,则服务器可以将候选用户的联系方式分别与每份联系人列表建立关联关系,也可以将多份联系人列表合并为一份联系人列表,再与候选用户的联系方式建立关联关系,本发明实施例对此不加以限制。In practical applications, if a user has a terminal and stores a contact list, the contact information of the candidate user and the contact list are in a one-to-one correspondence; if a user has multiple terminals, how many terminals are stored? If there are two contact lists, the server can associate the candidate user's contact information with each contact list, or combine multiple contact lists into one contact list, and then associate it with the candidate user's contact information relationship, which is not limited in this embodiment of the present invention.

在本发明实施例中,联系人数据库中存储的联系人信息包括候选用户的联系方式、联系人列表。In the embodiment of the present invention, the contact information stored in the contact database includes contact information and a contact list of candidate users.

如果候选用户的联系方式、联系人列表中的联系人信息与联系人数据库中的联系人信息的部分关键的信息(如电话号码)或全部信息相同,则可以认为候选用户的联系方式、联系人列表中的联系人信息与联系人数据库中的联系人信息匹配。If the contact information of the candidate user and the contact information in the contact list are the same as part of the key information (such as phone number) or all information of the contact information in the contact database, then the candidate user's contact information and contact information can be considered The contact information in the list is matched with the contact information in the contact database.

以电话号码为例,服务器可以从候选用户的联系方式中提取候选电话号码,从联系人列表中的联系人信息中提取电话号码。Taking the phone number as an example, the server may extract the candidate phone number from the contact information of the candidate user, and extract the phone number from the contact information in the contact list.

当候选电话号码和/或电话号码与联系人数据库中联系人信息的电话号码相同时,确定候选用户的联系方式和/或联系人列表中的联系人信息与联系人数据库中的联系人信息匹配。When the candidate phone number and/or the phone number are the same as the phone number of the contact information in the contact database, determine that the contact information of the candidate user and/or the contact information in the contact list match the contact information in the contact database .

此时,认为候选用户的联系方式和/或联系人列表中的联系人信息属于同一个用户,但是,不同用户对于该用户存储的信息可能有所不同。At this point, it is considered that the contact information of the candidate user and/or the contact information in the contact list belong to the same user, but different users may store different information about the user.

例如,某个用户的姓名为王超,某些用户可能存储其姓名为王超,某些用户可能存储其姓名为小王。For example, if a user's name is Wang Chao, some users may store their name as Wang Chao, and some users may store their name as Xiao Wang.

又例如,对于公司名称,某些用户可能简化存储。As another example, some users may simplify storage for company names.

因此,为了对存储的数据进行规范化,服务器可以对候选用户的联系方式和/或联系人列表中的联系人信息与联系人数据库中的联系人信息进行归一化处理。Therefore, in order to normalize the stored data, the server may normalize the contact information of the candidate user and/or the contact information in the contact list and the contact information in the contact database.

对于姓名等个人信息,则可以以存储数量最多的信息作为归一化的信息;对于公司等公共信息,则可以调用相应的知识库或相关政府单位的服务器进行验证。For personal information such as names, the most stored information can be used as normalized information; for public information such as companies, the corresponding knowledge base or servers of relevant government units can be called for verification.

例如,某个用户的姓名为王超,部分用户存储为王超的数量为5,部分用户存储为小王的数量为1,则可以将姓名同一为王超进行存储。For example, if a user's name is Wang Chao, the number of some users stored as Wang Chao is 5, and the number of some users stored as Xiao Wang is 1, then the same name can be stored as Wang Chao.

在具体实现中,同一份联系人信息(包括候选用户的联系方式和/或联系人列表中的联系人信息)可能有多个用户存储,为了减少存储的数量,可以对其进行编号,在独立的数据库存储联系人信息(包括候选用户联系方式和/或联系人列表中的联系人信息)本身,而在联系人数据库中存储其编号。In a specific implementation, the same piece of contact information (including contact information of candidate users and/or contact information in the contact list) may be stored by multiple users. In order to reduce the amount of storage, they can be numbered and stored independently. The database stores contact information (including candidate user contact information and/or contact information in the contact list) itself, and stores its number in the contact database.

因此,若需要与联系人信息(候选用户的联系方式和/或联系人列表中的联系人信息)进行比对,则可以按照其编码查找相应的联系人信息(候选用户的联系方式和/或联系人列表中的联系人信息),再进行比对。Therefore, if it needs to be compared with the contact information (the contact information of the candidate user and/or the contact information in the contact list), you can search for the corresponding contact information (the contact information of the candidate user and/or Contact information in the contact list), and then compare.

当然,如果存储空间足够,在联系人数据库中也可以直接存储联系人信息(候选用户的联系方式和/或联系人列表中的联系人信息)本身,本发明实施例对此不加以限制。Of course, if the storage space is sufficient, the contact information (the contact information of the candidate user and/or the contact information in the contact list) itself may also be directly stored in the contact database, which is not limited in the embodiment of the present invention.

步骤304,接收来自发起方所在终端的查询请求。Step 304, receiving a query request from the terminal where the initiator is located.

其中,所述查询请求中包括目标用户特征和所述发起方的信息。Wherein, the query request includes the characteristics of the target user and information of the initiator.

步骤305,根据所述发起方的信息,获取所述发起方的联系人列表,并在预置的联系人数据库中,查找与所述目标用户特征匹配的候选用户,获取所述候选用户的联系人列表。Step 305, according to the information of the initiator, obtain the contact list of the initiator, and search for candidate users matching the characteristics of the target user in the preset contact database, and obtain the contact information of the candidate users list of people.

步骤306,计算所述发起方的联系人列表与所述候选用户的联系人列表之间的匹配度。Step 306, calculating the matching degree between the contact list of the initiator and the contact list of the candidate user.

步骤307,当所述匹配度满足预设条件时,将所述候选用户的联系方式返回给所述终端。Step 307: When the matching degree satisfies a preset condition, return the contact information of the candidate user to the terminal.

需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action sequence, because According to the embodiment of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

第四实施例Fourth embodiment

参照图4,示出了本发明的一种服务器的结构框图,该服务器400具体可以包括如下模块:Referring to FIG. 4 , a structural block diagram of a server of the present invention is shown, and the server 400 may specifically include the following modules:

查询请求接收模块401,用于接收来自发起方所在终端的查询请求,所述查询请求中包括目标用户特征和所述发起方的信息;A query request receiving module 401, configured to receive a query request from a terminal where the initiator is located, where the query request includes characteristics of the target user and information about the initiator;

联系信息获取模块402,用于根据所述发起方的信息,获取所述发起方的联系人列表,并在预置的联系人数据库中,查找与所述目标用户特征匹配的候选用户,获取所述候选用户的联系人列表;The contact information obtaining module 402 is configured to obtain the contact list of the initiator according to the information of the initiator, and search for a candidate user matching the characteristics of the target user in a preset contact database, and obtain the contact information of the target user. the contact list of the candidate user;

匹配度计算模块403,用于计算所述发起方的联系人列表与所述候选用户的联系人列表之间的匹配度;A matching degree calculation module 403, configured to calculate the matching degree between the initiator's contact list and the candidate user's contact list;

联系方式返回模块404,用于在所述匹配度满足预设条件时,将所述候选用户的联系方式返回给所述终端。A contact information returning module 404, configured to return the contact information of the candidate user to the terminal when the matching degree satisfies a preset condition.

在本发明的一个实施例中,参考图5所示的联系信息获取模块的框图,所述联系信息获取模块402进一步可以包括如下子模块:In one embodiment of the present invention, referring to the block diagram of the contact information acquisition module shown in Figure 5, the contact information acquisition module 402 may further include the following submodules:

数据库获取子模块4021,用于根据所述发起方的信息,从所述联系人数据库中获取所述发起方的联系人列表;The database obtaining submodule 4021 is configured to obtain the contact list of the initiator from the contact database according to the information of the initiator;

或者,or,

终端获取子模块4022,用于根据所述发起方的信息,从所述发起方所在终端获取所述发起方的联系人列表。The terminal obtaining submodule 4022 is configured to obtain the contact list of the initiator from the terminal where the initiator is located according to the information of the initiator.

在本发明的一个实施例中,参考图6所示的匹配度计算模块的框图,所述匹配度计算模块403进一步可以包括如下子模块:In one embodiment of the present invention, referring to the block diagram of the matching calculation module shown in Figure 6, the matching calculation module 403 may further include the following submodules:

联系方式匹配子模块4031,用于将所述发起方的联系人列表中的各个联系人的联系方式与所述候选用户的联系人列表中的各个联系人的联系方式进行匹配,获取联系方式相同的联系人数量;The contact information matching sub-module 4031 is used to match the contact information of each contact in the contact list of the initiator with the contact information of each contact in the contact list of the candidate user, and the obtained contact information is the same number of contacts;

相同联系人计算子模块4032,用于将所述联系人数量和/或所述联系人数量在所述候选用户的联系人列表中的比例,作为所述发起方的联系人列表与所述候选用户的联系人列表之间的匹配度。The same contact calculation sub-module 4032 is configured to use the number of contacts and/or the ratio of the number of contacts in the contact list of the candidate user as the contact list of the initiator and the candidate user. The degree of match between the user's contact lists.

在本发明的一个实施例中,参考图7所示的联系信息获取模块的框图,所述联系信息获取模块402进一步可以包括如下子模块:In one embodiment of the present invention, referring to the block diagram of the contact information acquisition module shown in Figure 7, the contact information acquisition module 402 may further include the following submodules:

多联系人列表获取子模块4021,用于在预置的联系人数据库中,查找到与所述目标用户特征匹配的多个候选用户,分别获取所述多个候选用户的联系人列表。The multiple contact list acquisition sub-module 4021 is configured to find a plurality of candidate users matching the characteristics of the target user in the preset contact database, and acquire contact lists of the plurality of candidate users respectively.

在本发明的一个实施例中,参考图8所示的匹配度计算模块的框图,所述匹配度计算模块403进一步可以包括如下子模块:In one embodiment of the present invention, referring to the block diagram of the matching calculation module shown in FIG. 8, the matching calculation module 403 may further include the following submodules:

多匹配度计算模块4033,用于分别计算所述发起方的联系人列表与各个候选用户的联系人列表之间的匹配度。The multi-matching degree calculation module 4033 is configured to calculate the matching degrees between the initiator's contact list and each candidate user's contact list.

在图4的基础上,可选地,服务器400还可包括候选用户排序模块405,参见图9。On the basis of FIG. 4 , optionally, the server 400 may further include a candidate user sorting module 405 , see FIG. 9 .

候选用户排序模块405,用于根据所述发起方的联系人列表与各个候选用户的联系人列表之间的匹配度,对各个候选用户进行排序。The candidate user sorting module 405 is configured to sort each candidate user according to the degree of matching between the initiator's contact list and each candidate user's contact list.

在本发明的一个实施例中,参考图10所示的联系方式返回模块的框图,所述联系方式返回模块404进一步可以包括如下子模块:In one embodiment of the present invention, referring to the block diagram of the contact information return module shown in FIG. 10, the contact information return module 404 may further include the following submodules:

排序返回子模块4041,用于将排序最前的预设数量的候选用户的联系方式返回给所述终端。The ranking returning sub-module 4041 is configured to return the contact information of the top preset number of candidate users to the terminal.

在图4的基础上,可选地,服务器400还可包括相关信息返回模块406,参见图11。On the basis of FIG. 4 , optionally, the server 400 may further include a related information returning module 406 , see FIG. 11 .

相关信息返回模块406,用于在所述匹配度满足预设条件时,将所述候选用户对应的终端的地理位置信息和/或所述候选用户的电话号码的归属地信息,返回给所述发起方所在终端。A related information returning module 406, configured to return the geographic location information of the terminal corresponding to the candidate user and/or the attribution information of the phone number of the candidate user to the The terminal where the initiator is located.

服务器400能够实现图1至图3的方法实施例中服务器实现的各个过程,为避免重复,这里不再赘述。The server 400 can implement various processes implemented by the server in the method embodiments shown in FIG. 1 to FIG. 3 , and details are not repeated here to avoid repetition.

这样,本发明实施例中,根据发起方的信息,获取发起方的联系人列表,并在预置的联系人数据库中,查找与目标用户特征匹配的候选用户,获取候选用户的联系人列表,通过计算发起方的联系人列表与候选用户的联系人列表之间的匹配度,当匹配度满足预设条件时,将候选用户的联系方式返回给终端,通过前期众多用户在云端共享联系方式,后期可以基于用户特征即可查询到想要联系的用户,避免了当面要联系方式和通过询问第三方用户,操作简便,大大提高了查询的及时性和实用性,同时,通过联系人信息之间的匹配度决定是否反馈用户的联系方式,可以保证联系方式的隐私性。In this way, in the embodiment of the present invention, according to the information of the initiator, the contact list of the initiator is obtained, and in the preset contact database, a candidate user matching the characteristics of the target user is searched, and the contact list of the candidate user is obtained, By calculating the matching degree between the initiator's contact list and the candidate user's contact list, when the matching degree meets the preset conditions, the candidate user's contact information is returned to the terminal, and many users share the contact information on the cloud in the early stage. In the later stage, users who want to be contacted can be queried based on user characteristics, avoiding the need for contact information in person and asking third-party users, which is easy to operate and greatly improves the timeliness and practicability of the query. At the same time, through contact information between The matching degree determines whether to feed back the user's contact information, which can ensure the privacy of the contact information.

本领域普通技术人员可以意识到,结合本发明实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.

所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (10)

CN201611027557.XA2016-11-172016-11-17User contact information query method and serverActiveCN106790738B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201611027557.XACN106790738B (en)2016-11-172016-11-17User contact information query method and server

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201611027557.XACN106790738B (en)2016-11-172016-11-17User contact information query method and server

Publications (2)

Publication NumberPublication Date
CN106790738Atrue CN106790738A (en)2017-05-31
CN106790738B CN106790738B (en)2020-08-25

Family

ID=58970792

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201611027557.XAActiveCN106790738B (en)2016-11-172016-11-17User contact information query method and server

Country Status (1)

CountryLink
CN (1)CN106790738B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109427017A (en)*2017-08-242019-03-05中兴通讯股份有限公司A kind of reminding method and device
CN109597698A (en)*2018-10-262019-04-09平安科技(深圳)有限公司Message prompt method, device, electronic equipment and computer readable storage medium
CN110209704A (en)*2019-04-242019-09-06上海任意门科技有限公司User matching method and equipment
CN110933198A (en)*2019-11-282020-03-27中国银行股份有限公司Contact person information processing method and device
CN113326730A (en)*2021-04-202021-08-31深圳市莱尚科技有限公司Indoor elderly safety monitoring method and system, electronic equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102333299A (en)*2011-05-302012-01-25上海合合信息科技发展有限公司Method for providing information of contact
CN105376279A (en)*2014-08-272016-03-02小米科技有限责任公司Contact recommending method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102333299A (en)*2011-05-302012-01-25上海合合信息科技发展有限公司Method for providing information of contact
CN105376279A (en)*2014-08-272016-03-02小米科技有限责任公司Contact recommending method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109427017A (en)*2017-08-242019-03-05中兴通讯股份有限公司A kind of reminding method and device
CN109597698A (en)*2018-10-262019-04-09平安科技(深圳)有限公司Message prompt method, device, electronic equipment and computer readable storage medium
CN110209704A (en)*2019-04-242019-09-06上海任意门科技有限公司User matching method and equipment
CN110209704B (en)*2019-04-242023-02-07上海任意门科技有限公司User matching method and device
CN110933198A (en)*2019-11-282020-03-27中国银行股份有限公司Contact person information processing method and device
CN113326730A (en)*2021-04-202021-08-31深圳市莱尚科技有限公司Indoor elderly safety monitoring method and system, electronic equipment and medium

Also Published As

Publication numberPublication date
CN106790738B (en)2020-08-25

Similar Documents

PublicationPublication DateTitle
US10531223B2 (en)Matching users in a location-based service
CN106790738B (en)User contact information query method and server
US10244105B2 (en)Methods and systems for real time display of caller location, profile, and trust relationship
US11178255B1 (en)Systems and methods of address book management
US20100280965A1 (en)Method and apparatus for intuitive management of privacy settings
TW200421829A (en)System and method for social interaction
CN103179245B (en) Incoming phone number identification system and method
US20060052057A1 (en)Group codes for use by radio proximity applications
CN103561169B (en) An information management method and terminal
US9348858B2 (en)Methods and systems for dynamically changing contact information
US20150371015A1 (en)Method for managing privacy and security in a social network by checking shared data and relationships between users
CN113301203B (en)Method and device for updating historical information data based on address book
CN103942271B (en)User profile searches system and method
CN104540114A (en)Methods, terminal, server and system used for recognizing opposite terminal identity
US20110055340A1 (en)Mobile Social Networking Systems and Methods
CN103873698B (en)Terminal association device and terminal association method
CN107623772A (en) Content display method, device, system and intelligent communication device of call interface
CN106559556A (en)A kind of communication processing method, device
US20130262452A1 (en)Server for Conveying a Set of Contact Identification Data to a User Equipment, Methods Therefor, User Equipment, Computer Programs and Computer Program Products
CN113905022A (en) A group chat construction method, device and storage medium
US10412213B2 (en)System for producing caller identification metadata
US11032108B2 (en)Facilitating personas in communication exchange environments
KR101574423B1 (en)Method and apparatus for managing participating information of terminal
CN113868296A (en)Event data intelligent processing method and device and processor
HK1229915A1 (en)Retrieval method and device for contact

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp