CN106358183A - Address book updating method, device and system - Google Patents
Address book updating method, device and system Download PDFInfo
- Publication number
- CN106358183A CN106358183A CN201610875655.2A CN201610875655A CN106358183A CN 106358183 A CN106358183 A CN 106358183A CN 201610875655 A CN201610875655 A CN 201610875655A CN 106358183 A CN106358183 A CN 106358183A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- information
- server
- condition
- contact information
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
Abstract
本发明涉及一种通讯录的更新方法、装置及系统,该方法包括如下步骤:当第一移动终端满足上传联系人信息的条件时,将所述第一移动终端的位置信息以及联系人信息上传至服务器;接收所述服务器根据所述位置信息反馈的满足设定条件的第二移动终端上传的联系人信息;根据所述服务器反馈的所述第二移动终端上传的联系人信息更新所述第一移动终端的通讯录。本发明实现了通讯录中联系人地快速添加,无需用户手动逐项输入,提高了通讯录的更新效率,方便用户相互之间交换联系人信息,满足用户在同学聚会、商务会议等短时需要添加多个联系人信息的场合的使用要求,提高了用户体验。
The present invention relates to a method, device and system for updating an address book, the method comprising the following steps: when a first mobile terminal meets the conditions for uploading contact information, uploading the location information and contact information of the first mobile terminal to a server; receiving the contact information uploaded by a second mobile terminal that meets the set conditions and fed back by the server according to the location information; updating the address book of the first mobile terminal according to the contact information uploaded by the second mobile terminal fed back by the server. The present invention realizes the rapid addition of contacts in the address book without the need for users to manually input one by one, improves the updating efficiency of the address book, facilitates users to exchange contact information with each other, meets the use requirements of users in occasions such as class reunions and business meetings where they need to add multiple contact information in a short time, and improves the user experience.
Description
技术领域technical field
本发明涉及移动终端技术领域,特别是涉及一种通讯录的更新方法、装置和系统。The invention relates to the technical field of mobile terminals, in particular to a method, device and system for updating an address book.
背景技术Background technique
移动终端的通讯录功能极大地方便了用户,使得用户不必再去记住大量的联系人信息,而只需要将联系人信息输入到通讯录中,使用时直接调用通讯录中的联系人信息就可以与相应的联系人沟通。然而目前在通过添加联系人以更新通讯录时,都需要用户手动一个一个的输入手机号码等联系人信息,这种方式在需要短时间内添加多个联系人信息时效率较低,过程繁琐,不利于在同学聚会、商务会议等短时需要添加多个联系人信息的场合使用。The address book function of the mobile terminal greatly facilitates the user, so that the user no longer has to remember a large number of contact information, but only needs to input the contact information into the address book, and directly calls the contact information in the address book when using it. Can communicate with the corresponding contact person. However, at present, when adding contacts to update the address book, the user is required to manually input contact information such as mobile phone numbers one by one. This method is inefficient and cumbersome when adding multiple contact information in a short period of time. It is not conducive to use in occasions where multiple contact information needs to be added in a short period of time, such as class reunions and business meetings.
发明内容Contents of the invention
基于此,为解决现有技术中的问题,本发明提供一种通讯录的更新方法,能够快速地在移动终端的通讯录中添加联系人信息,提高通讯录的更新效率。Based on this, in order to solve the problems in the prior art, the present invention provides an address book update method, which can quickly add contact information to the address book of the mobile terminal, and improve the update efficiency of the address book.
为实现上述目的,本发明实施例采用以下技术方案:In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
一种通讯录的更新方法,包括如下步骤:A method for updating an address book, comprising the steps of:
当第一移动终端满足上传联系人信息的条件时,将所述第一移动终端的位置信息以及联系人信息上传至服务器;When the first mobile terminal meets the conditions for uploading contact information, upload the location information and contact information of the first mobile terminal to the server;
接收所述服务器根据所述位置信息反馈的满足设定条件的第二移动终端上传的联系人信息;receiving the contact information uploaded by the second mobile terminal that satisfies the set conditions fed back by the server according to the location information;
根据所述服务器反馈的所述第二移动终端上传的联系人信息更新所述第一移动终端的通讯录。updating the address book of the first mobile terminal according to the contact information uploaded by the second mobile terminal fed back by the server.
一种通讯录的更新方法,包括如下步骤:A method for updating an address book, comprising the steps of:
服务器接收各个移动终端上传的位置信息和联系人信息,所述移动终端包括第一移动终端和第二移动终端;The server receives location information and contact information uploaded by each mobile terminal, where the mobile terminals include a first mobile terminal and a second mobile terminal;
所述服务器根据所述位置信息搜索满足设定条件的所述第二移动终端上传的联系人信息;The server searches for contact information uploaded by the second mobile terminal that satisfies a set condition according to the location information;
所述服务器将满足设定条件的所述第二移动终端上传的联系人信息反馈给所述第一移动终端。The server feeds back the contact information uploaded by the second mobile terminal meeting the set condition to the first mobile terminal.
本发明还提供一种通讯录的更新装置,包括:The present invention also provides an address book updating device, comprising:
上传模块,用于在第一移动终端满足上传联系人信息的条件时,将第一移动终端的位置信息以及联系人信息上传至服务器;An upload module, configured to upload the location information and contact information of the first mobile terminal to the server when the first mobile terminal meets the conditions for uploading contact information;
第一接收模块,用于接收服务器根据所述位置信息反馈的满足设定条件的第二移动终端上传的联系人信息;The first receiving module is used to receive the contact information uploaded by the second mobile terminal that meets the set conditions and is fed back by the server according to the location information;
更新模块,用于根据所述服务器反馈的所述第二移动终端上传的联系人信息更新所述第一移动终端的通讯录。An update module, configured to update the address book of the first mobile terminal according to the contact information uploaded by the second mobile terminal fed back by the server.
一种通讯录的更新装置,包括:A device for updating an address book, comprising:
第三接收模块,用于接收各个移动终端上传的位置信息和联系人信息,所述移动终端包括第一移动终端和第二移动终端;A third receiving module, configured to receive location information and contact information uploaded by each mobile terminal, where the mobile terminals include a first mobile terminal and a second mobile terminal;
搜索模块,用于根据所述位置信息搜索满足设定条件的所述第二移动终端上传的联系人信息;A search module, configured to search for contact information uploaded by the second mobile terminal that satisfies set conditions according to the location information;
反馈模块,用于将满足设定条件的所述第二移动终端上传的联系人信息反馈给所述第一移动终端。A feedback module, configured to feed back the contact information uploaded by the second mobile terminal meeting the set condition to the first mobile terminal.
本发明还提供一种通讯录的更新系统,包括上述的通讯录的更新装置。The present invention also provides an address book updating system, including the above-mentioned address book updating device.
根据本发明实施例所提供的通讯录的更新方法、装置及系统,用户通过摇动移动终端或其他快捷操作方式可以触发移动终端上传联系人信息至服务器,服务器能接收各个服务器上传的联系人信息,并能快速搜索到满足要求的联系人信息并发送给相应的移动终端,移动终端根据服务器反馈的联系人信息更新通讯录,从而实现了通讯录中联系人地快速添加,无需用户手动逐项输入,提高了通讯录的更新效率,方便用户相互之间交换联系人信息,满足用户在同学聚会、商务会议等短时需要添加多个联系人信息的场合的使用要求,进一步提高了用户体验。According to the method, device and system for updating the address book provided by the embodiments of the present invention, the user can trigger the mobile terminal to upload the contact information to the server by shaking the mobile terminal or other shortcut operations, and the server can receive the contact information uploaded by each server. And can quickly search for the contact information that meets the requirements and send it to the corresponding mobile terminal. The mobile terminal updates the address book according to the contact information fed back by the server, thus realizing the rapid addition of contacts in the address book without the need for the user to manually input item by item. , improve the update efficiency of the address book, facilitate users to exchange contact information with each other, meet the user's requirements for short-term occasions such as class reunions and business meetings where multiple contact information needs to be added, and further improve user experience.
附图说明Description of drawings
图1是本发明的通信场景示意图;Fig. 1 is a schematic diagram of a communication scene of the present invention;
图2是本发明的通讯录的更新方法在实施例一中的流程示意图;Fig. 2 is a schematic flow chart of the method for updating the address book in Embodiment 1 of the present invention;
图3是本发明实施例一中判断第一移动终端A1是否满足上传联系人信息的条件的流程示意图;FIG. 3 is a schematic flow diagram of judging whether the first mobile terminal A1 satisfies the conditions for uploading contact information in Embodiment 1 of the present invention;
图4为本发明实施例一中根据服务器反馈的联系人信息更新第一移动终端的通讯录的流程示意图;4 is a schematic flow diagram of updating the address book of the first mobile terminal according to the contact information fed back by the server in Embodiment 1 of the present invention;
图5是本发明的通讯录的更新方法在实施例二中的流程示意图;Fig. 5 is a schematic flow chart of the method for updating the address book in Embodiment 2 of the present invention;
图6为本发明实施例二中服务器搜索满足设定条件的第二移动终端上传的联系人信息的流程示意图;6 is a schematic flow diagram of the server searching for the contact information uploaded by the second mobile terminal meeting the set conditions in Embodiment 2 of the present invention;
图7是本发明的通讯录的更新方法在实施例三中的流程示意图;FIG. 7 is a schematic flowchart of the method for updating the address book in Embodiment 3 of the present invention;
图8是本发明的通讯录的更新装置在实施例四中的结构示意图;FIG. 8 is a schematic structural diagram of the device for updating the address book in Embodiment 4 of the present invention;
图9是本发明的通讯录的更新装置在实施例五中的结构示意图;FIG. 9 is a schematic structural diagram of the device for updating the address book in Embodiment 5 of the present invention;
图10是本发明的通讯录的更新系统在实施例六中的结构示意图;FIG. 10 is a schematic structural diagram of the address book updating system in Embodiment 6 of the present invention;
具体实施方式detailed description
下面将结合较佳实施例及附图对本发明的内容作进一步详细描述。显然,下文所描述的实施例仅用于解释本发明,而非对本发明的限定。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。应当理解的是,尽管在下文中采用术语“第一”、“第二”等来描述各种信息,但这些信息不应限于这些术语,这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本发明范围的情况下,“第一”信息也可以被称为“第二”信息,类似的,“第二”信息也可以被称为“第一”信息。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部内容。The content of the present invention will be further described in detail below in conjunction with preferred embodiments and accompanying drawings. Apparently, the embodiments described below are only used to explain the present invention, not to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention. It should be understood that although the terms "first", "second", etc. are used hereinafter to describe various information, these information should not be limited to these terms, and these terms are only used to distinguish information of the same type from each other. For example, "first" information may also be referred to as "second" information without departing from the scope of the present invention, and similarly, "second" information may also be referred to as "first" information. In addition, it should be noted that, for the convenience of description, only parts related to the present invention are shown in the drawings but not all content.
图1是本发明的通信场景示意图,第一移动终端A1以及一个或多个第二移动终端A2均与服务器B通信。图2是本发明的通讯录的更新方法在实施例一中的流程示意图,本实施例一中的通讯录的更新方法是以第一移动终端A1的处理过程为例来进行说明的。如图2所示,本实施例一中的通讯录的更新方法包括以下步骤:FIG. 1 is a schematic diagram of a communication scene in the present invention, where a first mobile terminal A1 and one or more second mobile terminals A2 communicate with a server B. As shown in FIG. FIG. 2 is a schematic flowchart of the method for updating the address book in Embodiment 1 of the present invention. The method for updating the address book in Embodiment 1 is described by taking the processing process of the first mobile terminal A1 as an example. As shown in Figure 2, the method for updating the address book in the first embodiment includes the following steps:
步骤S110,当第一移动终端满足上传联系人信息的条件时,将所述第一移动终端的位置信息以及联系人信息上传至服务器;Step S110, when the first mobile terminal meets the conditions for uploading contact information, upload the location information and contact information of the first mobile terminal to the server;
在本实施例中,参照图1所示,第一移动终端为A1,第二移动终端为A2,其中第二移动终端A2可以为多个。每一个移动终端均可配置上传联系人信息的条件,当对移动终端实施检测且发现移动终端满足上传联系人信息的条件时,移动终端将位置信息以及联系人信息上传到服务器B。其中位置信息可以是移动终端的地理坐标,而联系人信息可以由用户预先设置并存储在在移动终端中,联系人信息可包括移动终端机主或其他联系人的姓名、手机号码、生日、住址等信息中的一个或多个,当然也可以根据用户需求来设置其他信息。In this embodiment, as shown in FIG. 1 , the first mobile terminal is A1, and the second mobile terminal is A2, where there may be multiple second mobile terminals A2. Each mobile terminal can configure the conditions for uploading contact information. When the mobile terminal is detected and found to meet the conditions for uploading contact information, the mobile terminal uploads the location information and contact information to the server B. The location information can be the geographic coordinates of the mobile terminal, and the contact information can be preset and stored in the mobile terminal by the user. The contact information can include the name, mobile phone number, birthday, and address of the mobile terminal owner or other contacts. One or more of such information, of course, other information can also be set according to user needs.
当第一移动终端A1满足上传联系人信息的条件时,将第一移动终端A1的位置信息和联系人信息上传至服务器B,以使服务器B根据位置信息搜索到满足设定条件的第二移动终端A2,并将满足设定条件的第二移动终端A2上传的联系人信息反馈给第一移动终端A1。When the first mobile terminal A1 meets the conditions for uploading contact information, upload the location information and contact information of the first mobile terminal A1 to the server B, so that the server B can search for the second mobile terminal that meets the set conditions according to the location information. terminal A2, and feed back the contact information uploaded by the second mobile terminal A2 meeting the set conditions to the first mobile terminal A1.
在一种可选的实施方式中,参照图3所示,可采用以下方法来判断第一移动终端A1是否满足上传联系人信息的条件:In an optional implementation manner, as shown in FIG. 3 , the following method may be used to determine whether the first mobile terminal A1 satisfies the conditions for uploading contact information:
步骤S111,当所述第一移动终端满足启动晃动检测的条件时,检测所述第一移动终端的晃动信息;Step S111, when the first mobile terminal meets the conditions for starting shaking detection, detect the shaking information of the first mobile terminal;
步骤S112,判断所述晃动信息是否满足预设判定条件;若是,则进入步骤S113;若否,则返回步骤S111;Step S112, judging whether the shake information satisfies the preset judging condition; if yes, go to step S113; if not, go back to step S111;
步骤S113,判定所述第一移动终端满足上传联系人信息的条件。Step S113, determining that the first mobile terminal satisfies a condition for uploading contact information.
具体的,晃动信息可以通过第一移动终端A1内置的三轴加速度传感器来检测。当用户需要在第一移动终端A1的通讯录中添加联系人时,例如进入到通讯录首页,或者进入到通讯录中的添加界面,又或者用户手动输入其他触发指令,此时判定第一移动终端A1满足启动晃动检测的条件,可通过第一移动终端A1中内置的三轴加速度传感器来检测晃动信息。然后判断晃动信息是否满足预设判定条件,例如判断移动终端的晃动幅度是否满足要求,或者判断移动终端的晃动速度是否满足要求等。如果检测到的晃动信息满足预设判定条件,则判定第一移动终端A1满足上传联系人信息的条件,第一移动终端A1将上传位置信息和联系人信息至服务器B。Specifically, the shake information may be detected by a built-in three-axis acceleration sensor of the first mobile terminal A1. When the user needs to add a contact in the address book of the first mobile terminal A1, for example, enters the home page of the address book, or enters the adding interface in the address book, or the user manually enters other trigger instructions, at this time it is determined that the first mobile terminal The terminal A1 satisfies the conditions for starting shaking detection, and can detect shaking information through the built-in three-axis acceleration sensor in the first mobile terminal A1. Then it is judged whether the shaking information satisfies the preset judgment condition, for example, whether the shaking amplitude of the mobile terminal meets the requirements, or whether the shaking speed of the mobile terminal meets the requirements, and the like. If the detected shaking information satisfies the preset determination condition, it is determined that the first mobile terminal A1 satisfies the condition for uploading contact information, and the first mobile terminal A1 will upload the location information and contact information to the server B.
通过以上方法,用户只需摇动第一移动终端A1,便可以将第一移动终端A1的位置信息和联系人信息上传到服务器B,操作十分方便。Through the above method, the user only needs to shake the first mobile terminal A1 to upload the location information and contact information of the first mobile terminal A1 to the server B, and the operation is very convenient.
在一种可选的实施方式中,当第一移动终端A1满足上传联系人信息的条件时,第一移动终端A1还可以将时间信息上传至服务器B,以使服务器B根据位置信息和时间信息向第一移动终端A1反馈满足设定条件的第二移动终端A2上传的联系人信息。其中所述的时间信息可以对应于移动终端上传联系人信息和位置信息的时间点,为了消除网络延迟的影响,所述的时间信息也可以对应于移动终端满足上传联系人信息的条件的时间点。例如,在t1时刻判定第一移动终端A1满足上传联系人信息的条件,在t2时刻第一移动终端A1上传联系人信息和位置信息,那么第一移动终端A1可以将时间信息t1或t2上传到服务器。In an optional implementation manner, when the first mobile terminal A1 meets the conditions for uploading contact information, the first mobile terminal A1 can also upload the time information to the server B, so that the server B can The contact information uploaded by the second mobile terminal A2 meeting the set condition is fed back to the first mobile terminal A1. Wherein the time information may correspond to the time point when the mobile terminal uploads contact information and location information, in order to eliminate the impact of network delay, the time information may also correspond to the time point when the mobile terminal meets the conditions for uploading contact information . For example, if it is determined at time t1 that the first mobile terminal A1 meets the conditions for uploading contact information, and at time t2 the first mobile terminal A1 uploads contact information and location information, then the first mobile terminal A1 can upload time information t1 or t2 to server.
步骤S120,接收所述服务器根据所述位置信息反馈的满足设定条件的第二移动终端上传的联系人信息;Step S120, receiving the contact information uploaded by the second mobile terminal that satisfies the set conditions fed back by the server according to the location information;
服务器B接收到第一移动终端A1上传的位置信息和联系人信息后,根据位置信息进行搜索,判断是否存在满足设定条件的第二移动终端A2上传的位置信息。例如,服务器B根据位置信息搜索与第一移动终端的距离在一定范围内的第二移动终端A2,然后再将该类第二移动终端A2上传的联系人信息反馈给第一移动终端A1。After receiving the location information and contact information uploaded by the first mobile terminal A1, the server B performs a search based on the location information to determine whether there is location information uploaded by the second mobile terminal A2 that meets the set conditions. For example, the server B searches for a second mobile terminal A2 within a certain distance from the first mobile terminal according to the location information, and then feeds back the contact information uploaded by the second mobile terminal A2 of this type to the first mobile terminal A1.
如果移动终端在向服务器B上传位置信息和联系人时,还上传了时间信息,则服务器B根据位置信息和时间信息来搜索满足设定条件的第二移动终端A2上传的联系人信息,例如服务器B根据位置信息和时间信息搜索与第一移动终端的距离在一定范围内且上传时间间隔均在一定范围内的第二移动终端A2,然后再将该类第二移动终端A2上传的联系人信息反馈给第一移动终端A1。If the mobile terminal also uploads time information when uploading location information and contacts to server B, then server B searches for the contact information uploaded by the second mobile terminal A2 that meets the set conditions according to the location information and time information, such as server B B searches the second mobile terminal A2 whose distance from the first mobile terminal is within a certain range and the upload time interval is within a certain range according to the location information and time information, and then uploads the contact information of this type of second mobile terminal A2 Feedback to the first mobile terminal A1.
步骤S130,根据所述服务器反馈的所述第二移动终端上传的联系人信息更新所述第一移动终端的通讯录。Step S130, updating the address book of the first mobile terminal according to the contact information uploaded by the second mobile terminal fed back by the server.
第一移动终端A1接收到服务器B反馈的一个或多个第二移动终端A2上传的联系人信息后,根据该联系人信息更新通讯录,从而实现在通讯录中自动添加联系人,无需用户手动输入,显著提高了效率。After the first mobile terminal A1 receives the contact information uploaded by one or more second mobile terminals A2 fed back by the server B, it updates the address book according to the contact information, so as to automatically add contacts in the address book without the user manually input, significantly improving efficiency.
在一种可选的实施方式中,参照图4所示,根据服务器反馈的联系人信息更新第一移动终端A1的通讯录的过程包括:In an optional implementation manner, as shown in FIG. 4 , the process of updating the address book of the first mobile terminal A1 according to the contact information fed back by the server includes:
步骤S131,接收用户输入的选择指令;Step S131, receiving a selection instruction input by the user;
步骤S132,根据所述选择指令在所述服务器反馈的所述第二移动终端上传的联系人信息中,选择相应的联系人信息更新所述第一移动终端的通讯录。Step S132, selecting corresponding contact information from the contact information uploaded by the second mobile terminal fed back by the server according to the selection instruction to update the address book of the first mobile terminal.
当第一移动终端A1接收到服务器B反馈的满足设定条件的第二移动终端A2上传的联系人信息后,针对每项联系人信息均给予用户提示,例如将各项联系人信息展现在第一移动终端A1的显示界面上,然后依据用户输入的选择指令,自动选择相应的联系人信息添加至通讯录中,实现通讯录的快速更新。When the first mobile terminal A1 receives the contact information uploaded by the second mobile terminal A2 that meets the set conditions fed back by the server B, it will give the user a prompt for each contact information, for example, displaying each contact information in the On the display interface of the mobile terminal A1, according to the selection instruction input by the user, the corresponding contact information is automatically selected and added to the address book, so as to realize the rapid update of the address book.
根据本实施例一中的通讯录的更新方法,通过摇动移动终端或其他快捷操作方式可以触发移动终端上传联系人信息至服务器,服务器快速找到满足要求的其他联系人信息后发送给移动终端,移动终端根据服务器反馈的联系人信息更新通讯录,从而实现了联系人地快速添加,无需用户手动逐项输入,提高了通讯录的更新效率,方便用户相互之间交换联系人信息,满足用户在同学聚会、商务会议等短时需要添加多个联系人信息的场合的使用要求,提高了用户体验。According to the method for updating the address book in the first embodiment, the mobile terminal can be triggered to upload contact information to the server by shaking the mobile terminal or other shortcut operation methods, and the server can quickly find other contact information that meets the requirements and send it to the mobile terminal. The terminal updates the address book according to the contact information fed back by the server, so as to realize the rapid addition of contacts, without the need for users to manually input item by item, which improves the update efficiency of the address book, facilitates the exchange of contact information between users, and satisfies the needs of users in classmates. Meetings, business meetings, and other occasions that need to add multiple contact information in a short period of time, improve user experience.
图5是本发明的通讯录的更新方法在实施例二中的流程示意图,本实施例二中的通讯录的更新方法是以服务器B的处理过程为例来进行说明的。如图5所示,本实施例二中的通讯录的更新方法包括以下步骤:FIG. 5 is a schematic flowchart of the method for updating the address book in the second embodiment of the present invention. The method for updating the address book in the second embodiment is described by taking the processing process of the server B as an example. As shown in Figure 5, the method for updating the address book in the second embodiment includes the following steps:
步骤S210,服务器接收各个移动终端上传的位置信息和联系人信息,所述移动终端包括第一移动终端和第二移动终端;Step S210, the server receives the location information and contact information uploaded by each mobile terminal, and the mobile terminals include the first mobile terminal and the second mobile terminal;
步骤S220,服务器根据所述位置信息搜索满足设定条件的所述第二移动终端上传的联系人信息;Step S220, the server searches the contact information uploaded by the second mobile terminal meeting the set condition according to the location information;
步骤S230,服务器将满足设定条件的所述第二移动终端上传的联系人信息反馈给所述第一移动终端。Step S230, the server feeds back the contact information uploaded by the second mobile terminal meeting the set condition to the first mobile terminal.
具体的,参照图1所示,第一移动终端为A1,第二移动终端为A2,其中第二移动终端A2可以是多个。移动终端上传的位置信息可以是移动终端的地理坐标,而联系人信息可以由用户预先设置并存储在在移动终端中,联系人信息可包括移动终端机主或其他联系人的姓名、手机号码、生日、住址等信息中的一个或多个,当然也可以根据用户需求来设置其他信息。Specifically, as shown in FIG. 1 , the first mobile terminal is A1, and the second mobile terminal is A2, where there may be multiple second mobile terminals A2. The location information uploaded by the mobile terminal can be the geographical coordinates of the mobile terminal, and the contact information can be preset by the user and stored in the mobile terminal. The contact information can include the name of the mobile terminal owner or other contacts, mobile phone number, One or more of information such as birthday, address, etc. Of course, other information can also be set according to user needs.
服务器B在接收到各个移动终端上传的位置信息和联系人信息之后,依据位置信息进行搜索,判断是否存在满足设定条件的第二移动终端A2,例如,服务器B根据第一移动终端A1上传的位置信息以及各个第二移动终端A2上传的位置信息分别进行计算,得到各个第二移动终端A2与第一移动终端A1的距离,然后只要在该距离小于距离阈值,则确定相应的第二移动终端A2为满足设定条件的第二移动终端A2,据此服务器B可以搜索到满足设定条件的第二移动终端A2上传的联系人信息,并将搜索到的联系人信息反馈给第一移动终端A1。After receiving the location information and contact information uploaded by each mobile terminal, the server B searches according to the location information to determine whether there is a second mobile terminal A2 that meets the set conditions. The location information and the location information uploaded by each second mobile terminal A2 are calculated separately to obtain the distance between each second mobile terminal A2 and the first mobile terminal A1, and then as long as the distance is less than the distance threshold, the corresponding second mobile terminal A2 is determined. A2 is the second mobile terminal A2 that satisfies the set conditions, according to which the server B can search for the contact information uploaded by the second mobile terminal A2 that meets the set conditions, and feed back the searched contact information to the first mobile terminal A1.
在一种可选的实施方式中,服务器B也可以结合位置信息和其他信息来搜索相应的第二移动终端A2。例如,服务器B在接收各个移动终端上传的位置信息和联系人信息时,记录各个移动终端的上传时间,然后服务器B根据移动终端上传的位置信息和上传时间进行搜索,判断是否存在满足设定条件的第二移动终端A2。例如服务器B根据第一移动终端A1上传的位置信息和各个第二移动终端A2上传的位置信息计算各个第二移动终端A2与第一移动终端A1的距离,并根据服务器B记录的第一移动终端A1的上传时间和各个第二移动终端A2的上传时间计算出各个第二移动终端A2和第一移动终端A1的上传时间间隔,然后只要某一第二移动终端A2与第一移动终端A1的距离小于距离阈值,且该第二移动终端A2与第一移动终端A1的上传时间间隔小于时间间隔阈值,则确定该第二移动终端A2为满足设定条件的第二移动终端,故服务器B将此第二移动终端A2上传的联系人信息反馈给第一移动终端A1。In an optional implementation manner, the server B may also combine location information and other information to search for the corresponding second mobile terminal A2. For example, when server B receives the location information and contact information uploaded by each mobile terminal, it records the upload time of each mobile terminal, and then server B searches according to the location information and upload time uploaded by the mobile terminal to determine whether there is an of the second mobile terminal A2. For example, server B calculates the distance between each second mobile terminal A2 and the first mobile terminal A1 according to the location information uploaded by the first mobile terminal A1 and the location information uploaded by each second mobile terminal A2, and calculates the distance between each second mobile terminal A2 and the first mobile terminal A1 according to the distance recorded by the server B. The upload time of A1 and the upload time of each second mobile terminal A2 calculate the upload time interval between each second mobile terminal A2 and the first mobile terminal A1, and then as long as the distance between a certain second mobile terminal A2 and the first mobile terminal A1 is less than the distance threshold, and the upload time interval between the second mobile terminal A2 and the first mobile terminal A1 is less than the time interval threshold, then it is determined that the second mobile terminal A2 is the second mobile terminal that meets the set conditions, so the server B sends this The contact information uploaded by the second mobile terminal A2 is fed back to the first mobile terminal A1.
在一种可选的实施方式中,若移动终端在上传位置信息和联系人信息时,还向服务器B上传时间信息,时间信息可以对应于移动终端上传联系人信息和位置信息的时间点,为了消除网络延迟的影响,时间信息也可以对应于移动终端满足上传联系人信息的条件的时间点。服务器B接收各个移动终端上传的时间信息,然后依据移动终端上传的位置信息和时间信息,搜索满足设定条件的第二移动终端A2上传的联系人信息。可选的,具体搜索过程可参照图6所示,包括以下步骤:In an optional embodiment, if the mobile terminal also uploads time information to the server B when uploading the location information and contact information, the time information may correspond to the time point when the mobile terminal uploads the contact information and location information, for To eliminate the influence of network delay, the time information may also correspond to the time point when the mobile terminal satisfies the condition for uploading contact information. The server B receives the time information uploaded by each mobile terminal, and then searches the contact information uploaded by the second mobile terminal A2 satisfying the set conditions according to the location information and time information uploaded by the mobile terminals. Optionally, the specific search process may refer to that shown in Figure 6, including the following steps:
步骤S221,服务器根据所述第一移动终端上传的位置信息和所述第二移动终端上传的位置信息计算所述第二移动终端与所述第一移动终端的距离;Step S221, the server calculates the distance between the second mobile terminal and the first mobile terminal according to the location information uploaded by the first mobile terminal and the location information uploaded by the second mobile terminal;
步骤S222,服务器根据所述第一移动终端上传的时间信息和所述第二移动终端上传的时间信息计算所述第二移动终端和所述第一移动终端的上传时间间隔;Step S222, the server calculates the upload time interval between the second mobile terminal and the first mobile terminal according to the time information uploaded by the first mobile terminal and the time information uploaded by the second mobile terminal;
步骤S223,服务器根据所述距离和距离阈值,以及所述上传时间间隔和时间间隔阈值,搜索满足设定条件的所述第二移动终端上传的联系人信息。In step S223, the server searches for the contact information uploaded by the second mobile terminal that satisfies the set condition according to the distance and the distance threshold, as well as the upload time interval and the time interval threshold.
服务器B根据第一移动终端A1上传的位置信息和各个第二移动终端A2上传的位置信息分别计算各个第二移动终端A2与第一移动终端A1的距离,并根据第一移动终端A1上传的时间信息和各个第二移动终端A2上传的时间信息计算出各个第二移动终端A2和第一移动终端A1的上传时间间隔,然后服务器B根据计算出的距离和距离阈值,以及计算出的上传时间间隔和时间间隔阈值,搜索满足设定条件的第二移动终端,即当某个第二移动终端A2与第一移动终端A1的距离小于距离阈值,且该第二移动终端A2与第一移动终端A1的上传时间间隔小于时间间隔阈值,则确定该第二移动终端A2为满足设定条件的第二移动终端,故服务器B将此第二移动终端A2上传的联系人信息反馈给第一移动终端A1。The server B calculates the distance between each second mobile terminal A2 and the first mobile terminal A1 according to the location information uploaded by the first mobile terminal A1 and the location information uploaded by each second mobile terminal A2, and calculates the distance between each second mobile terminal A2 and the first mobile terminal A1 according to the time uploaded by the first mobile terminal A1 information and the time information uploaded by each second mobile terminal A2 to calculate the upload time interval between each second mobile terminal A2 and the first mobile terminal A1, and then the server B according to the calculated distance and distance threshold, and the calculated upload time interval and the time interval threshold to search for a second mobile terminal that meets the set conditions, that is, when the distance between a second mobile terminal A2 and the first mobile terminal A1 is less than the distance threshold, and the second mobile terminal A2 and the first mobile terminal A1 If the upload time interval is less than the time interval threshold, it is determined that the second mobile terminal A2 is a second mobile terminal meeting the set conditions, so the server B feeds back the contact information uploaded by the second mobile terminal A2 to the first mobile terminal A1 .
在一种可选的实施方式中,服务器B还可以根据预先设置的搜索时限和移动终端上传的位置信息来进行搜索。具体的,服务器B在接收到移动终端上传的位置信息和联系人信息后,在预先设置的搜索时限内根据位置信息搜索满足设定条件的第二移动终端上传的联系人信息。举例而言,假设搜索时限为5分钟,当服务器B在接收到任意一个移动终端上传的位置信息和联系人信息后,立即开启一个设定时间为5分钟的定时器,在5分钟内服务器B可以持续接收移动终端上传的位置信息和联系人信息,并根据位置信息计算各个第二移动终端A2与第一移动终端A1的距离,且将搜索到的与第一移动终端A1的距离小于距离阈值的第二移动终端A2作为满足设定条件的第二移动终端A2,当定时器的设定时间到达时,服务器B停止搜索,并将搜索到的满足设定条件的第二移动终端A2上传的联系人信息反馈给第一移动终端A1。In an optional implementation manner, the server B may also search according to the preset search time limit and the location information uploaded by the mobile terminal. Specifically, after receiving the location information and contact information uploaded by the mobile terminal, the server B searches the contact information uploaded by the second mobile terminal meeting the set conditions according to the location information within a preset search time limit. For example, suppose the search time limit is 5 minutes. When server B receives the location information and contact information uploaded by any mobile terminal, it immediately starts a timer with a set time of 5 minutes. Within 5 minutes, server B It can continuously receive the location information and contact information uploaded by the mobile terminal, and calculate the distance between each second mobile terminal A2 and the first mobile terminal A1 according to the location information, and make the searched distance from the first mobile terminal A1 smaller than the distance threshold As the second mobile terminal A2 that satisfies the set conditions, when the set time of the timer arrives, the server B stops searching, and uploads the searched second mobile terminal A2 that meets the set conditions The contact information is fed back to the first mobile terminal A1.
根据本实施例二中的通讯录的更新方法,服务器在接收各个移动终端上传的联系人信息后,能快速找到满足要求的其他联系人信息并发送给相应的移动终端,以使移动终端根据服务器反馈的联系人信息更新通讯录,从而方便了用户相互之间添加联系人信息,无需手动逐项输入,提高了通讯录的更新效率,满足用户在同学聚会、商务会议等短时需要添加多个联系人信息的场合的使用要求,提高了用户体验。According to the method for updating the address book in the second embodiment, after receiving the contact information uploaded by each mobile terminal, the server can quickly find other contact information that meets the requirements and send it to the corresponding mobile terminal, so that the mobile terminal will The feedback contact information updates the address book, which makes it convenient for users to add contact information to each other without manual input item by item, which improves the update efficiency of the address book and meets the short-term needs of users to add multiple contacts in class reunions, business meetings, etc. The use of contact information is required by the occasion, which improves the user experience.
图7是本发明的通讯录的更新方法在实施例三中的流程示意图,本实施例三中的通讯录的更新方法是结合各个移动终端以及服务器的处理过程来进行说明的。如图7所示,本实施例三中的通讯录的更新方法包括以下步骤:FIG. 7 is a schematic flow chart of the method for updating an address book in Embodiment 3 of the present invention. The method for updating an address book in Embodiment 3 is described in conjunction with the processing procedures of each mobile terminal and server. As shown in Figure 7, the method for updating the address book in the third embodiment includes the following steps:
步骤S310,当移动终端满足上传联系人信息的条件时,将移动终端的位置信息以及联系人信息上传至服务器;所述移动终端包括第一移动终端和第二移动终端;Step S310, when the mobile terminal meets the conditions for uploading contact information, upload the location information and contact information of the mobile terminal to the server; the mobile terminals include a first mobile terminal and a second mobile terminal;
步骤S320,服务器接收各个移动终端上传的位置信息和联系人信息,并根据各个移动终端上传的位置信息搜索满足设定条件的第二移动终端上传的联系人信息;Step S320, the server receives the location information and contact information uploaded by each mobile terminal, and searches for the contact information uploaded by the second mobile terminal meeting the set conditions according to the location information uploaded by each mobile terminal;
步骤S330,服务器将满足设定条件的第二移动终端上传的联系人信息反馈给所述第一移动终端;Step S330, the server feeds back the contact information uploaded by the second mobile terminal meeting the set conditions to the first mobile terminal;
步骤S340,第一移动终端接收所述服务器根据位置信息反馈的满足设定条件的第二移动终端上传的联系人信息,并根据所述服务器反馈的所述第二移动终端上传的联系人信息更新所述第一移动终端的通讯录。Step S340, the first mobile terminal receives the contact information uploaded by the second mobile terminal that meets the set conditions fed back by the server according to the location information, and updates the contact information according to the contact information uploaded by the second mobile terminal fed back by the server The address book of the first mobile terminal.
在本实施例三中,参照图1所示,第一移动终端为A1,第二移动终端为A2,其中第二移动终端A2可以为多个。每一个移动终端均可配置上传联系人信息的条件,当对移动终端实施检测且发现移动终端满足上传联系人信息的条件时,移动终端将位置信息以及联系人信息上传到服务器B。其中位置信息可以是移动终端的地理坐标,而联系人信息可以由用户预先设置并存储在在移动终端中,联系人信息可包括移动终端机主或其他联系人的姓名、手机号码、生日、住址等信息中的一个或多个,当然也可以根据用户需求来设置其他信息。In the third embodiment, referring to FIG. 1 , the first mobile terminal is A1, and the second mobile terminal is A2, where there may be multiple second mobile terminals A2. Each mobile terminal can configure the conditions for uploading contact information. When the mobile terminal is detected and found to meet the conditions for uploading contact information, the mobile terminal uploads the location information and contact information to the server B. The location information can be the geographic coordinates of the mobile terminal, and the contact information can be preset and stored in the mobile terminal by the user. The contact information can include the name, mobile phone number, birthday, and address of the mobile terminal owner or other contacts. One or more of such information, of course, other information can also be set according to user needs.
服务器B在接收到各个移动终端上传的位置信息和联系人信息之后,依据位置信息进行搜索,判断是否存在满足设定条件的第二移动终端A2,例如,服务器B根据第一移动终端A1上传的位置信息以及各个第二移动终端A2上传的位置信息分别进行计算,得到各个第二移动终端A2与第一移动终端A1的距离,然后只要在该距离小于距离阈值,则确定相应的第二移动终端A2为满足设定条件的第二移动终端A2,据此服务器B可以搜索到满足设定条件的第二移动终端A2上传的联系人信息,并将搜索到的联系人信息反馈给第一移动终端A1。After receiving the location information and contact information uploaded by each mobile terminal, the server B searches according to the location information to determine whether there is a second mobile terminal A2 that meets the set conditions. The location information and the location information uploaded by each second mobile terminal A2 are calculated separately to obtain the distance between each second mobile terminal A2 and the first mobile terminal A1, and then as long as the distance is less than the distance threshold, the corresponding second mobile terminal A2 is determined. A2 is the second mobile terminal A2 that satisfies the set conditions, according to which the server B can search for the contact information uploaded by the second mobile terminal A2 that meets the set conditions, and feed back the searched contact information to the first mobile terminal A1.
第一移动终端A1接收到服务器B反馈的一个或多个第二移动终端A2上传的联系人信息后,根据该联系人信息更新通讯录,从而实现在通讯录中自动添加联系人,无需用户手动输入,显著提高了效率。After the first mobile terminal A1 receives the contact information uploaded by one or more second mobile terminals A2 fed back by the server B, it updates the address book according to the contact information, so as to automatically add contacts in the address book without the user manually input, significantly improving efficiency.
对于判断各个移动终端判断是否满足上传联系人信息的条件的方法、服务器B搜索满足设定条件的第二移动终端的方法以及其他可增加或变更的方法步骤可参照实施例一、实施例二中的描述,此处不再予以赘述。For the method of judging whether each mobile terminal meets the conditions for uploading contact information, the method for server B to search for a second mobile terminal that meets the set conditions, and other method steps that can be added or changed, please refer to Embodiment 1 and Embodiment 2. description and will not be repeated here.
根据本实施例三的通讯录的更新方法,用户通过摇动移动终端或其他快捷操作方式可以触发移动终端上传联系人信息至服务器,而服务器在获得各个移动终端上传的联系人信息后能快速找到满足要求的联系人信息并发送给相应的移动终端,移动终端根据服务器反馈的联系人信息能快速更新通讯录,从而实现了联系人地快速添加,无需用户手动逐项输入,提高了通讯录的更新效率,满足用户在同学聚会、商务会议等短时需要添加多个联系人信息的场合的使用要求,提高了用户体验。According to the method for updating the address book in the third embodiment, the user can trigger the mobile terminal to upload the contact information to the server by shaking the mobile terminal or other shortcut operation methods, and the server can quickly find the contact information that meets the requirements after obtaining the contact information uploaded by each mobile terminal. The required contact information is sent to the corresponding mobile terminal, and the mobile terminal can quickly update the address book according to the contact information fed back by the server, thereby realizing the rapid addition of contacts without the need for the user to manually input item by item, which improves the update of the address book Efficiency, meeting the user's requirements for short-term occasions such as class reunions and business meetings where multiple contact information needs to be added, and improving user experience.
需要说明的是,对于前述的各方法实施例,为了简便描述,将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其它顺序或者同时进行。It should be noted that for the foregoing method embodiments, for the sake of simplicity of description, they are expressed as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because Certain steps may be performed in other orders or simultaneously in accordance with the present invention.
根据上述本发明的通讯录的更新方法,本发明还提供一种通讯录的更新装置,下面结合附图及较佳实施例对本发明的通讯录的更新装置进行详细说明。According to the address book update method of the present invention, the present invention also provides an address book update device. The address book update device of the present invention will be described in detail below with reference to the accompanying drawings and preferred embodiments.
图8为本发明的通讯录的更新装置在实施例四中的结构示意图。如图8所示,该实施例四中的通讯录的更新装置100包括:FIG. 8 is a schematic structural diagram of the device for updating the address book in Embodiment 4 of the present invention. As shown in FIG. 8, the device 100 for updating the address book in the fourth embodiment includes:
上传模块11,用于在第一移动终端满足上传联系人信息的条件时,将第一移动终端的位置信息以及联系人信息上传至服务器;The upload module 11 is used to upload the location information and contact information of the first mobile terminal to the server when the first mobile terminal meets the conditions for uploading contact information;
第一接收模块12,用于接收服务器根据所述位置信息反馈的满足设定条件的第二移动终端上传的联系人信息;The first receiving module 12 is used to receive the contact information uploaded by the second mobile terminal that meets the set conditions fed back by the server according to the location information;
更新模块13,用于根据所述服务器反馈的所述第二移动终端上传的联系人信息更新所述第一移动终端的通讯录。An update module 13, configured to update the address book of the first mobile terminal according to the contact information uploaded by the second mobile terminal fed back by the server.
在本实施例四中,仍参照图1所示,第一移动终端为A1,第二移动终端为A2,其中第二移动终端A2可以为多个。每一个移动终端均可配置本实施例中的通讯录的更新装置100。当对移动终端实施检测且发现移动终端满足上传联系人信息的条件时,上传模块11将移动终端的位置信息以及联系人信息上传到服务器B。其中位置信息可以是移动终端的地理坐标,而联系人信息可以由用户预先设置并存储在在移动终端中,联系人信息可包括移动终端机主或其他联系人的姓名、手机号码、生日、住址等信息中的一个或多个,当然也可以根据用户需求来设置其他信息。In the fourth embodiment, still referring to FIG. 1 , the first mobile terminal is A1, and the second mobile terminal is A2, where there may be multiple second mobile terminals A2. Each mobile terminal can be configured with the device 100 for updating the address book in this embodiment. When detecting the mobile terminal and finding that the mobile terminal satisfies the conditions for uploading contact information, the upload module 11 uploads the location information and contact information of the mobile terminal to the server B. The location information can be the geographic coordinates of the mobile terminal, and the contact information can be preset and stored in the mobile terminal by the user. The contact information can include the name, mobile phone number, birthday, and address of the mobile terminal owner or other contacts. One or more of such information, of course, other information can also be set according to user needs.
当第一移动终端A1满足上传联系人信息的条件时,第一移动终端A1中的上传模块11将第一移动终端A1的位置信息和联系人信息上传至服务器B,以使服务器B根据位置信息搜索到满足设定条件的第二移动终端A2,并将满足设定条件的第二移动终端A2上传的联系人信息反馈给第一移动终端A1。When the first mobile terminal A1 meets the conditions for uploading contact information, the upload module 11 in the first mobile terminal A1 uploads the location information and contact information of the first mobile terminal A1 to the server B, so that the server B The second mobile terminal A2 meeting the set condition is found, and the contact information uploaded by the second mobile terminal A2 meeting the set condition is fed back to the first mobile terminal A1.
可选的,参照图8所示,本实施例四中的通讯录的更新装置100,还包括:Optionally, as shown in FIG. 8 , the apparatus 100 for updating the address book in Embodiment 4 further includes:
晃动检测模块14,用于在所述第一移动终端满足启动晃动检测的条件时,检测所述第一移动终端的晃动信息;A shaking detection module 14, configured to detect shaking information of the first mobile terminal when the first mobile terminal meets the conditions for starting shaking detection;
判断模块15,用于在所述晃动信息满足预设判定条件时,判定所述第一移动终端满足上传联系人信息的条件。A judging module 15, configured to judge that the first mobile terminal satisfies a condition for uploading contact information when the shaking information satisfies a preset judging condition.
具体的,晃动检测模块14可以通过第一移动终端A1内置的三轴加速度传感器来检测第一移动终端A1的晃动信息。当用户需要在第一移动终端A1的通讯录中添加联系人时,例如进入到通讯录首页,或者进入到通讯录中的添加界面,又或者用户手动输入其他触发指令,此时晃动检测模块14判定第一移动终端A1满足启动晃动检测的条件,晃动检测模块14通过第一移动终端A1中内置的三轴加速度传感器检测晃动信息。然后判断模块15判断晃动信息是否满足预设判定条件,例如判断模块15判断移动终端的晃动幅度是否满足要求,或者判断移动终端的晃动速度是否满足要求等。如果判断模块15判定检测到的晃动信息满足预设判定条件,则判断模块15判定第一移动终端A1满足上传联系人信息的条件,上传模块11将第一移动终端A1的位置信息和联系人信息上传至服务器B。Specifically, the shaking detection module 14 may detect shaking information of the first mobile terminal A1 through a built-in three-axis acceleration sensor of the first mobile terminal A1. When the user needs to add a contact in the address book of the first mobile terminal A1, such as entering the home page of the address book, or entering the add interface in the address book, or the user manually inputs other trigger instructions, the shaking detection module 14 It is determined that the first mobile terminal A1 satisfies the conditions for starting shaking detection, and the shaking detection module 14 detects shaking information through the built-in three-axis acceleration sensor in the first mobile terminal A1. Then the judging module 15 judges whether the shaking information meets the preset judging conditions, for example, judging module 15 judges whether the shaking amplitude of the mobile terminal meets the requirements, or judges whether the shaking speed of the mobile terminal meets the requirements, etc. If the judging module 15 judges that the detected shaking information satisfies the preset judging condition, then the judging module 15 judges that the first mobile terminal A1 meets the conditions for uploading contact information, and the uploading module 11 uploads the location information and contact information of the first mobile terminal A1 Upload to server B.
在一种可选的实施方式中,上传模块11在第一移动终端A1满足上传联系人信息的条件时,还将时间信息上传至服务器B,以使服务器B根据位置信息和时间信息向第一移动终端A1反馈满足设定条件的第二移动终端A2上传的联系人信息。其中所述的时间信息可以对应于移动终端上传联系人信息和位置信息的时间点,为了消除网络延迟的影响,所述的时间信息也可以对应于移动终端满足上传联系人信息的条件的时间点。例如,在t1时刻判定第一移动终端A1满足上传联系人信息的条件,在t2时刻第一移动终端A1上传联系人信息和位置信息,那么上传模块11可以将时间信息t1或t2上传到服务器B。In an optional implementation, when the first mobile terminal A1 satisfies the conditions for uploading contact information, the upload module 11 also uploads time information to the server B, so that the server B sends the first contact information to the first mobile terminal A1 according to the location information and time information. The mobile terminal A1 feeds back the contact information uploaded by the second mobile terminal A2 that meets the set condition. Wherein the time information may correspond to the time point when the mobile terminal uploads contact information and location information, in order to eliminate the impact of network delay, the time information may also correspond to the time point when the mobile terminal meets the conditions for uploading contact information . For example, at time t1 it is determined that the first mobile terminal A1 meets the conditions for uploading contact information, and at time t2 the first mobile terminal A1 uploads contact information and location information, then the upload module 11 can upload time information t1 or t2 to the server B .
服务器B接收到上传模块11上传的位置信息和联系人信息后,根据位置信息进行搜索,判断是否存在满足设定条件的第二移动终端A2上传的位置信息。例如,服务器B根据位置信息搜索与第一移动终端的距离在一定范围内的第二移动终端A2,然后再将该类第二移动终端A2上传的联系人信息反馈给第一移动终端A1。如果上传模块11在上传位置信息和联系人时,还上传了时间信息,则服务器B根据位置信息和时间信息来搜索满足设定条件的第二移动终端A2上传的联系人信息,例如服务器B根据位置信息和时间信息搜索与第一移动终端的距离在一定范围内且上传时间间隔均在一定范围内的第二移动终端A2,然后再将该类第二移动终端A2上传的联系人信息反馈给第一移动终端A1。After receiving the location information and contact information uploaded by the uploading module 11, the server B searches according to the location information to determine whether there is location information uploaded by the second mobile terminal A2 that meets the set conditions. For example, the server B searches for a second mobile terminal A2 within a certain distance from the first mobile terminal according to the location information, and then feeds back the contact information uploaded by the second mobile terminal A2 of this type to the first mobile terminal A1. If the upload module 11 also uploads time information when uploading location information and contacts, then server B searches for the contact information uploaded by the second mobile terminal A2 that satisfies the set conditions according to the location information and time information, for example, server B according to The location information and time information search for the second mobile terminal A2 whose distance from the first mobile terminal is within a certain range and the upload time interval is within a certain range, and then the contact information uploaded by the second mobile terminal A2 of this type is fed back to The first mobile terminal A1.
第一移动终端A1中的第一接收模块12接收服务器B反馈的一个或多个联系人信息,然后更新模块13根据服务器B反馈的联系人信息更新通讯录,从而实现在第一移动终端A1的通讯录中自动添加联系人,无需用户手动输入,显著提高了效率The first receiving module 12 in the first mobile terminal A1 receives one or more contact information fed back by the server B, and then the update module 13 updates the address book according to the contact information fed back by the server B, thereby realizing the Contacts are automatically added to the address book without manual input by the user, which significantly improves efficiency
在一种可选的实施方式中,参照图8所示,更新模块13可包括:In an optional implementation manner, as shown in FIG. 8, the update module 13 may include:
第二接收模块131,用于接收用户输入的选择指令;The second receiving module 131 is configured to receive a selection instruction input by a user;
选择更新模块132,用于根据所述选择指令在所述服务器反馈的所述第二移动终端上传的联系人信息中,选择相应的联系人信息更新所述第一移动终端的通讯录。The selecting and updating module 132 is configured to select corresponding contact information from the contact information uploaded by the second mobile terminal fed back by the server according to the selection instruction, and update the address book of the first mobile terminal.
当第一移动终端A1通过第一接收模块12接收到服务器B反馈的满足设定条件的第二移动终端A2上传的联系人信息后,第一移动终端A1可针对每项联系人信息均给予用户提示,例如将各项联系人信息展现在第一移动终端A1的显示界面上,然后通过第二接收模块131接收用户输入的选择指令。选择更新模块132依据用户输入的选择指令自动选择相应的联系人信息添加至通讯录中,实现通讯录的快速更新。After the first mobile terminal A1 receives the contact information uploaded by the second mobile terminal A2 that meets the set conditions fed back by the server B through the first receiving module 12, the first mobile terminal A1 can give the user Prompting, for example, displaying various contact information on the display interface of the first mobile terminal A1, and then receiving a selection instruction input by the user through the second receiving module 131 . The selection and update module 132 automatically selects corresponding contact information and adds it to the address book according to the selection instruction input by the user, so as to realize rapid update of the address book.
本实施例四中的通讯录的更新装置可执行本发明实施例一所提供的通讯录的更新方法,具备执行方法相应的功能模块和有益效果。The device for updating the address book in Embodiment 4 can execute the method for updating the address book provided in Embodiment 1 of the present invention, and has corresponding functional modules and beneficial effects for executing the method.
图9为本发明的通讯录的更新装置在实施例五中的结构示意图。如图9所示,该实施例五中的通讯录的更新装置200可与各个移动终端进行通信。该实施例五中的通讯录的更新装置200包括:FIG. 9 is a schematic structural diagram of the device for updating the address book in Embodiment 5 of the present invention. As shown in FIG. 9 , the device 200 for updating the address book in the fifth embodiment can communicate with each mobile terminal. The device 200 for updating the address book in the fifth embodiment includes:
第三接收模块21,用于接收各个移动终端上传的位置信息和联系人信息,所述移动终端包括第一移动终端和第二移动终端;The third receiving module 21 is configured to receive location information and contact information uploaded by each mobile terminal, where the mobile terminals include a first mobile terminal and a second mobile terminal;
搜索模块22,用于根据所述位置信息搜索满足设定条件的所述第二移动终端上传的联系人信息;A search module 22, configured to search for contact information uploaded by the second mobile terminal that satisfies set conditions according to the location information;
反馈模块23,用于将满足设定条件的所述第二移动终端上传的联系人信息反馈给所述第一移动终端。The feedback module 23 is configured to feed back the contact information uploaded by the second mobile terminal meeting the set condition to the first mobile terminal.
具体的,第一移动终端为A1,第二移动终端为A2,其中第二移动终端A2可以是多个。移动终端上传的位置信息可以是移动终端的地理坐标,而联系人信息可以由用户预先设置并存储在在移动终端中,联系人信息可包括移动终端机主或其他联系人的姓名、手机号码、生日、住址等信息中的一个或多个,当然也可以根据用户需求来设置其他信息。第三接收模块21接收到各个移动终端上传的位置信息和联系人信息,搜索模块22依据位置信息进行搜索,判断是否存在满足设定条件的第二移动终端A2,例如,搜索模块22根据第一移动终端A1上传的位置信息以及各个第二移动终端A2上传的位置信息分别进行计算,得到各个第二移动终端A2与第一移动终端A1的距离,然后只要在该距离小于距离阈值,则搜索模块22确定相应的第二移动终端A2为满足设定条件的第二移动终端A2,据此反馈模块23将搜索到满足设定条件的第二移动终端A2上传的联系人信息反馈给第一移动终端A1。Specifically, the first mobile terminal is A1, and the second mobile terminal is A2, where there may be multiple second mobile terminals A2. The location information uploaded by the mobile terminal can be the geographical coordinates of the mobile terminal, and the contact information can be preset by the user and stored in the mobile terminal. The contact information can include the name of the mobile terminal owner or other contacts, mobile phone number, One or more of information such as birthday, address, etc. Of course, other information can also be set according to user needs. The third receiving module 21 receives the location information and contact information uploaded by each mobile terminal, and the search module 22 searches according to the location information to determine whether there is a second mobile terminal A2 that satisfies the set conditions. For example, the search module 22 searches according to the first The location information uploaded by the mobile terminal A1 and the location information uploaded by each second mobile terminal A2 are calculated separately to obtain the distance between each second mobile terminal A2 and the first mobile terminal A1, and then as long as the distance is less than the distance threshold, the search module 22. Determine that the corresponding second mobile terminal A2 is the second mobile terminal A2 that satisfies the set conditions, and accordingly the feedback module 23 feeds back the contact information uploaded by the searched second mobile terminal A2 that meets the set conditions to the first mobile terminal A1.
在一种可选的实施方式中,第三接收模块21还接收各个移动终端上传的时间信息,搜索模块22根据位置信息和时间信息搜索满足设定条件的所述第二移动终端上传的联系人信息。In an optional embodiment, the third receiving module 21 also receives the time information uploaded by each mobile terminal, and the search module 22 searches for contacts uploaded by the second mobile terminal meeting the set conditions according to the location information and time information information.
在一种可选的实施方式中,参照图9所示,搜索模块22包括:In an optional implementation manner, as shown in FIG. 9, the search module 22 includes:
距离计算模块221,用于根据所述第一移动终端上传的位置信息和所述第二移动终端上传的位置信息计算所述第二移动终端和所述第一移动终端的距离;A distance calculation module 221, configured to calculate the distance between the second mobile terminal and the first mobile terminal according to the location information uploaded by the first mobile terminal and the location information uploaded by the second mobile terminal;
时间间隔计算模块222,用于根据所述第一移动终端上传的时间信息和所述第二移动终端上传的时间信息计算所述第二移动终端和所述第一移动终端的上传时间间隔;A time interval calculation module 222, configured to calculate the upload time interval between the second mobile terminal and the first mobile terminal according to the time information uploaded by the first mobile terminal and the time information uploaded by the second mobile terminal;
确定模块223,用于根据所述距离和距离阈值,以及所述上传时间间隔和时间间隔阈值,搜索满足设定条件的所述第二移动终端上传的联系人信息。The determining module 223 is configured to search for contact information uploaded by the second mobile terminal that satisfies set conditions according to the distance and the distance threshold, as well as the upload time interval and the time interval threshold.
距离计算模块221根据第一移动终端A1上传的位置信息和各个第二移动终端A2上传的位置信息分别计算各个第二移动终端A2与第一移动终端A1的距离,时间间隔计算模块222根据第一移动终端A1上传的时间信息和各个第二移动终端A2上传的时间信息计算出各个第二移动终端A2和第一移动终端A1的上传时间间隔,然后确定模块223根据计算出的距离和距离阈值,以及计算出的上传时间间隔和时间间隔阈值,搜索满足设定条件的第二移动终端,即当某个第二移动终端A2与第一移动终端A1的距离小于距离阈值,且该第二移动终端A2与第一移动终端A1的上传时间间隔小于时间间隔阈值,则确定模块223确定该第二移动终端A2为满足设定条件的第二移动终端,故反馈模块23将此第二移动终端A2上传的联系人信息反馈给第一移动终端A1。The distance calculation module 221 calculates the distance between each second mobile terminal A2 and the first mobile terminal A1 according to the location information uploaded by the first mobile terminal A1 and the location information uploaded by each second mobile terminal A2, and the time interval calculation module 222 calculates the distance between each second mobile terminal A2 and the first mobile terminal A1 according to the first mobile terminal A2. The time information uploaded by mobile terminal A1 and the time information uploaded by each second mobile terminal A2 calculate the upload time interval between each second mobile terminal A2 and the first mobile terminal A1, and then the determination module 223 according to the calculated distance and the distance threshold, And the calculated upload time interval and time interval threshold, search for the second mobile terminal that meets the set conditions, that is, when the distance between a certain second mobile terminal A2 and the first mobile terminal A1 is less than the distance threshold, and the second mobile terminal The upload time interval between A2 and the first mobile terminal A1 is less than the time interval threshold, then the determination module 223 determines that the second mobile terminal A2 is a second mobile terminal that satisfies the set conditions, so the feedback module 23 uploads the second mobile terminal A2. The contact information of is fed back to the first mobile terminal A1.
在一种可选的实施方式中,搜索模块22还可以根据预先设置的搜索时限和移动终端上传的位置信息来进行搜索。具体的,在第三接收模块21接收到移动终端上传的位置信息和联系人信息后,搜索模块22在预先设置的搜索时限内根据位置信息搜索满足设定条件的第二移动终端上传的联系人信息。举例而言,假设搜索时限为5分钟,当第三接收模块21接收到任意一个移动终端上传的位置信息和联系人信息后,搜索模块22立即开启一个设定时间为5分钟的定时器,在5分钟内第三接收模块21可以持续接收移动终端上传的位置信息和联系人信息,搜索模块22根据位置信息计算各个第二移动终端A2与第一移动终端A1的距离,且将搜索到的与第一移动终端A1的距离小于距离阈值的第二移动终端A2作为满足设定条件的第二移动终端A2,当定时器的设定时间到达时,搜索模块22停止搜索,反馈模块23将搜索模块22搜索到的满足设定条件的第二移动终端A2上传的联系人信息反馈给第一移动终端A1。In an optional implementation manner, the search module 22 may also search according to a preset search time limit and location information uploaded by the mobile terminal. Specifically, after the third receiving module 21 receives the location information and contact information uploaded by the mobile terminal, the search module 22 searches for the contact person uploaded by the second mobile terminal that meets the set conditions according to the location information within the preset search time limit. information. For example, assuming that the search time limit is 5 minutes, when the third receiving module 21 receives the location information and contact information uploaded by any mobile terminal, the search module 22 immediately starts a timer with a set time of 5 minutes. Within 5 minutes, the third receiving module 21 can continue to receive the location information and contact information uploaded by the mobile terminal, and the search module 22 calculates the distance between each second mobile terminal A2 and the first mobile terminal A1 according to the location information, and searches for the distance with the first mobile terminal A1. The distance of the first mobile terminal A1 is less than the second mobile terminal A2 of the distance threshold as the second mobile terminal A2 satisfying the set condition. When the set time of the timer arrives, the search module 22 stops searching, and the feedback module 23 will search 22 Feedback to the first mobile terminal A1 the contact information uploaded by the searched second mobile terminal A2 that satisfies the set conditions.
本实施例五中的通讯录的更新装置可执行本发明实施例五所提供的通讯录的更新方法,具备执行方法相应的功能模块和有益效果。The device for updating the address book in the fifth embodiment can execute the method for updating the address book provided in the fifth embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.
本发明还提供一种通讯录的更新系统,图10为本发明的通讯录的更新系统在实施例六中的结构示意图。如图10所示,该实施例六中的通讯录的更新系统包括上述实施例四中的通讯录的更新装置100和实施例五中的通讯录的更新装置200。本实施例六中的通讯录的更新系统可执行本发明实施例一至实施例三中所提供的通讯录的更新方法,具备执行方法相应的功能模块和有益效果。The present invention also provides an address book update system, and FIG. 10 is a schematic structural diagram of the address book update system in Embodiment 6 of the present invention. As shown in FIG. 10 , the system for updating the address book in the sixth embodiment includes the device 100 for updating the address book in the fourth embodiment and the device 200 for updating the address book in the fifth embodiment. The system for updating the address book in Embodiment 6 can execute the method for updating the address book provided in Embodiment 1 to Embodiment 3 of the present invention, and has corresponding functional modules and beneficial effects for executing the method.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-mentioned embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, should be considered as within the scope of this specification.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but should not be construed as limiting the patent scope of the invention. It should be pointed out that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent for the present invention should be based on the appended claims.
Claims (15)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610875655.2A CN106358183A (en) | 2016-09-30 | 2016-09-30 | Address book updating method, device and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610875655.2A CN106358183A (en) | 2016-09-30 | 2016-09-30 | Address book updating method, device and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106358183A true CN106358183A (en) | 2017-01-25 |
Family
ID=57866047
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610875655.2A Pending CN106358183A (en) | 2016-09-30 | 2016-09-30 | Address book updating method, device and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106358183A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108322591A (en) * | 2017-12-12 | 2018-07-24 | 广东小天才科技有限公司 | Method, device, terminal and storage medium for adding contact person |
| CN109922125A (en) * | 2018-12-29 | 2019-06-21 | 平安科技(深圳)有限公司 | A kind of business card sharing method, device and computer equipment |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102546801A (en) * | 2012-01-09 | 2012-07-04 | 北京风灵创景科技有限公司 | Ambient-equipment-list-based mobile terminal matching method and system |
| KR20120140391A (en) * | 2011-06-21 | 2012-12-31 | 주식회사 이루온 | System and method for updating address book in mobile communication network |
| CN104135713A (en) * | 2013-05-15 | 2014-11-05 | 腾讯科技(深圳)有限公司 | User information recommendation method, device, equipment and system |
| CN105847523A (en) * | 2015-01-14 | 2016-08-10 | 白云杰 | Contact person adding method and system |
| CN106716882A (en) * | 2014-09-25 | 2017-05-24 | 皇家飞利浦有限公司 | Data sharing using body coupled communication |
-
2016
- 2016-09-30 CN CN201610875655.2A patent/CN106358183A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20120140391A (en) * | 2011-06-21 | 2012-12-31 | 주식회사 이루온 | System and method for updating address book in mobile communication network |
| CN102546801A (en) * | 2012-01-09 | 2012-07-04 | 北京风灵创景科技有限公司 | Ambient-equipment-list-based mobile terminal matching method and system |
| CN104135713A (en) * | 2013-05-15 | 2014-11-05 | 腾讯科技(深圳)有限公司 | User information recommendation method, device, equipment and system |
| CN106716882A (en) * | 2014-09-25 | 2017-05-24 | 皇家飞利浦有限公司 | Data sharing using body coupled communication |
| CN105847523A (en) * | 2015-01-14 | 2016-08-10 | 白云杰 | Contact person adding method and system |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108322591A (en) * | 2017-12-12 | 2018-07-24 | 广东小天才科技有限公司 | Method, device, terminal and storage medium for adding contact person |
| CN109922125A (en) * | 2018-12-29 | 2019-06-21 | 平安科技(深圳)有限公司 | A kind of business card sharing method, device and computer equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108151434B (en) | Food material fresh-keeping method and system, server, refrigerator and terminal | |
| CN107665089B (en) | Finger recognition on touch screens | |
| KR101977526B1 (en) | Image splicing method, terminal, and system | |
| CN107948748B (en) | Method, device, mobile terminal and computer storage medium for recommending videos | |
| CN106059894B (en) | Message processing method and device | |
| CN102595322B (en) | Method and device for reminding user by using mobile terminal based on set position | |
| CN108062390B (en) | Method, apparatus and readable storage medium for recommending users | |
| CN104301534A (en) | A method and device for intelligently adjusting the scene mode of a mobile terminal | |
| CN106203459B (en) | Picture processing method and device | |
| CN110674343A (en) | Account information processing method and device, server and terminal | |
| CN108156329A (en) | Method, mobile terminal and the computer readable storage medium that message is sent | |
| CN104284010B (en) | Communication device with automatic replay function and automatic reply communication method thereof | |
| WO2018048375A1 (en) | Removable computing device that facilitates communications | |
| CN108388455A (en) | A kind of sharing method of property parameters, property setting method and mobile terminal | |
| CN105677162B (en) | The display methods and device of matching condition list | |
| CN105095161B (en) | Method and device for displaying rich text information | |
| CN108009288A (en) | Method and device for pushing recipes | |
| CN106358183A (en) | Address book updating method, device and system | |
| CN106803854A (en) | Method, device and wearable device that information is received, sent | |
| CN104010269A (en) | Method and device for sending file in communication terminal | |
| CN108549660A (en) | Information push method and device | |
| CN107734153A (en) | A kind of call control method, terminal and computer-readable recording medium | |
| CN105302826A (en) | Subscription interface display method and apparatus and display end | |
| US20170187872A1 (en) | System and method for device availability signaling | |
| CN108495267B (en) | POI information processing method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170125 |
|
| RJ01 | Rejection of invention patent application after publication |