WO2016101548A1 - Contact list updating method and device thereof - Google Patents

Contact list updating method and device thereof Download PDF

Info

Publication number
WO2016101548A1
WO2016101548A1 PCT/CN2015/080793 CN2015080793W WO2016101548A1 WO 2016101548 A1 WO2016101548 A1 WO 2016101548A1 CN 2015080793 W CN2015080793 W CN 2015080793W WO 2016101548 A1 WO2016101548 A1 WO 2016101548A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
terminal device
shared
social software
contacts
Prior art date
Application number
PCT/CN2015/080793
Other languages
French (fr)
Chinese (zh)
Inventor
肖磊
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016101548A1 publication Critical patent/WO2016101548A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • This paper deals with the field of address book update technology, and more particularly relates to a method and apparatus for updating an address book.
  • the technical problem to be solved by the present invention is to provide a method and corresponding device for updating an address book to realize automatic updating of an address book.
  • a method for updating an address book is applied to a terminal device provided with social software, the method comprising:
  • M and N are positive integers greater than or equal to 1.
  • the step of the terminal device sending the information of the M to be shared contacts to the N predetermined user accounts by using the social software includes:
  • the information of the to-be-shared contact includes a phone number corresponding to the contact to be shared.
  • the method further includes:
  • the method further includes:
  • a method for updating an address book is applied to a terminal device provided with social software, the method comprising:
  • the terminal device updates information of the M to-be-shared contacts in the address book according to the received information
  • M is a positive integer greater than or equal to 1.
  • the step of receiving, by the user account of the social software login of the terminal device, the information of the M contacts to be shared includes:
  • the terminal device decapsulates the data information according to a predetermined data format to obtain information of the M to-be-shared contacts; the information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact.
  • a method for updating an address book is applied between a first terminal device and a second terminal device respectively provided with social software, and the method includes:
  • the first terminal device receives the contact information sharing prompt, and then the first terminal device acquires information of the M to-be-shared contacts;
  • the first terminal device uses the social software of the first terminal device to collect information of the M to be shared contacts Send to N predetermined user accounts;
  • the user account logged in by the social software of the second terminal device receives information of the M contacts to be shared, and then the second terminal device updates the information of the M contacts to be shared in the address book according to the received information. ;
  • M is a positive integer greater than or equal to 1.
  • the step of the first terminal device sending the information of the M to be shared contacts to the N predetermined user accounts by using the social software of the first terminal device includes:
  • the information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact.
  • the user account of the social software login of the second terminal device receives information of the M contacts to be shared, and then the second terminal device updates the M to be shared in the address book according to the received information.
  • the steps for the contact information include:
  • the second terminal device Receiving, by the second terminal device, the data information by using the user account that is logged in by the social software, and then the second terminal device decapsulates the data information according to a predetermined data format, to obtain the M to be shared.
  • Human information
  • the second terminal device updates information of the M to-be-shared contacts in the address book according to the information obtained by decapsulation;
  • the information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact.
  • the method before the step of the first terminal device acquiring the information of the M contacts to be shared, the method further includes:
  • the first terminal device detects whether the SIM card of the user is updated, and when detecting the SIM card update, sends a contact information sharing prompt to the first terminal device;
  • the method further includes:
  • An apparatus for updating an address book is provided in a terminal device, where the device includes a configuration module and a sending module, where
  • the configuration module is configured to: after receiving the prompt information sharing prompt, the terminal device acquires information of the M to-be-shared contacts;
  • the sending module is configured to: send, by the social software of the terminal device, information of the M to be shared contacts to N predetermined user accounts;
  • M and N are positive integers greater than or equal to 1.
  • the sending module is configured to send information of the M to-be-shared contacts to the N predetermined user accounts by using the social software of the terminal device as follows:
  • the information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact.
  • the device further includes a detection module, wherein
  • the detecting module is configured to: detect whether the SIM card of the terminal device is updated, and send a contact information sharing prompt to the terminal device after detecting the SIM card update;
  • the sending module is further configured to: send, by the social software of the terminal device, the SIM card identifier of the terminal device to the N predetermined user accounts.
  • a device for updating an address book disposed in a terminal device provided with social software, the device comprising a receiving module and an updating module, wherein
  • the receiving module is configured to: receive, by using a user account that is registered by the social software of the terminal device, information of the M to be shared contacts;
  • the update module is configured to: the terminal device update information of the M to-be-shared contacts in the address book according to the information received by the receiving module;
  • M is a positive integer greater than or equal to 1.
  • the receiving module is configured to receive information of the M to-be-shared contacts by using a user account of the social software login of the terminal device as follows:
  • the terminal device decapsulates the data information according to a predetermined data format, and obtains information of the M to be shared contacts; wherein the information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact .
  • a computer program comprising program instructions, when the program instruction is executed by a first terminal device (a terminal that sends contact information to be shared), causing the first terminal device to perform any communication on the transmitting side of the shared contact information Record the update method.
  • a carrier carrying the computer program A carrier carrying the computer program.
  • a computer program comprising program instructions, when the program instruction is executed by a second terminal device (a terminal that receives contact information to be shared), causing the second terminal device to perform any communication on the receiving side of the shared contact information Record the update method.
  • a carrier carrying the computer program A carrier carrying the computer program.
  • the above solution is applied to terminal devices respectively provided with social software, and the shared contact information is sent and received through the social software to realize automatic update of the address book.
  • FIG. 3 are flowcharts of a method for updating an address book according to Embodiment 1 of the present invention.
  • FIG. 6 are schematic structural diagrams of an apparatus for updating an address book according to Embodiment 1 of the present invention.
  • FIG. 7 is a schematic diagram of an address book update in Embodiment 2 of the present invention.
  • Embodiment 8 is a schematic structural diagram of data information in Embodiment 2 of the present invention.
  • FIG. 10 is a schematic diagram of a workflow of user A and user B according to an embodiment of the present invention.
  • the social device such as WeChat can be installed on the terminal device.
  • the user can prompt the user 1 whether to share the updated phone number to the user 1. Each contact. If the user 1 determines to share the information, the background will claim the data information of the user 1's new SIM card information according to the predetermined encapsulation rules. User 1 can then select User 2, User 3, and User 4 to receive the data information. User 2, User 3, and User 4 can each receive their social software login to their own account, and then update the contact information of User 1 in their respective contacts.
  • the user 1 can also send the contact information in the address book to other people at any time. For example, when the contact information of the user 1 and the user 5 of the user 1 is updated, the user 1 can select the user 4 and the user 5 Contact information is sent to User 6 and User 7.
  • the recipient can access the data information by logging in to its own account through the social software of any terminal device.
  • an embodiment of the present invention provides a method for updating an address book, which is applied to a terminal device provided with social software, and the method includes:
  • a method for updating an address book is applied to a terminal device provided with social software, the method comprising:
  • Step S101 After receiving the contact information sharing prompt, the terminal device acquires information of the M to-be-shared contacts.
  • Step S103 Send information of the M to-be-shared contacts to N predetermined user accounts by using social software of the terminal device;
  • M is a positive integer greater than or equal to 1
  • N is a positive integer greater than or equal to 1.
  • Sending, by the social software of the terminal device, the information of the M to-be-shared contacts to the N predetermined user accounts includes:
  • the information of the contact to be shared includes a phone number corresponding to the contact;
  • Step S100 detecting whether the SIM card of the terminal device is updated, and when detecting the SIM card update, sending a contact information sharing prompt to the terminal device;
  • the method further includes:
  • an embodiment of the present invention provides a method for updating an address book, which is applied to a terminal device provided with social software, and the method includes:
  • Step S201 Receive, by the user account that is registered by the social software of the terminal device, information of the M contacts to be shared;
  • Step S203 The terminal device updates information about the M to-be-shared contacts in the address book according to the information.
  • the data information includes information of M contacts to be shared, and M is greater than or equal to A positive integer of 1.
  • Receiving information of the M to be shared contacts by the user account logged in by the social software of the terminal device includes:
  • the terminal device decapsulates the data information according to a predetermined data format to obtain information of the M to-be-shared contacts; the information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact.
  • the embodiment of the present application provides a method for updating an address book, which is applied between a first terminal device and a second terminal device respectively configured with social software, where the method includes:
  • Step S301 After receiving the contact information sharing prompt, the first terminal device acquires information of the M to-be-shared contacts;
  • Step S303 Send information of the M to-be-shared contacts to N predetermined user accounts by using social software of the first terminal device;
  • Step S305 When the user account of the social software login of the second terminal device receives the information of the M contacts to be shared, the second terminal device updates the M to-be-shared contacts in the address book according to the information. Information;
  • the terminal device receives information of the M to-be-shared contacts through the social software.
  • Sending information of the M to-be-shared contacts to the N predetermined user accounts by using the social software of the first terminal device includes:
  • the information of the contact to be shared includes a phone number corresponding to the contact;
  • the second terminal device updates the information of the M to-be-shared contacts in the address book according to the information, including :
  • the second terminal device When the second terminal device receives the data information by using the user account logged in by the social software, the second terminal device decapsulates the data information according to a predetermined data format, to obtain the M to-be-shared contacts.
  • Information
  • the second terminal device updates information of the M to-be-shared contacts in the address book according to the information
  • the information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact.
  • the method further includes:
  • Step S300 The first terminal device detects whether the SIM card is updated, and when detecting the SIM card update, sends a contact information sharing prompt to the first terminal device;
  • the method further includes:
  • the first terminal device and the second terminal device are interchangeable, that is, the first terminal device may send the data information side, or may receive the data information side.
  • the first terminal device selects multiple user accounts, it does not specifically limit which terminal device logins the user account specifically receives. That is to say, the user account can pass any of the terminal devices, and can log in to its own user account, and can receive data information.
  • an embodiment of the present invention further provides an apparatus for updating an address book, which is disposed on a terminal device, where the apparatus includes:
  • the configuration module 11 is configured to: after receiving the contact information sharing prompt, the terminal device acquires information of the M contacts to be shared;
  • the sending module 12 is configured to: send, by the social software of the terminal device, information of the M to-be-shared contacts to N predetermined user accounts;
  • M is a positive integer greater than or equal to 1
  • N is a positive integer greater than or equal to 1.
  • the sending module 12 is configured to: send, by the social software of the terminal device, the information of the M to-be-shared contacts to the N predetermined user accounts, that is:
  • the information of the contact to be shared includes a phone number corresponding to the contact;
  • the device further includes:
  • the detecting module 13 is configured to: detect whether the SIM card of the terminal device is updated, and when detecting the SIM card update, send a contact information sharing prompt to the terminal device;
  • the sending module 12 is further configured to: send the SIM card identifier of the terminal device to the N predetermined user accounts by using social software of the terminal device.
  • the present application further provides an apparatus for updating an address book, which is disposed on a terminal device provided with social software, and the apparatus includes:
  • the receiving module 21 is configured to: receive, by the user account of the social software login of the terminal device, information of the M contacts to be shared;
  • the updating module 22 is configured to: the terminal device update information of the M to-be-shared contacts in the address book according to the information;
  • the data information includes information of M contacts to be shared, and M is a positive integer greater than or equal to 1.
  • the receiving module 21 is configured to: receive, by the user account that is logged in by the social software of the terminal device, the information of the M to be shared contacts:
  • the terminal device decapsulates the data information according to a predetermined data format to obtain information of the M to-be-shared contacts; the information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact.
  • the detecting module 13 is configured to: detect whether the local number changes to prompt the user whether to send the new number to the friend through the social software, and the implementation manner is that the SIM card is detected after each booting. Whether there is a change, if it is detected that the SIM card has changed, the local number is updated and the user is prompted whether to share the new number with the social software to the friend.
  • the sending module 12 processes the updated contact information in accordance with the data format and then sends the information to the local social software.
  • the receiving module 21 receives and decodes the contact information sent by the local social software.
  • the update module 22 matches the decoded contact information with the contact information in the local address book and updates the contact information in the local address book.
  • the terminal device may have the detection module 13, the sending module 12, the receiving module 21, and the updating module 22 at the same time.
  • the core of the embodiment of the present invention is that when the terminal device (for example, the terminal device's address book detects) detects that the user has changed the phone number (ie, replaces the SIM card), the new user information or The existing contact information in the address book is encapsulated and transmitted to the local social software according to a certain data format, and the social software forwards the received data to the friend. After the friend receives the information, the social software of the receiver is decoded and found to be the communication. After the updated data is recorded, the data is sent to the address book, and the address book updates the local information based on the new contact data.
  • the terminal device for example, the terminal device's address book detects
  • the above technical solution aims to simplify and intelligently change the contact information of the address book, thereby reducing the situation that the contact information is incorrect in the address book due to the failure to update the contact information in time.
  • the present invention includes an implementation of an address book side and an implementation of a social software side such as WeChat, and the specific solution is:
  • a data format is agreed between the address book and the social software, and the contact information is encapsulated according to the data format for data exchange.
  • the format for exchanging data between the address book and the social software may include a header tag, a number of pieces of information, a contact information body, and an end flag.
  • the information header flag is used to identify that this is an address book information for social software and address book identification
  • the number of pieces of information is used to identify the number of contact information to be shared, that is, several pieces of contact information need to be sent to other people;
  • the contact information body is used to identify the specific contact information content.
  • a specific contact information data format can be represented, which is composed of basic information such as a name, a phone number, and a mailbox.
  • the end flag is used to identify the end of the data.
  • the workflow for User A is:
  • the number change detection module in the address book detects that the SIM card replacement causes the local number update to prompt the user to share the new personal information to the friend through the social software (or the user chooses to pass one or more contact information in the address book by himself)
  • Social software is shared with friends, one or more of which can include local user information
  • the contact information sending module encapsulates and encodes the contact information that the user selects to share according to the agreed data format, and sends the encoded data to the social software of the local machine.
  • the social software forwards the contact data to the social software of user B.
  • the workflow for User B is:
  • the social software receives the information sent by the user A social software.
  • the contact information receiving module in the address book decodes the received information.
  • the contact information update module in the address book matches the decoded contact information with the contact information in the address book, and if it is an existing contact, prompts the user to update the existing contact information or create the same name. New contact information, if it is new contact information, prompt the user to create new contact information.
  • the embodiment of the invention further discloses a computer program, comprising program instructions, when the program instruction is executed by the first terminal device (the terminal that sends the contact information to be shared), so that the first terminal device can execute the shared contact The method of updating any address book on the information sending side.
  • the embodiment of the invention also discloses a carrier carrying the computer program.
  • the embodiment of the invention further discloses a computer program, comprising program instructions, when the program instruction is executed by the second terminal device (the terminal receiving the contact information to be shared), so that the second terminal device can execute the shared contact A method of updating any address book on the information receiving side.
  • the embodiment of the invention also discloses a carrier carrying the computer program.
  • the technical solution of the present invention is applied to terminal devices respectively provided with social software, and the shared contact information is transmitted and received through the social software, thereby realizing automatic update of the address book.

Landscapes

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

Abstract

Disclosed is a contact list updating method applied to a terminal device configured with social software. The method includes: the terminal device obtains the information of M contacts to be shared after receiving a prompt for sharing contact information; the information of M contacts to be shared is transmitted to N predefined user accounts through the social software of the terminal device; wherein, both M and N are positive integers greater than or equal to 1. Above solution is applied between the terminal devices configured with social software respectively, the information of shared contacts is transmitted and received through the social software, and automatic updating of contact list is implemented.

Description

一种通讯录更新的方法和相应装置Method for updating address book and corresponding device 技术领域Technical field
本文涉及通讯录更新技术领域,尤其涉及一种通讯录更新的方法和装置。This paper deals with the field of address book update technology, and more particularly relates to a method and apparatus for updating an address book.
背景技术Background technique
工作生活中经常遇到自己的朋友或同事更改电话号码,一般都采用手动的方式重新在电话号码本中进行修改,如果更改不及时就会对及时联系造成影响,并且手动修改的方式也比较笨拙。In work and life, I often encounter my friends or colleagues to change the phone number. Generally, they are manually re-edited in the phone number book. If the change is not timely, it will affect the timely contact, and the manual modification method is also awkward. .
发明内容Summary of the invention
本发明要解决的技术问题是提供一种通讯录更新的方法和相应装置,以实现通讯录的自动更新。The technical problem to be solved by the present invention is to provide a method and corresponding device for updating an address book to realize automatic updating of an address book.
为解决上述技术问题,采用如下技术方案:In order to solve the above technical problems, the following technical solutions are adopted:
一种通讯录更新的方法,应用于设置有社交软件的终端设备,所述方法包括:A method for updating an address book is applied to a terminal device provided with social software, the method comprising:
所述终端设备收到联系人信息共享提示,之后,所述终端设备获取M个待共享联系人的信息;Receiving, by the terminal device, a contact information sharing prompt, after which the terminal device acquires information of the M to-be-shared contacts;
所述终端设备通过所述社交软件将M个所述待共享联系人的信息发送给N个预定的用户账号;Sending, by the social device, the information of the M to-be-shared contacts to the N predetermined user accounts by using the social software;
其中,M和N均为大于或者等于1的正整数。Where M and N are positive integers greater than or equal to 1.
可选地,所述终端设备通过所述社交软件将M个所述待共享联系人的信息发送给N个预定的用户账号的步骤包括:Optionally, the step of the terminal device sending the information of the M to be shared contacts to the N predetermined user accounts by using the social software includes:
将M个所述待共享联系人的信息按照预定的数据格式封装成数据信息;Encapsulating the information of the M to be shared contacts into data information according to a predetermined data format;
将所述数据信息通过所述终端设备的社交软件发送给N个所述预定的用户账户,Transmitting the data information to the N predetermined user accounts through the social software of the terminal device,
其中,所述待共享联系人的信息包括有待共享联系人对应的电话号码。 The information of the to-be-shared contact includes a phone number corresponding to the contact to be shared.
可选地,所述终端设备获取M个待共享联系人的信息的步骤之前,该方法还包括:Optionally, before the step of the terminal device acquiring the information of the M contacts to be shared, the method further includes:
检测所述终端设备的SIM卡是否更新,当检测到所述SIM卡更新时,向所述终端设备发送联系人信息共享提示;Detecting whether the SIM card of the terminal device is updated, and when detecting the SIM card update, sending a contact information sharing prompt to the terminal device;
所述方法还包括:The method further includes:
通过所述终端设备的社交软件将所述终端设备的SIM卡标识发送给N个所述预定的用户账号。Sending, by the social software of the terminal device, the SIM card identifier of the terminal device to the N predetermined user accounts.
一种通讯录更新的方法,应用于设置有社交软件的终端设备,所述方法包括:A method for updating an address book is applied to a terminal device provided with social software, the method comprising:
通过所述终端设备的社交软件登录的用户账户接收M个待共享联系人的信息;Receiving, by the user account logged in by the social software of the terminal device, information of the M contacts to be shared;
所述终端设备根据接收到的信息更新通讯录中M个所述待共享联系人的信息;The terminal device updates information of the M to-be-shared contacts in the address book according to the received information;
其中,M为大于或者等于1的正整数。Where M is a positive integer greater than or equal to 1.
可选地,通过所述终端设备的社交软件登录的用户账户接收M个待共享联系人的信息的步骤包括:Optionally, the step of receiving, by the user account of the social software login of the terminal device, the information of the M contacts to be shared includes:
通过所述终端设备的社交软件登录的用户账户接收数据信息;Receiving data information by a user account logged in by the social software of the terminal device;
所述终端设备按照预定的数据格式对所述数据信息进行解封装,得到所述M个待共享联系人的信息;所述待共享联系人的信息包括该待共享联系人对应的电话号码。The terminal device decapsulates the data information according to a predetermined data format to obtain information of the M to-be-shared contacts; the information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact.
一种通讯录更新的方法,应用于分别设置有社交软件的第一终端设备和第二终端设备之间,所述方法包括:A method for updating an address book is applied between a first terminal device and a second terminal device respectively provided with social software, and the method includes:
所述第一终端设备收到联系人信息共享提示,之后,所述第一终端设备获取M个待共享联系人的信息;The first terminal device receives the contact information sharing prompt, and then the first terminal device acquires information of the M to-be-shared contacts;
所述第一终端设备通过自身的社交软件将所述M个待共享联系人的信息 发送给N个预定的用户账号;The first terminal device uses the social software of the first terminal device to collect information of the M to be shared contacts Send to N predetermined user accounts;
所述第二终端设备的社交软件登录的用户账户接收M个待共享联系人的信息,之后,所述第二终端设备根据接收到的信息更新通讯录中M个所述待共享联系人的信息;The user account logged in by the social software of the second terminal device receives information of the M contacts to be shared, and then the second terminal device updates the information of the M contacts to be shared in the address book according to the received information. ;
其中,M为大于或者等于1的正整数。Where M is a positive integer greater than or equal to 1.
可选地,所述第一终端设备通过自身的社交软件将M个所述待共享联系人的信息发送给N个预定的用户账号的步骤包括:Optionally, the step of the first terminal device sending the information of the M to be shared contacts to the N predetermined user accounts by using the social software of the first terminal device includes:
将所述M个待共享联系人的信息按照预定的数据格式封装成数据信息;Encapsulating the information of the M to-be-shared contacts into data information according to a predetermined data format;
将所述数据信息通过所述第一终端设备的社交软件发送给N个所述预定的用户账户,Transmitting the data information to the N predetermined user accounts by using the social software of the first terminal device,
其中,所述待共享联系人的信息包括有该待共享联系人对应的电话号码。The information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact.
可选地,所述第二终端设备的社交软件登录的用户账户接收M个待共享联系人的信息,之后,所述第二终端设备根据接收到的信息更新通讯录中所述M个待共享联系人的信息的步骤包括:Optionally, the user account of the social software login of the second terminal device receives information of the M contacts to be shared, and then the second terminal device updates the M to be shared in the address book according to the received information. The steps for the contact information include:
所述第二终端设备通过自身的社交软件登录的用户账户接收到数据信息,之后,所述第二终端设备按照预定的数据格式对所述数据信息进行解封装,得到所述M个待共享联系人的信息;Receiving, by the second terminal device, the data information by using the user account that is logged in by the social software, and then the second terminal device decapsulates the data information according to a predetermined data format, to obtain the M to be shared. Human information;
所述第二终端设备根据解封装得到的信息更新通讯录中M个所述待共享联系人的信息;The second terminal device updates information of the M to-be-shared contacts in the address book according to the information obtained by decapsulation;
其中,所述待共享联系人的信息包括该待共享联系人对应的电话号码。The information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact.
可选地,所述第一终端设备获取M个待共享联系人的信息的步骤之前,该方法还包括:Optionally, before the step of the first terminal device acquiring the information of the M contacts to be shared, the method further includes:
所述第一终端设备检测自身的SIM卡是否更新,当检测到所述SIM卡更新时,向所述第一终端设备发送联系人信息共享提示;The first terminal device detects whether the SIM card of the user is updated, and when detecting the SIM card update, sends a contact information sharing prompt to the first terminal device;
所述方法还包括:The method further includes:
通过所述第一终端设备的社交软件将所述第一终端设备的SIM卡标识发送给所述N个预定的用户账号。 Transmitting, by the social software of the first terminal device, the SIM card identifier of the first terminal device to the N predetermined user accounts.
一种通讯录更新的装置,设置于终端设备,所述装置包括配置模块和发送模块,其中,An apparatus for updating an address book is provided in a terminal device, where the device includes a configuration module and a sending module, where
所述配置模块设置成:所述终端设备收到联系人信息共享提示后,获取M个待共享联系人的信息;The configuration module is configured to: after receiving the prompt information sharing prompt, the terminal device acquires information of the M to-be-shared contacts;
所述发送模块设置成:通过所述终端设备的社交软件将M个所述待共享联系人的信息发送给N个预定的用户账号;The sending module is configured to: send, by the social software of the terminal device, information of the M to be shared contacts to N predetermined user accounts;
其中,M和N均为大于或者等于1的正整数。Where M and N are positive integers greater than or equal to 1.
可选地,所述发送模块设置成按照如下方式通过所述终端设备的社交软件将M个所述待共享联系人的信息发送给N个预定的用户账号:Optionally, the sending module is configured to send information of the M to-be-shared contacts to the N predetermined user accounts by using the social software of the terminal device as follows:
将所述M个待共享联系人的信息按照预定的数据格式封装成数据信息;Encapsulating the information of the M to-be-shared contacts into data information according to a predetermined data format;
将所述数据信息通过所述终端设备的社交软件发送给N个所述预定的用户账户,Transmitting the data information to the N predetermined user accounts through the social software of the terminal device,
其中,所述待共享联系人的信息包括有该待共享联系人对应的电话号码。The information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact.
可选地,所述装置还包括检测模块,其中Optionally, the device further includes a detection module, wherein
所述检测模块设置成:检测所述终端设备的SIM卡是否更新,当检测到所述SIM卡更新后,向所述终端设备发送联系人信息共享提示;The detecting module is configured to: detect whether the SIM card of the terminal device is updated, and send a contact information sharing prompt to the terminal device after detecting the SIM card update;
所述发送模块还设置成:通过所述终端设备的社交软件将所述终端设备的SIM卡标识发送给N个所述预定的用户账号。The sending module is further configured to: send, by the social software of the terminal device, the SIM card identifier of the terminal device to the N predetermined user accounts.
一种通讯录更新的装置,设置于设置有社交软件的终端设备,所述装置包括接收模块和更新模块,其中A device for updating an address book, disposed in a terminal device provided with social software, the device comprising a receiving module and an updating module, wherein
所述接收模块设置成:通过所述终端设备的社交软件登录的用户账户接收M个待共享联系人的信息;The receiving module is configured to: receive, by using a user account that is registered by the social software of the terminal device, information of the M to be shared contacts;
所述更新模块设置成:所述终端设备根据所述接收模块接收到的信息更新通讯录中M个所述待共享联系人的信息;The update module is configured to: the terminal device update information of the M to-be-shared contacts in the address book according to the information received by the receiving module;
其中,M为大于或者等于1的正整数。 Where M is a positive integer greater than or equal to 1.
可选地,所述接收模块设置成按照如下方式通过所述终端设备的社交软件登录的用户账户接收M个待共享联系人的信息:Optionally, the receiving module is configured to receive information of the M to-be-shared contacts by using a user account of the social software login of the terminal device as follows:
通过所述终端设备的社交软件登录的用户账户接收数据信息;Receiving data information by a user account logged in by the social software of the terminal device;
所述终端设备按照预定的数据格式对所述数据信息进行解封装,得到M个所述待共享联系人的信息;其中,所述待共享联系人的信息包括该待共享联系人对应的电话号码。The terminal device decapsulates the data information according to a predetermined data format, and obtains information of the M to be shared contacts; wherein the information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact .
一种计算机程序,包括程序指令,当该程序指令被第一终端设备(发送待共享联系人信息的终端)执行时,使得该第一终端设备可执行上述共享联系人信息发送侧的任意的通讯录更新的方法。A computer program, comprising program instructions, when the program instruction is executed by a first terminal device (a terminal that sends contact information to be shared), causing the first terminal device to perform any communication on the transmitting side of the shared contact information Record the update method.
一种载有所述计算机程序的载体。A carrier carrying the computer program.
一种计算机程序,包括程序指令,当该程序指令被第二终端设备(接收待共享联系人信息的终端)执行时,使得该第二终端设备可执行上述共享联系人信息接收侧的任意的通讯录更新的方法。A computer program, comprising program instructions, when the program instruction is executed by a second terminal device (a terminal that receives contact information to be shared), causing the second terminal device to perform any communication on the receiving side of the shared contact information Record the update method.
一种载有所述计算机程序的载体。A carrier carrying the computer program.
上述方案应用于分别设置有社交软件的终端设备之间,通过社交软件发送和接收共享的联系人信息,实现通讯录的自动更新。The above solution is applied to terminal devices respectively provided with social software, and the shared contact information is sent and received through the social software to realize automatic update of the address book.
附图概述BRIEF abstract
图1至图3是本发明实施例一中通讯录更新的方法的流程图;1 to FIG. 3 are flowcharts of a method for updating an address book according to Embodiment 1 of the present invention;
图4至图6是本发明实施例一中通讯录更新的装置的结构示意图;4 to FIG. 6 are schematic structural diagrams of an apparatus for updating an address book according to Embodiment 1 of the present invention;
图7是本发明实施例二中通讯录更新的示意图;7 is a schematic diagram of an address book update in Embodiment 2 of the present invention;
图8是本发明实施例二中数据信息的结构示意图; 8 is a schematic structural diagram of data information in Embodiment 2 of the present invention;
图9是本发明实施例二通讯录更新的流程示意图;9 is a schematic flowchart of an update of an address book according to Embodiment 2 of the present invention;
图10为本发明实施例的用户A和用户B的工作流程示意图。FIG. 10 is a schematic diagram of a workflow of user A and user B according to an embodiment of the present invention.
本发明的较佳实施方式Preferred embodiment of the invention
下文中将结合附图对本申请的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
目前,由于微信等社交软件广泛流行,使用方便且使用频率很高,手机用户也许会经常更换电话号码但一般情况下很少更换微信,为此设想通过微信的方式将修改后的电话号码信息发送给好友,接收方自动匹配通讯录中的联系人并更新电话号码等联系人信息,这种方式对于用户无疑是方便且高效的。At present, due to the widespread popularity of social software such as WeChat, easy to use and high frequency of use, mobile phone users may change phone numbers frequently, but in general, WeChat is rarely changed. For this reason, the modified phone number information is sent by WeChat. For a friend, the recipient automatically matches the contacts in the address book and updates the contact information such as the phone number, which is undoubtedly convenient and efficient for the user.
实施例一Embodiment 1
在本实施例中,终端设备上可以安装有如微信的社交软件,例如用户1持有的终端设备检测到自身的SIM卡更新后,可以提示用户1是否将该更新的电话号码共享给用户1的各联系人。如果用户1确定将该信息共享,则后台会根据预定的封装规则声称含有用户1新的SIM卡信息的数据信息。此后用户1可以选择用户2、用户3和用户4三位用户接收该数据信息。用户2、用户3和用户4可以各自在其社交软件登录自身账户接收,然后相应的更新各自通讯录中用户1的联系人信息。In this embodiment, the social device such as WeChat can be installed on the terminal device. For example, after the terminal device held by the user 1 detects the update of the SIM card, the user can prompt the user 1 whether to share the updated phone number to the user 1. Each contact. If the user 1 determines to share the information, the background will claim the data information of the user 1's new SIM card information according to the predetermined encapsulation rules. User 1 can then select User 2, User 3, and User 4 to receive the data information. User 2, User 3, and User 4 can each receive their social software login to their own account, and then update the contact information of User 1 in their respective contacts.
当然,用户1也可以随时将通讯录中的联系人信息发送给其他人,例如,当用户1的联系人用户4和用户5的联系信息更新后,用户1可以选择将用户4和用户5的联系信息发送给用户6和用户7。Of course, the user 1 can also send the contact information in the address book to other people at any time. For example, when the contact information of the user 1 and the user 5 of the user 1 is updated, the user 1 can select the user 4 and the user 5 Contact information is sent to User 6 and User 7.
此外,信息的发送时通过社交软件进行的,接收方可以通过任何终端设备的社交软件登录自身的账户接收该数据信息。In addition, when the information is sent through the social software, the recipient can access the data information by logging in to its own account through the social software of any terminal device.
如图1所示,本发明实施例提供一种通讯录更新的方法,应用于设置有社交软件的终端设备,所述方法包括:As shown in FIG. 1 , an embodiment of the present invention provides a method for updating an address book, which is applied to a terminal device provided with social software, and the method includes:
一种通讯录更新的方法,应用于设置有社交软件的终端设备,所述方法包括: A method for updating an address book is applied to a terminal device provided with social software, the method comprising:
步骤S101:所述终端设备收到联系人信息共享提示后获取M个待共享联系人的信息;Step S101: After receiving the contact information sharing prompt, the terminal device acquires information of the M to-be-shared contacts.
步骤S103:通过所述终端设备的社交软件将所述M个待共享联系人的信息发送给N个预定的用户账号;Step S103: Send information of the M to-be-shared contacts to N predetermined user accounts by using social software of the terminal device;
其中,M为大于或者等于1的正整数,N为大于或者等于1的正整数。Where M is a positive integer greater than or equal to 1, and N is a positive integer greater than or equal to 1.
可选地,Optionally,
通过所述终端设备的社交软件将所述M个待共享联系人的信息发送给N个预定的用户账号包括:Sending, by the social software of the terminal device, the information of the M to-be-shared contacts to the N predetermined user accounts includes:
所述待共享联系人的信息包括有该联系人对应的电话号码;The information of the contact to be shared includes a phone number corresponding to the contact;
将所述M个待共享联系人的信息按照预定的数据格式封装成数据信息;Encapsulating the information of the M to-be-shared contacts into data information according to a predetermined data format;
将所述数据信息通过所述终端设备的社交软件发送给所述N个预定的用户账户。Transmitting the data information to the N predetermined user accounts through the social software of the terminal device.
可选地,Optionally,
获取M个待共享联系人的信息前还包括:Before obtaining the information of the M contacts to be shared, it also includes:
步骤S100:检测所述终端设备的SIM卡是否更新,当检测到所述SIM卡更新时,向所述终端设备发送联系人信息共享提示;Step S100: detecting whether the SIM card of the terminal device is updated, and when detecting the SIM card update, sending a contact information sharing prompt to the terminal device;
所述方法还包括:The method further includes:
通过所述终端设备的社交软件将所述终端设备的SIM卡标识发送给所述N个预定的用户账号。Sending, by the social software of the terminal device, the SIM card identifier of the terminal device to the N predetermined user accounts.
如图2所示,本发明实施例提供了一种通讯录更新的方法,应用于设置有社交软件的终端设备,所述方法包括:As shown in FIG. 2, an embodiment of the present invention provides a method for updating an address book, which is applied to a terminal device provided with social software, and the method includes:
步骤S201:通过所述终端设备的社交软件登录的用户账户接收M个待共享联系人的信息;Step S201: Receive, by the user account that is registered by the social software of the terminal device, information of the M contacts to be shared;
步骤S203:所述终端设备根据所述信息更新通讯录中所述M个待共享联系人的信息;Step S203: The terminal device updates information about the M to-be-shared contacts in the address book according to the information.
其中,所述数据信息含有M个待共享联系人的信息,M为大于或者等于 1的正整数。The data information includes information of M contacts to be shared, and M is greater than or equal to A positive integer of 1.
可选地,Optionally,
通过所述终端设备的社交软件登录的用户账户接收M个待共享联系人的信息包括:Receiving information of the M to be shared contacts by the user account logged in by the social software of the terminal device includes:
通过所述终端设备的社交软件登录的用户账户接收数据信息;Receiving data information by a user account logged in by the social software of the terminal device;
所述终端设备按照预定的数据格式对所述数据信息进行解封装,得到所述M个待共享联系人的信息;所述待共享联系人的信息包括该待共享联系人对应的电话号码。The terminal device decapsulates the data information according to a predetermined data format to obtain information of the M to-be-shared contacts; the information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact.
如图3所示,本申请实施例提供一种通讯录更新的方法,应用于分别设置有社交软件的第一终端设备和第二终端设备之间,所述方法包括:As shown in FIG. 3, the embodiment of the present application provides a method for updating an address book, which is applied between a first terminal device and a second terminal device respectively configured with social software, where the method includes:
步骤S301:所述第一终端设备收到联系人信息共享提示后获取M个待共享联系人的信息;Step S301: After receiving the contact information sharing prompt, the first terminal device acquires information of the M to-be-shared contacts;
步骤S303:通过所述第一终端设备的社交软件将所述M个待共享联系人的信息发送给N个预定的用户账号;Step S303: Send information of the M to-be-shared contacts to N predetermined user accounts by using social software of the first terminal device;
步骤S305:当所述第二终端设备的社交软件登录的用户账户接收M个待共享联系人的信息时,所述第二终端设备根据所述信息更新通讯录中所述M个待共享联系人的信息;Step S305: When the user account of the social software login of the second terminal device receives the information of the M contacts to be shared, the second terminal device updates the M to-be-shared contacts in the address book according to the information. Information;
其中,M为大于或者等于1的正整数,N为大于或者等于1的正整数。所述终端设备通过社交软件接收M个待共享联系人的信息。Where M is a positive integer greater than or equal to 1, and N is a positive integer greater than or equal to 1. The terminal device receives information of the M to-be-shared contacts through the social software.
可选地,Optionally,
通过所述第一终端设备的社交软件将所述M个待共享联系人的信息发送给N个预定的用户账号包括:Sending information of the M to-be-shared contacts to the N predetermined user accounts by using the social software of the first terminal device includes:
所述待共享联系人的信息包括有该联系人对应的电话号码;The information of the contact to be shared includes a phone number corresponding to the contact;
将所述M个待共享联系人的信息按照预定的数据格式封装成数据信息;Encapsulating the information of the M to-be-shared contacts into data information according to a predetermined data format;
将所述数据信息通过所述第一终端设备的社交软件发送给所述N个预定的用户账户。 Transmitting the data information to the N predetermined user accounts through the social software of the first terminal device.
可选地,Optionally,
当所述第二终端设备的社交软件登录的用户账户接收M个待共享联系人的信息时,所述第二终端设备根据所述信息更新通讯录中所述M个待共享联系人的信息包括:When the user account of the social software login of the second terminal device receives the information of the M to be shared contacts, the second terminal device updates the information of the M to-be-shared contacts in the address book according to the information, including :
当所述第二终端设备通过其社交软件登录的用户账户接收到数据信息时,所述第二终端设备按照预定的数据格式对所述数据信息进行解封装,得到所述M个待共享联系人的信息;When the second terminal device receives the data information by using the user account logged in by the social software, the second terminal device decapsulates the data information according to a predetermined data format, to obtain the M to-be-shared contacts. Information;
所述第二终端设备根据所述信息更新通讯录中所述M个待共享联系人的信息;The second terminal device updates information of the M to-be-shared contacts in the address book according to the information;
其中,所述待共享联系人的信息包括该待共享联系人对应的电话号码。The information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact.
可选地,Optionally,
所述第一终端设备获取M个待共享联系人的信息前还包括:Before the first terminal device acquires the information of the M contacts to be shared, the method further includes:
步骤S300:所述第一终端设备检测SIM卡是否更新,当检测到所述SIM卡更新时,向所述第一终端设备发送联系人信息共享提示;Step S300: The first terminal device detects whether the SIM card is updated, and when detecting the SIM card update, sends a contact information sharing prompt to the first terminal device;
所述方法还包括:The method further includes:
通过所述第一终端设备的社交软件将所述第一终端设备的SIM卡标识发送给所述N个预定的用户账号。Transmitting, by the social software of the first terminal device, the SIM card identifier of the first terminal device to the N predetermined user accounts.
需要说明的是,在上述技术方案中,第一终端设备和第二终端设备是可以互换的,也就是说第一终端设备可以发送数据信息方,也可以是接收数据信息方。同时当第一终端设备选定的是多个用户账户时,对于用户账户具体通过哪个终端设备登录接收不做具体限定。也就是说用户账户可以通过任何一个终端设备没,只要登录其自身的用户账户,都是可以接收数据信息的。It should be noted that, in the foregoing technical solution, the first terminal device and the second terminal device are interchangeable, that is, the first terminal device may send the data information side, or may receive the data information side. At the same time, when the first terminal device selects multiple user accounts, it does not specifically limit which terminal device logins the user account specifically receives. That is to say, the user account can pass any of the terminal devices, and can log in to its own user account, and can receive data information.
如图4所示,本发明实施例还提供一种通讯录更新的装置,设置于终端设备,所述装置包括:As shown in FIG. 4, an embodiment of the present invention further provides an apparatus for updating an address book, which is disposed on a terminal device, where the apparatus includes:
配置模块11,设置成:所述终端设备收到联系人信息共享提示后获取M个待共享联系人的信息; The configuration module 11 is configured to: after receiving the contact information sharing prompt, the terminal device acquires information of the M contacts to be shared;
发送模块12,设置成:通过所述终端设备的社交软件将所述M个待共享联系人的信息发送给N个预定的用户账号;The sending module 12 is configured to: send, by the social software of the terminal device, information of the M to-be-shared contacts to N predetermined user accounts;
其中,M为大于或者等于1的正整数,N为大于或者等于1的正整数。Where M is a positive integer greater than or equal to 1, and N is a positive integer greater than or equal to 1.
可选地,Optionally,
所述发送模块12设置成:通过所述终端设备的社交软件将所述M个待共享联系人的信息发送给N个预定的用户账号是指:The sending module 12 is configured to: send, by the social software of the terminal device, the information of the M to-be-shared contacts to the N predetermined user accounts, that is:
所述待共享联系人的信息包括有该联系人对应的电话号码;The information of the contact to be shared includes a phone number corresponding to the contact;
将所述M个待共享联系人的信息按照预定的数据格式封装成数据信息;Encapsulating the information of the M to-be-shared contacts into data information according to a predetermined data format;
将所述数据信息通过所述终端设备的社交软件发送给所述N个预定的用户账户。Transmitting the data information to the N predetermined user accounts through the social software of the terminal device.
可选地,所述装置还包括:Optionally, the device further includes:
检测模块13,设置成:检测所述终端设备的SIM卡是否更新,当检测到所述SIM卡更新时,向所述终端设备发送联系人信息共享提示;The detecting module 13 is configured to: detect whether the SIM card of the terminal device is updated, and when detecting the SIM card update, send a contact information sharing prompt to the terminal device;
所述发送模块12还设置成:通过所述终端设备的社交软件将所述终端设备的SIM卡标识发送给所述N个预定的用户账号。The sending module 12 is further configured to: send the SIM card identifier of the terminal device to the N predetermined user accounts by using social software of the terminal device.
如图5所示,本申请还提供一种通讯录更新的装置,设置于设置有社交软件的终端设备,所述装置包括:As shown in FIG. 5, the present application further provides an apparatus for updating an address book, which is disposed on a terminal device provided with social software, and the apparatus includes:
接收模块21,设置成:通过所述终端设备的社交软件登录的用户账户接收M个待共享联系人的信息;The receiving module 21 is configured to: receive, by the user account of the social software login of the terminal device, information of the M contacts to be shared;
更新模块22,设置成:所述终端设备根据所述信息更新通讯录中所述M个待共享联系人的信息;The updating module 22 is configured to: the terminal device update information of the M to-be-shared contacts in the address book according to the information;
其中,所述数据信息含有M个待共享联系人的信息,M为大于或者等于1的正整数。The data information includes information of M contacts to be shared, and M is a positive integer greater than or equal to 1.
可选地,Optionally,
接收模块21设置成:通过所述终端设备的社交软件登录的用户账户接收M个待共享联系人的信息是指: The receiving module 21 is configured to: receive, by the user account that is logged in by the social software of the terminal device, the information of the M to be shared contacts:
通过所述终端设备的社交软件登录的用户账户接收数据信息;Receiving data information by a user account logged in by the social software of the terminal device;
所述终端设备按照预定的数据格式对所述数据信息进行解封装,得到所述M个待共享联系人的信息;所述待共享联系人的信息包括该待共享联系人对应的电话号码。The terminal device decapsulates the data information according to a predetermined data format to obtain information of the M to-be-shared contacts; the information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact.
需要说明的是,在上述技术方案中,检测模块13设置成:检测本机号码是否发生变化以便提示用户是否将新号码通过社交软件发送给好友,其实现方式是每次开机后通过检测SIM卡是否发生变化,如果检测到SIM卡发生改变,则更新本机号码并提示用户是否将新的号码通过社交软件分享给好友。It should be noted that, in the foregoing technical solution, the detecting module 13 is configured to: detect whether the local number changes to prompt the user whether to send the new number to the friend through the social software, and the implementation manner is that the SIM card is detected after each booting. Whether there is a change, if it is detected that the SIM card has changed, the local number is updated and the user is prompted whether to share the new number with the social software to the friend.
发送模块12是将更新后的联系人信息按照数据格式封装后发送给本机的社交软件进行处理。The sending module 12 processes the updated contact information in accordance with the data format and then sends the information to the local social software.
接收模块21是接收本机社交软件发送来的联系人信息并进行解码。The receiving module 21 receives and decodes the contact information sent by the local social software.
更新模块22是将解码后的联系人信息与本机通讯录中的联系人信息进行匹配并更新本机通讯录中的联系人信息。The update module 22 matches the decoded contact information with the contact information in the local address book and updates the contact information in the local address book.
此外,如图6所示,在其它实施例中,终端设备可以同时具有检测模块13、发送模块12、接收模块21以及更新模块22。In addition, as shown in FIG. 6, in other embodiments, the terminal device may have the detection module 13, the sending module 12, the receiving module 21, and the updating module 22 at the same time.
实施例二Embodiment 2
下面结合结合具体的场景进一步说明本发明的技术方案。The technical solution of the present invention will be further described below in conjunction with specific scenarios.
如图7所示,本发明实施例的核心就是当终端设备(例如由终端设备的通讯录进行检测)检测到用户更换了电话号码后(即更换了SIM卡),将新的用户信息或将通讯录中已有的联系人信息按照一定的数据格式封装后传递给本机社交软件,社交软件将收到的数据转发给好友,好友收到信息后,接收方的社交软件经过解码发现是通讯录更新数据后,将数据发送通讯录,通讯录根据新的联系人数据更新本地信息。As shown in FIG. 7, the core of the embodiment of the present invention is that when the terminal device (for example, the terminal device's address book detects) detects that the user has changed the phone number (ie, replaces the SIM card), the new user information or The existing contact information in the address book is encapsulated and transmitted to the local social software according to a certain data format, and the social software forwards the received data to the friend. After the friend receives the information, the social software of the receiver is decoded and found to be the communication. After the updated data is recorded, the data is sent to the address book, and the address book updates the local information based on the new contact data.
上述技术方案目的在于将通讯录联系人信息变更的方式简单并智能化,从而减少因没有及时更新联系人信息造成通讯录中存在错误联系人信息的情况。 The above technical solution aims to simplify and intelligently change the contact information of the address book, thereby reducing the situation that the contact information is incorrect in the address book due to the failure to update the contact information in time.
为达到上述目的,本发明包含通讯录一侧的实现与微信等社交软件一侧的实现,具体方案是:In order to achieve the above object, the present invention includes an implementation of an address book side and an implementation of a social software side such as WeChat, and the specific solution is:
首先,通讯录与社交软件之间约定一种数据格式,并根据此数据格式封装联系人信息进行数据交换。First, a data format is agreed between the address book and the social software, and the contact information is encapsulated according to the data format for data exchange.
如图8所示,表示通讯录与社交软件之间交换数据的格式,在本实施例中可以包括信息头标志、信息条数、联系人信息体和结束标志等。As shown in FIG. 8, the format for exchanging data between the address book and the social software may include a header tag, a number of pieces of information, a contact information body, and an end flag.
其中,信息头标志用于标识这是一条通讯录信息便于社交软件与通讯录识别;The information header flag is used to identify that this is an address book information for social software and address book identification;
信息条数用于标识待共享的联系人信息条数,也就是需要将几条联系人信息发送给其他人;The number of pieces of information is used to identify the number of contact information to be shared, that is, several pieces of contact information need to be sent to other people;
联系人信息体用于标识具体的联系人信息内容。如图9所示,可以表示具体的联系人信息数据格式,由姓名、电话号码、邮箱等基本信息组成。The contact information body is used to identify the specific contact information content. As shown in FIG. 9, a specific contact information data format can be represented, which is composed of basic information such as a name, a phone number, and a mailbox.
结束标志用于标识数据结束。The end flag is used to identify the end of the data.
如图10所示,为说明本发明的工作流程,我们约定发送方用户A与接收方用户B,实际应用中这种关系是可以互逆的。As shown in FIG. 10, in order to explain the workflow of the present invention, we stipulate the sender user A and the receiver user B, and the relationship in the actual application can be mutually reciprocal.
对于用户A的工作流程是:The workflow for User A is:
1、通讯录中号码变更检测模块检测到SIM卡更换导致本机号码更新提示用户将新的个人信息通过社交软件分享给好友(或者用户自行选择将通讯录里的一条或多条联系人信息通过社交软件分享给好友,其中的一条或多条可以包括本机用户自身信息)1. The number change detection module in the address book detects that the SIM card replacement causes the local number update to prompt the user to share the new personal information to the friend through the social software (or the user chooses to pass one or more contact information in the address book by himself) Social software is shared with friends, one or more of which can include local user information)
2、联系人信息发送模块将用户选择要分享的联系人信息按照约定好的数据格式进行封装编码,并将编码后的数据发送给本机的社交软件。2. The contact information sending module encapsulates and encodes the contact information that the user selects to share according to the agreed data format, and sends the encoded data to the social software of the local machine.
3、社交软件将联系人数据转发给用户B的社交软件。3. The social software forwards the contact data to the social software of user B.
对于用户B的工作流程是:The workflow for User B is:
3、社交软件接收到用户A社交软件发来的信息。3. The social software receives the information sent by the user A social software.
4、通过信息头标志检测到是联系人信息后,将数据转发给本机的通讯录 模块。4. After detecting the contact information by the information header mark, forwarding the data to the address book of the machine Module.
5、通讯录中的联系人信息接收模块将接收到的信息进行解码。5. The contact information receiving module in the address book decodes the received information.
6、通讯录中的联系人信息更新模块将解码后的联系人信息与通讯录中的联系人信息进行匹配,如果是已有联系人则提示用户将对已有联系人信息进行更新或创建同名的新联系人信息,如果是新的联系人信息则提示用户创建新的联系人信息。6. The contact information update module in the address book matches the decoded contact information with the contact information in the address book, and if it is an existing contact, prompts the user to update the existing contact information or create the same name. New contact information, if it is new contact information, prompt the user to create new contact information.
本发明实施例还公开了一种计算机程序,包括程序指令,当该程序指令被第一终端设备(发送待共享联系人信息的终端)执行时,使得该第一终端设备可执行上述共享联系人信息发送侧的任意的通讯录更新的方法。The embodiment of the invention further discloses a computer program, comprising program instructions, when the program instruction is executed by the first terminal device (the terminal that sends the contact information to be shared), so that the first terminal device can execute the shared contact The method of updating any address book on the information sending side.
本发明实施例还公开了一种载有所述计算机程序的载体。The embodiment of the invention also discloses a carrier carrying the computer program.
本发明实施例还公开了一种计算机程序,包括程序指令,当该程序指令被第二终端设备(接收待共享联系人信息的终端)执行时,使得该第二终端设备可执行上述共享联系人信息接收侧的任意的通讯录更新的方法。The embodiment of the invention further discloses a computer program, comprising program instructions, when the program instruction is executed by the second terminal device (the terminal receiving the contact information to be shared), so that the second terminal device can execute the shared contact A method of updating any address book on the information receiving side.
本发明实施例还公开了一种载有所述计算机程序的载体。The embodiment of the invention also discloses a carrier carrying the computer program.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现,相应地,上述实施例中的各模块/模块可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本申请不限制于任何特定形式的硬件和软件的结合。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention. One of ordinary skill in the art will appreciate that all or a portion of the steps described above can be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic or optical disk, and the like. Optionally, all or part of the steps of the foregoing embodiments may also be implemented by using one or more integrated circuits. Accordingly, each module/module in the foregoing embodiment may be implemented in the form of hardware, or may be implemented by using a software function module. Formal realization. This application is not limited to any specific combination of hardware and software.
工业实用性Industrial applicability
本发明的技术方案应用于分别设置有社交软件的终端设备之间,通过社交软件发送和接收共享的联系人信息,实现了通讯录的自动更新。 The technical solution of the present invention is applied to terminal devices respectively provided with social software, and the shared contact information is transmitted and received through the social software, thereby realizing automatic update of the address book.

Claims (14)

  1. 一种通讯录更新的方法,应用于设置有社交软件的终端设备,所述方法包括:A method for updating an address book is applied to a terminal device provided with social software, the method comprising:
    所述终端设备收到联系人信息共享提示,之后,所述终端设备获取M个待共享联系人的信息;Receiving, by the terminal device, a contact information sharing prompt, after which the terminal device acquires information of the M to-be-shared contacts;
    所述终端设备通过所述社交软件将M个所述待共享联系人的信息发送给N个预定的用户账号;Sending, by the social device, the information of the M to-be-shared contacts to the N predetermined user accounts by using the social software;
    其中,M和N均为大于或者等于1的正整数。Where M and N are positive integers greater than or equal to 1.
  2. 如权利要求1所述的通讯录更新的方法,其中:The method of updating an address book of claim 1 wherein:
    所述终端设备通过所述社交软件将M个所述待共享联系人的信息发送给N个预定的用户账号的步骤包括:The step of the terminal device transmitting the information of the M to be shared contacts to the N predetermined user accounts by using the social software includes:
    将M个所述待共享联系人的信息按照预定的数据格式封装成数据信息;Encapsulating the information of the M to be shared contacts into data information according to a predetermined data format;
    将所述数据信息通过所述终端设备的社交软件发送给N个所述预定的用户账户,Transmitting the data information to the N predetermined user accounts through the social software of the terminal device,
    其中,所述待共享联系人的信息包括有待共享联系人对应的电话号码。The information of the to-be-shared contact includes a phone number corresponding to the contact to be shared.
  3. 如权利要求2所述的通讯录更新的方法,其中,所述终端设备获取M个待共享联系人的信息的步骤之前,该方法还包括:The method for updating an address book according to claim 2, wherein the method further comprises: before the step of the terminal device acquiring the information of the M contacts to be shared, the method further comprising:
    检测所述终端设备的SIM卡是否更新,当检测到所述SIM卡更新时,向所述终端设备发送联系人信息共享提示;Detecting whether the SIM card of the terminal device is updated, and when detecting the SIM card update, sending a contact information sharing prompt to the terminal device;
    所述方法还包括:The method further includes:
    通过所述终端设备的社交软件将所述终端设备的SIM卡标识发送给N个所述预定的用户账号。Sending, by the social software of the terminal device, the SIM card identifier of the terminal device to the N predetermined user accounts.
  4. 一种通讯录更新的方法,应用于设置有社交软件的终端设备,所述方法包括:A method for updating an address book is applied to a terminal device provided with social software, the method comprising:
    通过所述终端设备的社交软件登录的用户账户接收M个待共享联系人的信息;Receiving, by the user account logged in by the social software of the terminal device, information of the M contacts to be shared;
    所述终端设备根据接收到的信息更新通讯录中M个所述待共享联系人的 信息;Updating, by the terminal device, the M to-be-shared contacts in the address book according to the received information information;
    其中,M为大于或者等于1的正整数。Where M is a positive integer greater than or equal to 1.
  5. 如权利要求4所述的通讯录更新的方法,其中,所述通过所述终端设备的社交软件登录的用户账户接收M个待共享联系人的信息的步骤包括:The method for updating an address book according to claim 4, wherein the step of receiving, by the user account logged in by the social software of the terminal device, information of the M contacts to be shared includes:
    通过所述终端设备的社交软件登录的用户账户接收数据信息;Receiving data information by a user account logged in by the social software of the terminal device;
    所述终端设备按照预定的数据格式对所述数据信息进行解封装,得到所述M个待共享联系人的信息,其中,所述待共享联系人的信息包括该待共享联系人对应的电话号码。The terminal device decapsulates the data information according to a predetermined data format, and obtains information of the M to be shared contacts, where the information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact .
  6. 一种通讯录更新的方法,应用于分别设置有社交软件的第一终端设备和第二终端设备之间,所述方法包括:A method for updating an address book is applied between a first terminal device and a second terminal device respectively provided with social software, and the method includes:
    所述第一终端设备收到联系人信息共享提示,之后,所述第一终端设备获取M个待共享联系人的信息;The first terminal device receives the contact information sharing prompt, and then the first terminal device acquires information of the M to-be-shared contacts;
    所述第一终端设备通过自身的社交软件将所述M个待共享联系人的信息发送给N个预定的用户账号;Transmitting, by the first terminal device, the information of the M to be shared contacts to the N predetermined user accounts by using the social software of the first terminal device;
    所述第二终端设备的社交软件登录的用户账户接收M个待共享联系人的信息,之后,所述第二终端设备根据接收到的信息更新通讯录中M个所述待共享联系人的信息;The user account logged in by the social software of the second terminal device receives information of the M contacts to be shared, and then the second terminal device updates the information of the M contacts to be shared in the address book according to the received information. ;
    其中,M为大于或者等于1的正整数。Where M is a positive integer greater than or equal to 1.
  7. 如权利要求6所述的通讯录更新的方法,其中,所述第一终端设备通过自身的社交软件将M个所述待共享联系人的信息发送给N个预定的用户账号的步骤包括:The method for updating an address book according to claim 6, wherein the step of the first terminal device transmitting the information of the M to be shared contacts to the N predetermined user accounts by using the social software of the first terminal device comprises:
    将所述M个待共享联系人的信息按照预定的数据格式封装成数据信息;Encapsulating the information of the M to-be-shared contacts into data information according to a predetermined data format;
    将所述数据信息通过所述第一终端设备的社交软件发送给N个所述预定的用户账户,Transmitting the data information to the N predetermined user accounts by using the social software of the first terminal device,
    其中,所述待共享联系人的信息包括有该待共享联系人对应的电话号码。The information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact.
  8. 如权利要求7所述的通讯录更新的方法,其中,所述第二终端设备的社交软件登录的用户账户接收M个待共享联系人的信息,之后,所述第二终 端设备根据接收到的信息更新通讯录中所述M个待共享联系人的信息的步骤包括:The method for updating an address book according to claim 7, wherein the user account of the social software login of the second terminal device receives information of the M contacts to be shared, and then the second terminal The step of updating, by the terminal device, the information of the M to-be-shared contacts in the address book according to the received information includes:
    所述第二终端设备通过自身的社交软件登录的用户账户接收到数据信息,之后,所述第二终端设备按照预定的数据格式对所述数据信息进行解封装,得到所述M个待共享联系人的信息;Receiving, by the second terminal device, the data information by using the user account that is logged in by the social software, and then the second terminal device decapsulates the data information according to a predetermined data format, to obtain the M to be shared. Human information;
    所述第二终端设备根据解封装得到的信息更新通讯录中M个所述待共享联系人的信息;The second terminal device updates information of the M to-be-shared contacts in the address book according to the information obtained by decapsulation;
    其中,所述待共享联系人的信息包括该待共享联系人对应的电话号码。The information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact.
  9. 如权利要求8所述的通讯录更新的方法,其中,所述第一终端设备获取M个待共享联系人的信息的步骤之前,该方法还包括:The method for updating an address book according to claim 8, wherein before the step of the first terminal device acquiring the information of the M contacts to be shared, the method further includes:
    所述第一终端设备检测自身的SIM卡是否更新,当检测到所述SIM卡更新时,向所述第一终端设备发送联系人信息共享提示;The first terminal device detects whether the SIM card of the user is updated, and when detecting the SIM card update, sends a contact information sharing prompt to the first terminal device;
    所述方法还包括:The method further includes:
    通过所述第一终端设备的社交软件将所述第一终端设备的SIM卡标识发送给所述N个预定的用户账号。Transmitting, by the social software of the first terminal device, the SIM card identifier of the first terminal device to the N predetermined user accounts.
  10. 一种通讯录更新的装置,设置于终端设备,所述装置包括配置模块和发送模块,其中,An apparatus for updating an address book is provided in a terminal device, where the device includes a configuration module and a sending module, where
    所述配置模块设置成:所述终端设备收到联系人信息共享提示后,获取M个待共享联系人的信息;The configuration module is configured to: after receiving the prompt information sharing prompt, the terminal device acquires information of the M to-be-shared contacts;
    所述发送模块设置成:通过所述终端设备的社交软件将M个所述待共享联系人的信息发送给N个预定的用户账号;The sending module is configured to: send, by the social software of the terminal device, information of the M to be shared contacts to N predetermined user accounts;
    其中,M和N均为大于或者等于1的正整数。Where M and N are positive integers greater than or equal to 1.
  11. 如权利要求10所述的通讯录更新的装置,其中,所述发送模块设置成按照如下方式通过所述终端设备的社交软件将M个所述待共享联系人的信息发送给N个预定的用户账号:The device for updating an address book according to claim 10, wherein the transmitting module is configured to transmit information of the M to-be-shared contacts to N predetermined users through social software of the terminal device in the following manner account number:
    将所述M个待共享联系人的信息按照预定的数据格式封装成数据信息;Encapsulating the information of the M to-be-shared contacts into data information according to a predetermined data format;
    将所述数据信息通过所述终端设备的社交软件发送给N个所述预定的用 户账户,Transmitting the data information to the N predetermined users through the social software of the terminal device Account,
    其中,所述待共享联系人的信息包括有该待共享联系人对应的电话号码。The information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact.
  12. 如权利要求11所述的通讯录更新的装置,所述装置还包括检测模块,其中The apparatus for updating an address book of claim 11, the apparatus further comprising a detection module, wherein
    所述检测模块设置成:检测所述终端设备的SIM卡是否更新,当检测到所述SIM卡更新后,向所述终端设备发送联系人信息共享提示;The detecting module is configured to: detect whether the SIM card of the terminal device is updated, and send a contact information sharing prompt to the terminal device after detecting the SIM card update;
    所述发送模块还设置成:通过所述终端设备的社交软件将所述终端设备的SIM卡标识发送给N个所述预定的用户账号。The sending module is further configured to: send, by the social software of the terminal device, the SIM card identifier of the terminal device to the N predetermined user accounts.
  13. 一种通讯录更新的装置,设置于设置有社交软件的终端设备,所述装置包括接收模块和更新模块,其中A device for updating an address book, disposed in a terminal device provided with social software, the device comprising a receiving module and an updating module, wherein
    所述接收模块设置成:通过所述终端设备的社交软件登录的用户账户接收M个待共享联系人的信息;The receiving module is configured to: receive, by using a user account that is registered by the social software of the terminal device, information of the M to be shared contacts;
    所述更新模块设置成:所述终端设备根据所述接收模块接收到的信息更新通讯录中M个所述待共享联系人的信息;The update module is configured to: the terminal device update information of the M to-be-shared contacts in the address book according to the information received by the receiving module;
    其中,M为大于或者等于1的正整数。Where M is a positive integer greater than or equal to 1.
  14. 如权利要求13所述的通讯录更新的装置,其中,所述接收模块设置成按照如下方式通过所述终端设备的社交软件登录的用户账户接收M个待共享联系人的信息:The apparatus for updating an address book according to claim 13, wherein the receiving module is configured to receive information of M to-be-shared contacts by a user account of the social software login of the terminal device as follows:
    通过所述终端设备的社交软件登录的用户账户接收数据信息;Receiving data information by a user account logged in by the social software of the terminal device;
    所述终端设备按照预定的数据格式对所述数据信息进行解封装,得到M个所述待共享联系人的信息;其中,所述待共享联系人的信息包括该待共享联系人对应的电话号码。 The terminal device decapsulates the data information according to a predetermined data format, and obtains information of the M to be shared contacts; wherein the information of the to-be-shared contact includes a phone number corresponding to the to-be-shared contact .
PCT/CN2015/080793 2014-12-23 2015-06-04 Contact list updating method and device thereof WO2016101548A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410815617.9A CN105791520A (en) 2014-12-23 2014-12-23 Contact list updating method and coresponding apparatus
CN201410815617.9 2014-12-23

Publications (1)

Publication Number Publication Date
WO2016101548A1 true WO2016101548A1 (en) 2016-06-30

Family

ID=56149113

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/080793 WO2016101548A1 (en) 2014-12-23 2015-06-04 Contact list updating method and device thereof

Country Status (2)

Country Link
CN (1) CN105791520A (en)
WO (1) WO2016101548A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786749A (en) * 2017-10-31 2018-03-09 努比亚技术有限公司 A kind of information processing method, terminal and computer-readable recording medium
CN110995875B (en) * 2018-09-06 2023-10-31 上海伴我科技有限公司 Address book operation method, electronic equipment and medium
CN109639876A (en) * 2018-12-19 2019-04-16 马佳成 Contact management method, device and storage medium
CN110572508B (en) * 2019-09-03 2021-02-26 捷开通讯(深圳)有限公司 Address book synchronization method and device, storage medium and electronic equipment
CN112040055B (en) * 2020-08-28 2022-01-07 腾讯科技(深圳)有限公司 Communication behavior processing method and device, server and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964963A (en) * 2010-10-14 2011-02-02 鸿富锦精密工业(深圳)有限公司 Name card sending, receiving and updating method and system for electronic equipment
CN102098661A (en) * 2010-12-27 2011-06-15 华为终端有限公司 Mobile terminal and method for processing information of SIM (subscriber identity module) card
CN103326923A (en) * 2012-03-21 2013-09-25 腾讯科技(深圳)有限公司 Method and device for information sharing
CN103747434A (en) * 2013-11-27 2014-04-23 孙博 Relevant contact person address list automatic updating system and method in case of number change
CN104092826A (en) * 2014-07-17 2014-10-08 中兴通讯股份有限公司 Method and device for sharing personal information on terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101964963A (en) * 2010-10-14 2011-02-02 鸿富锦精密工业(深圳)有限公司 Name card sending, receiving and updating method and system for electronic equipment
CN102098661A (en) * 2010-12-27 2011-06-15 华为终端有限公司 Mobile terminal and method for processing information of SIM (subscriber identity module) card
CN103326923A (en) * 2012-03-21 2013-09-25 腾讯科技(深圳)有限公司 Method and device for information sharing
CN103747434A (en) * 2013-11-27 2014-04-23 孙博 Relevant contact person address list automatic updating system and method in case of number change
CN104092826A (en) * 2014-07-17 2014-10-08 中兴通讯股份有限公司 Method and device for sharing personal information on terminal

Also Published As

Publication number Publication date
CN105791520A (en) 2016-07-20

Similar Documents

Publication Publication Date Title
WO2016101548A1 (en) Contact list updating method and device thereof
EP3000217B1 (en) Electronic device using logical channels for communication
KR102311613B1 (en) Method and Apparatus for Transmitting Integrated Message
US20200374403A1 (en) Methods and systems for notifications in communications networks
CN103107974B (en) A kind of user's registration and login method and mobile terminal
JP2014042260A5 (en) Management system, registration method, and program
US20210160079A1 (en) Wearable smart terminal, cloud server, memory device and friend addition method
CN107624256A (en) Apparatus and method for performing paging processing in a wireless communication system
EP3242494B1 (en) Nfc-based communication device and method
CN104144106A (en) Information forwarding method, device and system
US10250732B2 (en) Message processing method and system, and related device
WO2011011998A1 (en) Method and device for looking up the information of contacts in mobile communication terminal
WO2014101477A1 (en) Near field communication method and device
CN103763112A (en) User identity protection method and apparatus
CN106453402A (en) Data processing method and device
JP2016541148A5 (en)
WO2016145853A1 (en) Call forwarding method and device
CN106888431A (en) The method and system of good friend are added on a kind of intelligent watch
CN103036762B (en) Information processing method in instant messaging and device
US9674785B2 (en) Terminal management apparatus, terminal, communication system, terminal management method, and program
EP2842356B1 (en) Updating subscription information
WO2016202205A1 (en) Device connection method, apparatus, and system
CN110049460A (en) The smartwatch making friends method and equipment of server end
US8832192B2 (en) Information processing system, information processing method, information processing device, information processing device control method, information processing terminal, information processing terminal control method, information storage medium and program
CN104902429A (en) Method for short-range message broadcast

Legal Events

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

Ref document number: 15871623

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15871623

Country of ref document: EP

Kind code of ref document: A1