WO2015010591A1 - Method and terminal device for adding contacts - Google Patents

Method and terminal device for adding contacts Download PDF

Info

Publication number
WO2015010591A1
WO2015010591A1 PCT/CN2014/082662 CN2014082662W WO2015010591A1 WO 2015010591 A1 WO2015010591 A1 WO 2015010591A1 CN 2014082662 W CN2014082662 W CN 2014082662W WO 2015010591 A1 WO2015010591 A1 WO 2015010591A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
module
contact information
contact
client
Prior art date
Application number
PCT/CN2014/082662
Other languages
French (fr)
Inventor
Dong Xie
Xinyu CUI
Original Assignee
Tencent Technology (Shenzhen) Company Limited
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 Tencent Technology (Shenzhen) Company Limited filed Critical Tencent Technology (Shenzhen) Company Limited
Publication of WO2015010591A1 publication Critical patent/WO2015010591A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/2753Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content
    • H04M1/2757Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content by data transmission, e.g. downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/04Details of telephonic subscriber devices including near field communication means, e.g. RFID

Definitions

  • the present disclosure relates to communications technology, and particularly, to a method and a terminal device for adding contacts.
  • IM instant messaging
  • SNS social networking services
  • Various examples of the present disclosure provide a method and a terminal device for adding contacts to reduce the complexity of the process of adding contacts.
  • the method for adding contacts may include: receiving, by a first client, an instruction sent by a user for adding a contact; sending, by the first client, first contact information via a first near field communication (NFC) module; receiving, by the first client via the first NFC module, second contact information sent by a second client via a second NFC module; and adding, by the first client, the second contact information into a contact list.
  • NFC near field communication
  • the terminal device may include: a monitoring module, configured to receive an instruction sent by a user for adding a contact; a sending and receiving module, configured to send first contact information via a first NFC module, and to receive, via the first NFC module, second contact information sent by a second terminal device via a second NFC module; and an adding module, configured to add the second contact information into a contact list.
  • Various examples transport contact information by using NFC techniques.
  • the NFC techniques feature in that there is no procedure for pairing two terminal devices.
  • a user may obtain contact information of a target user simply by placing his/her terminal device near the terminal device of the target user or making his/her terminal device in contact with the terminal device of the target user, thus does not have to mannually select the target terminal device for exchanging contact information.
  • the process of adding contacts does not involve any mannual intervention, thus is fast and convenient.
  • FIG. 1 is a flowchart illustrating a method for adding contacts in accordance with examples of the present disclosure
  • FIG. 2A is a flowchart illustrating a method for adding contacts in accordance with examples of the present disclosure
  • FIG. 2B is a schematic diagram illustrating a control for adding contacts in accordance with examples of the present disclosure
  • Fig. 2C is a schematic diagram illustrating an image displayed on a screen of a terminal device when two terminal devices are exchanging contact information via respective NFC modules in accordance with examples of the present disclosure
  • FIG. 3 is a block diagram illustrating modules of a terminal device in accordance with examples of the present disclosure
  • Fig. 4 is a block diagram illustrating modules of a terminal device in accordance with examples of the present disclosure
  • Fig. 5 is a flowchart illustrating a system for adding contacts in accordance with examples of the present disclosure
  • FIG. 6A is a flowchart illustrating a system for adding contacts in accordance with examples of the present disclosure
  • Fig. 6B is a schematic diagram illustrating two terminal devices exchanging contact information
  • Fig. 7 is a block diagram illustrating modules of a terminal device.
  • Fig. 8 is a flowchart illustrating a method for adding contacts in accordance with examples of the present disclosure.
  • Fig. 1 is a flowchart illustrating a method for adding contacts in accordance with examples of the present disclosure.
  • the method takes a process of adding a contact executed by a first terminal device as an example.
  • the method may include the following procedures.
  • the first terminal device monitors whether a process of adding contact information has been started, and performs the procedure in block S 13 after detecting the process of adding contact information has been started.
  • the first terminal device may switch on a first wireless communication module to communicate with a second terminal device.
  • the second terminal device may switch on a second wireless communication module to communicate with the first terminal device.
  • the first terminal device may send a first message to the second terminal device via the first wireless communication module, and receive a second message sent by the second terminal device via the second wireless communication module.
  • the first terminal device may automatically switch on the first wireless communication module to communicate with the second terminal device, and automatically send the first message to the second terminal device via the first wireless communication module.
  • the second terminal device may also start the process of adding contact information according to the needs to switch on the second wireless communication module and establish communications with the first terminal device.
  • the second terminal device may also automatically send the second message to the first terminal device.
  • the first terminal device may parse the second message sent by the second terminal device, obtain a command ID from the parsed second message, and add contact information in the second message to a specified location according to the command ID.
  • the command ID may include digits, character strings and the like.
  • a command ID set to be 1 indicates adding the contact information into a contact list in the first terminal device.
  • a command ID set to be 2 may indicate adding account information of a contact into a contact list of a chatting application. The position where the contact information in the second message is to be added may be obtained from the command ID.
  • the first terminal device switches on a first wireless communication module to establish communication with a second terminal device, sends a first message to the second terminal device via the first wireless communication module, and receives a second message sent by the second terminal device.
  • the first terminal device parses the second message received from the second terminal device, obtains a command ID from the second message, and adds contact information in the second message to a position specified by the command ID.
  • the method solves the problem that conventional methods for adding contacts are complex.
  • the method automatically adds contact information, and contact information may be exchanged between the first terminal device and the second terminal device instead of being mannually inputted. Therefore, contact information may be added quickly, conveniently and completely.
  • Fig. 2A is a flowchart illustrating a method for adding contacts in accordance with examples of the present disclosure. The method takes a process of a first terminal device adding a contact as an example. The method may include the following procedures.
  • the first terminal device may define a format of a first message in advance.
  • the format of the first message may include a command ID and contact information.
  • the command ID may include digits, character strings and so on.
  • a command ID set to be 1 may indicate adding the contact information into a phone book in the first terminal device.
  • a command ID set to be 2 may indicate adding an account ID of a contact into a contact list of a chatting application.
  • the contact information may include a name, a phone number, an email address, a home address, an account ID of a chatting application service, and so on.
  • the first terminal device judges whether a process of adding contact information has been started, performs the procedure of block S25 if the process of adding contact information has been started, or performs the procedure of block S23 if the process of adding contact information has not been started.
  • the process of the first terminal device judging whether the process of adding contact information has been started may include:
  • the process of adding contact information may be started by performing an operation on the control 220 as shown in Fig. 2B .
  • Fig. 2B illustrates a control for adding contacts using Near Field Communication (NFC).
  • NFC Near Field Communication
  • other controls may be provided according to the needs.
  • the first terminal device may switch on a first wireless communication module to communicate with a second terminal device.
  • the second terminal device may switch on a second wireless communication module to communicate with the first terminal device.
  • the first terminal device may send a first message to the second terminal device via the first wireless communication module, and receive a second message sent by the second terminal device via the second wireless communication module.
  • the first terminal device may automatically switches on the first wireless communication module to communicate with the second terminal device, and automatically send the first message to the second terminal device via the first wireless communication module.
  • the second terminal device may also start the process of adding contact information according to the needs to switch on the second wireless communication module and establish communications with the first terminal device.
  • the second terminal device may also automatically send the second message to the first terminal device. If the second terminal device is not going to send the second message to the first terminal device, the second terminal device may not start the process of adding contact information. The second terminal device may only switches on the second wireless communication module to establish communication with the first terminal device.
  • the procedure in block S25 may also include: the second terminal device starts the process of adding contact information, and switches on the second wireless communication module.
  • the process for adding contact information may be started by an operation on the control 220 as shown in Fig. 2B. After an operation is performed on the control, the second wireless communication module may be switched on automatically.
  • the first wireless communication module and the second wireless communication module may be an NFC module, a blue-tooth module or a WiFi module, and so on.
  • Fig. 2C is a schematic diagram illustrating an image displayed on a screen of a terminal device when two terminal devices are exchanging contact information via respective NFC modules in accordance with examples of the present disclosure.
  • the contact information in the first message may be obtained automatically according to the command ID.
  • the command ID is 2
  • the account ID that logs on the chatting application installed in the terminal device may be obtained automatically and serve as the contact information.
  • the first terminal device may parse the second message sent by the second terminal device, obtain a command ID from the parsed second message, and add contact information in the second message to a specified position according to the command ID.
  • the command ID may include digits, character strings and the like.
  • a command ID set to be 1 may indicate adding the contact information into a contact list in the first terminal device.
  • a command ID set to be 2 may indicate adding a contact ID into a contact list maintained by a chatting application. The position where the contact information in the second message is to be added may be obtained from the command ID.
  • the format of the first message may be any format.
  • the first message may include information other than the contact inforamtion, so that the information sent by the second terminal device is received and added to a specified position.
  • the method may also include the following procedures.
  • the first terminal device stores in advance a list of relationships which associate command IDs with specified positions where the contact information is to be added.
  • the first terminal device searches the list using the obtained command ID, and finds the specified position identified by the command ID to add the contact information.
  • the command ID is 2, and a pre-stored relationship indicates adding contact information into a contact list of a chatting application when the command ID is 2. According to the relationship, it may be determined based on the list of relationships that the obtained command ID 2 indicates adding the contact list into a contact list of the chatting application.
  • the process of adding the contact information in the second message to a specified position accordign to the command ID in block S27 may include the following procedures.
  • the first terminal device may send the contact information to a server of the chatting application.
  • the server may add the contact information into the contact list of the chatting application.
  • the method for adding contacts may also include: generating the first message based on a pre-defined format, and sending the first message to the second terminal device via the first wireless communication module. Therefore, needed messages may be generated based on pre-defined configurations, and the user does not have to mannually input the contact information and mannually send the message from the first terminal device to the second terminal device.
  • the contact information may be received and added to a specified position fast and conveniently.
  • Fig. 3 is a block diagram illustrating modules of a terminal device in accordance with examples of the present disclosure.
  • the terminal device may include a monitoring module 301, a sending and receiving module 303 and an adding module 305.
  • the monitoring module 301 judges whether a process of adding contact information has been started.
  • the monitoring module 301 may display a control for adding contacts, determine that the process of adding contact information has been started after detecting an operation performed on the control for adding contacts, or determine that the process of adding contact information has not been started if no operation on the control is detected.
  • the sending and receiving module 303 may switch on a first wireless communication module to communicate with a second terminal device.
  • the second terminal device may switch on a second wireless communication module to communicate with the first terminal device.
  • the sending and receiving module 303 may send a first message to the second terminal device via the first wireless communication module, and receive a second message sent by the second terminal device.
  • the first wireless communication module and the second wireless communication module may be NFC modules, blue-tooth modules or WiFi modules, or the like.
  • the adding module 305 may parse the second message sent by the second terminal device, obtain a command ID from the parsed second message, and add contact information in the second message to a specified position according to the command ID.
  • the terminal device of various examples switches on a first wireless communication module after detecting the process of adding contact information has been started to establish communication with a second terminal device, sends a first message to the second terminal device via the first wireless communication module, and receives a second message sent by the second terminal device; parses the second message received from the second terminal device, obtains a command ID from the second message, and adds contact information in the second message to a position specified by the command ID.
  • the terminal device solves the problem that conventional methods for adding contacts are complex.
  • the terminal device automatically adds contact information, and contact information may be exchanged between the first terminal device and the second terminal device instead of being mannually inputted. Therefore, contact information may be added quickly, conveniently and completely.
  • Fig. 4 is a block diagram illustrating modules of a terminal device in accordance with examples of the present disclosure.
  • the terminal is different from the terminal device as shown in Fig. 3 in that the terminal further includes a configuring module 401.
  • the configuring module 401 may pre-define a format of the first message.
  • the format of the first message may include a command ID and contact information.
  • the sending and receiving module 303 may include an information generating module 403.
  • the information generating module 403 may generate the first message according to the pre-defined format, send the first message to the second terminal device via the first wireless communication module.
  • the contact information in the first message is obtained automatically according to the command ID.
  • the adding module 305 may include a storage module 405 and a searching module 407.
  • the storage module 405 may store a list of relationships which associate command IDs with specified positions where the contact information is to be added.
  • the searching module 407 may search the list using the obtained command ID, and find the specified position identified by the command ID to add the contact information.
  • the searching module 407 may also send the contact information to a server of a chatting application if the search result based on the command ID indicates that the contact information is to be added to a contact list maintained by the chatting application, so that the server adds the contact information into the contact list of the chatting application.
  • the searching module 407 may add the contact information into a phone book if the search result based on the command ID indicates that the contact information is to be added to the phone book.
  • the terminal device for adding contacts may generate the first message based on a pre-defined format, and send the first message to the second terminal device via the first wireless communication module. Therefore, needed messages may be generated based on pre-defined configurations, and the user does not have to mannually input the contact information and mannually send the message from the first terminal device to the second terminal device.
  • the contact information may be received and added to a specified position fast and conveniently.
  • Fig. 5 is a flowchart illustrating a system for adding contacts in accordance with examples of the present disclosure.
  • the system may include a first terminal device and a second terminal device.
  • the first terminal device may include a first monitoring module 501, a first sending and receiving module 503 and a first adding module 505.
  • the second terminal device may include a second monitoring module 521, a second sending and receiving module 523 and a second adding module 525.
  • the first monitoring module 501 judges whether a process of adding contact information has been started.
  • the second monitoring module 521 judges whether a process of adding contact information has been started.
  • the first sending and receiving module 503 switches on a first wireless communication module to establish communication with the second terminal device after detecting the process of adding contact information has been started, sends a first message to the second terminal device via the first wireless communication module, and receives a second message sent by the second terminal device.
  • the second sending and receiving module 523 switches on a second wireless communication module to establish communication with the first terminal device after detecting the process of adding contact information has been started, sends the second message to the first terminal device via the second wireless communication module, and receives the first message sent by the first terminal device.
  • the first adding module 505 parses the second message sent by the second terminal device, obtains a command ID from the parsed second message, and adds contact information in the second message to a specified position according to the command ID.
  • the second adding module 525 parses the first message sent by the first terminal device, obtains a command ID from the parsed first message, and adds contact information in the first message to a specified position according to the command ID.
  • the first terminal device switches on a first wireless communication module to establish communication with a second terminal device after detecting the process of adding contact information has been started, sends a first message to the second terminal device via the first wireless communication module, and receives a second message sent by the second terminal device.
  • the first terminal device parses the second message received from the second terminal device, obtains a command ID from the second message, and adds contact information in the second message to a position specified by the command ID.
  • the system solves the problem that conventional methods for adding contacts are complex.
  • the system adopts a manner which automatically adds contact information, and contact information may be exchanged between the first terminal device and the second terminal device instead of being mannually inputted. Therefore, contact information may be added quickly, conveniently and completely.
  • Fig. 6A is a block diagram illustrating a system for adding contacts in accordance with examples of the present disclosure.
  • the system is different from the system as shown in Fig. 5 in that the first terminal device also includes a configuring module 601 and that the second terminal device also includes a configuring module 621.
  • the configuring module 601 pre-defines a format of the first message.
  • the format of the first message includes a command ID and contact information.
  • the configuring module 621 pre-defines a format of the second message.
  • the format of the second message includes a command ID and contact information.
  • the first sending and receiving module 503 includes a first information generating module 603.
  • the second sending and receiving module 523 may include a second information generating module 623.
  • the first information generating module 603 generates the first message according to the pre-defined format, sends the first message to the second terminal device via the first wireless communication module.
  • the contact information in the first message is obtained automatically according to the command ID during the process of generating the first message.
  • the second information generating module 623 generates the second message according to the pre-defined format, sends the second message to the first terminal device via the second wireless communication module.
  • the contact information in the second message is obtained automatically according to the command ID during the process of generating the second message.
  • the first adding module 505 includes a first storage module 605 and a first searching module 607.
  • the second adding module 525 includes a second storage module 625 and a second searching module 627.
  • the first storage module 605 stores a list of relationships which associate command IDs with specified positions where the contact information is to be added.
  • the first searching module 607 searches the list using the obtained command ID, and finds the specified position identified by the command ID to add the contact information.
  • the first searching module 607 may also send the contact information to a server of a chatting application if the search result based on the command ID indicates that the contact information is to be added to a contact list maintained by the chatting application, so that the server adds the contact information into the contact list of the chatting application.
  • the first searching module 407 may add the contact information into a phone book if the search result based on the command ID indicates that the contact information is to be added to the phone book.
  • the second storage module 625 stores a list of relationships which associate command IDs with specified positions where the contact information is to be added.
  • the second searching module 627 searches the list using the obtained command ID, and finds the specified position identified by the command ID to add the contact information.
  • the second searching module 627 may also send the contact information to a server of a chatting application if the search result based on the command ID indicates that the contact information is to be added to a contact list of the chatting application, so that the server adds the contact information into the contact list of the chatting application.
  • the searching module 407 may add the contact information into a phone book if the search result based on the command ID indicates that the contact information is to be added to the phone book.
  • Fig. 6B is a schematic diagram illustrating two terminal devices (e.g., mobile phone 631 and mobile phone 633) exchanging contact information.
  • mobile phone 631 may automatically switches on a first wireless module to establish communication with mobile phone 633.
  • mobile phone 633 may also start the process of adding contact information, automatically switches on a second wireless communication mobile to establish communication with mobile phone 631.
  • Mobile phones 631 and 633 may send contact information automatically to each other via respective wireless communication modules.
  • Mobile phones 631 and 633 parse received messages respectively.
  • mobile phone 631 if the command ID in the message received by mobile phone 631 indicates adding an account ID of a contact into a contact list of a chatting application, mobile phone 631 may send the account ID in the message to server 635. Server 635 adds the contact information into the contact list of the chatting application.
  • the system for adding contacts of various examples may also generate a message based on a pre-defined format, and send the message to another terminal device via a wireless communication module. Therefore, needed messages may be generated based on pre-defined configurations, and the user does not have to mannually input the contact information to send the contact information. The contact information may be received and added to a specified position fast and conveniently.
  • Fig. 8 is a flowchart illustrating a method for adding contacts in accordance with examples of the present disclosure. The method may include the following procedures.
  • a first client receives an instruction for adding contacts sent by a user.
  • the first client may be an application provided by an operating system in a terminal device, e.g., a phone book app, or an application installed in the terminal device, e.g., an IM app, or an SNS app or the like.
  • the first client may provide a control for adding contacts via NFC in a user interface.
  • an action on the control e.g., clicks on the control
  • the first client may regard the operation on the control by the user as the instruction for adding contacts.
  • the first client sends first contact information via a first NFC module.
  • the first client may send an account ID or namecard data of a user logging on the first client via the first NFC module as the first contact information.
  • the account ID or namecard data or other information of a user who accesses an IM server or an SNS server via the first client may be used as the first contact information and be sent via the NFC module.
  • the account information or namecard data of each other may be received via NFC modules in respective terminal devices.
  • the first client may take an account ID or namecard data stored in the first client that is of a user other than the user logging on the first client as the first contact information, and send the account ID or the namecard data via the first NFC module.
  • the first client may take an account ID or namecard data of a contact stored a contact list maintained by the first client or in the terminal device (e.g., an account ID or namecard data of a contact in IM services or SNS services, or information of a contact in a phone book) as the first contact information, and send the information via the NFC module in the terminal device.
  • a contact list maintained by the first client or in the terminal device
  • the terminal device e.g., an account ID or namecard data of a contact in IM services or SNS services, or information of a contact in a phone book
  • the client may specify the type of contact information and the storage manner of the contact information by using the format of "command ID+contact information" as defined in the above examples. Other formats may also be used in various examples. The format is not elaborated herein.
  • the first client receives via the first NFC module second contact information sent by a second client via a second NFC module.
  • the second client may receive an instruction from another user for adding contacts, and sends second contact information via an NFC module of a second terminal device.
  • the first client may receive the second contact information sent by the second client, and the second client may receive the first contact information sent by the first client.
  • the first client adds the second contact information into a contact list.
  • Various examples exchange contact information by using NFC techniques.
  • the NFC techniques feature in that there is no procedure for pairing two communicating devices. As such, the user may obtain contact information of a target user simply by placing his/her terminal device near the terminal device of the target user or making his/her terminal device contact with the terminal device of the target user, thus does not have to mannually select the target for sending the contact information.
  • the process of adding contacts does not involve any mannual intervention, is fast and convenient.
  • the first client may judge whether the NFC module has been switched on. If the NFC module has not been switched on, the first client switches on the NFC module. If the NFC module has been switched on, the first client may prepare to send and receive contact information via the NFC module.
  • the first client may also add the second contact into a list of contacts the user recently contacted with, also referred to as recent contact list. As such, the user is enabled to fast locate the newly added contact.
  • the first client may add the second contact into the contact list by sending a request to a server.
  • the request may include the second contact information and a pre-defined identity.
  • the server may add the second contact into the contact list of the user according to the pre-defined identity without obtaining consent from the second contact, i.e., without asking the second contact whether the second contact agrees adding the second contact into the contact list of the user of the first client according to the pre-defined identity.
  • the pre-defined identity may be set to be a pre-defined value which indicates the information of the second contact is obtained via NFC.
  • a terminal device of a user may include an NFC module, and the modules as shown in Fig. 3.
  • the monitoring module 301 may receive an instruction sent by a user for adding a contact.
  • the sending and receiving module 303 may send first contact information via a first NFC module, and receive via the first NFC module second contact information sent by a second terminal device via a second NFC module.
  • the adding module 305 may add the second contact information into a contact list.
  • the sending and receiving module 303 may send an account ID or namecard data of the user stored in the terminal device via the first NFC module as the first contact information.
  • the sending and receiving module 303 may send an account ID or namecard data of a second user other than the user of the terminal device via the first NFC module as the first contact information.
  • the sending and receiving module 303 may send a request to a server.
  • the request may include the second contact information and a pre-defined identity so that the server may add the second contact into a contact list of the user without obtaining consent from the second contact according to the pre-defined identity.
  • the adding module 305 may also add the second contact into a recent contact list so that the user may quickly locate the newly added contact.
  • the terminal device may also include a user interface module.
  • the user interface module provides a control for adding contacts via NFC.
  • the monitoring module may take an operation performed on the control by the user as the instruction for adding contacts.
  • the monitoring module 301 may judge whether the first NFC module has been switched on, and switch on the NFC module if the first NFC module has not been switched on.
  • Fig. 7 is a block diagram illustrating modules of a terminal device.
  • the terminal device includes a memory 702, a memory control 704, one or multiple processors 706 (Fig. 7 only shows one processor), a peripheral interface 708, a radio frequency (RF) module 710, a camera 714, an audio module 716, a touch screen 718 and a keyboard 720.
  • the components communicate with each other via at least one bus/signal wire.
  • the modules as shown in Fig. 7 are merely an example.
  • the terminal device may include fewer or additional components, or the components may be arranged differently from the arrangement as shown in Fig. 7.
  • the components as shown in Fig. 7 may be implemented by hardware modules, software modules, or a combination of hardware and software modules.
  • the memory 702 may store software program and modules, e.g., the program instructions/modules corresponding to the method for adding contacts in the terminal device.
  • the processor 706 may implement the software program and modules stored in the memory 702 to implement various functions and data processing to implement the method for adding contacts in the terminal device.
  • the memory 702 may include a cache, or a non-transitory memory, e.g., at least one magneto storage, flash memory or other non-transitory solid state memory.
  • the memory 702 may also include a remote memory located away from the processor 706.
  • the terminal device may access the remote memory via a network.
  • the network may include, but not limited to, any or any combination of the Internet, an enterprise network, a local network, a mobile communication network.
  • the memory control 704 may control the access of the processor 706 and other possible components to the memory 702.
  • Peripheral interface 708 couples various input/output devices to the CPU and the memory 702.
  • the processor 706 runs various software and instructions in the memory 702 to implement various functions of the terminal device and to perform data processing.
  • peripheral interface 708, the processor 706 and the memory control 704 may be implemented within a single chip. In other examples, they may be implemented by individual chips respectively.
  • the RF module 710 may receive and send electromagnetic wave, implement electromagnetic wave/electric signal conversion to communicate with a communication network or other devices.
  • the RF module 710 may include various conventional circuit elements implementing those functions, e.g., an antenna, an RF transceiver, a DSP, an encryption/decryption chip, a subscriber identity module (SIM) card, a memory, and so on.
  • the RF module 710 may communicate with various networks, e.g., the Internet, an enterprise network, a wireless network, etc., or with other devices via a wireless network.
  • the above wireless network may be a cellular mobile phone network, a wireless local network or a metropolitan area network.
  • the wireless network may use various communication standards, protocols and techniques, including, but not limited to, the Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), wideband code division multiple access (W-CDMA), Code division access (CDMA), time division multiple access (TDM A), blue-tooth, Wireless Fidelity (WiFi, e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802. l lg, and/or IEEE 802.11 ⁇ ), Voice over internet protocal (VoIP), Worldwide Interoperability for Microwave Access (WiMAX), and any other protocols for email, instant messaging and SMS, and any other applicable communication protocols, even those protocols that have not been proposed yet.
  • GSM Global System for Mobile Communication
  • EDGE Enhanced Data GSM Environment
  • W-CDMA wideband code division multiple access
  • CDMA Code division access
  • TDM A time division multiple access
  • WiFi Wireless Fidelity
  • IEEE 802.11a e.g., IEEE 802.11a, IEEE 802.11b
  • the camera module 714 may capture photos or videos.
  • the photos or videos captured may be stored into the memory 702, and may be transmitted via the RF module 710.
  • the audio module 716 provides audio interfaces for users, e.g., one or multiple microphones, one or multiple loudspeakers and audio circuits.
  • the audio circuits receives audio data from the peripheral interface 708, converts the audio data into electric signals, and transmits the electric signals to the loudspeaker.
  • the loudspeaker converts the electric signal into audio waves that may be heard by human ears.
  • the audio circuit also receives electric signal from a microphone, converts the electric signal into audio data, and transmits the audio data to the peripheral interface 708 for further processing.
  • the audio data may be obtained from the memory 702 or via the RF module 710.
  • the audio data may be stored in the memory 702 or transmitted via the RF module 710.
  • the audio module 716 may include a headphone socket providing an audio interface for a headphone or other devices.
  • the touch screen 718 provides an output and input interface between the terminal device and a user.
  • the touch screen 718 may display video output for the user.
  • the video output may include any or or any combination of text, image and video.
  • the output may be in the form of objects in a user interface.
  • the touch screen 718 may also receive input information of the user, e.g., a click operation of the user, a finger gesture of the user, e.g., sliding or the like.
  • the objects in the user interface may respond to the input information of the user.
  • the method for sensing the input of the user may be resistive, capacitive or any other possible touch sensing methods.
  • the touch screen 718 may be, but not limited to, a liquid crystal display (LCD), light-emitting polymers display (LEPD), or the like.
  • the keyboard module 720 may also provide an input interface for users. The user may press different keys to make the terminal device implement different functions.
  • Various examples also provide a computer-readable storage medium which stores computer-executable instructions.
  • the computer-readable storage medium may be a non-transitory storage medium, e.g., a compact disk, a hard drive, or a flash memory.
  • the computer-executable instructions may make a computer or a computing device to implement the method for adding contacts.
  • the hardware modules may be implemented by hardware or a hardware platform with necessary software.
  • the software may include machine-readable instructions which are stored in a non-statutory storage medium.
  • the examples may be embodied as software products.
  • the hardware may be dedicated hardware or general-purpose hareware executing machine-readable instruction.
  • a hardware module may comprise dedicated circuitry or logic that is permanently configured (e.g., as a special-purpose processor, such as a field programmable gate array (FPGA) or an application- specific integrated circuit (ASIC)) to perform certain operations.
  • a module may also comprise programmable logic or circuitry (e.g., as encompassed within a general-purpose processor or other programmable processor) that is temporarily configured by software to perform certain operations.lt will be appreciated that the decision to implement a hardware module mechanically, in dedicated and permanently configured circuitry, or in temporarily configured circuitry (e.g., configured by software) may be driven by cost and time considerations.
  • a machine -readable storage medium is also provided, which is to store instructions to cause a machine to execute a method as described herein.
  • a system or apparatus having a storage medium which stores machine -readable program codes for implementing functions of any of the above examples and which may make the system or the apparatus (or CPU or MPU) read and execute the program codes stored in the storage medium.
  • Computer readable instructions may make an operating system in a computer to implement part or all of the above described operations.
  • a non-statutory computer-readable storage medium may be a storage device in an extension board inserted in the computer or a storage in an extension unit connected to the computer.
  • Program codes-based instructions may make a CPU or a processor installed in an extension board or an extension unit to implement part or all of the operations to implement any example of the present disclosure.
  • the non- statutory computer-readable storage medium for providing the program codes may include floppy disk, hard drive, magneto-optical disk, compact disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), magnetic tape drive, Flash card, ROM and so on.
  • the program code may be downloaded from a server computer via a communication network.

Landscapes

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

Abstract

Various examples of the present disclosure provide a method and a terminal device for adding contacts. The method includes: receiving an instruction for adding a contact from a user; sending first contact information via a first near field communication (NFC) module; receiving via the first NFC module second contact information sent by a second client via a second NFC module; and adding the second contact information into a contact list.

Description

METHOD AND TERMINAL DEVICE FOR ADDING
CONTACTS
Related documents
[0001] The present disclosure claims priority of Chinese patent application No. 201310308907.X titled "method, system and terminal device for adding contacts" and filed on July 22, 2013 with the Patent Office of the People's Republic of China, the disclosure of which is incorporated by reference.
Technical Field
[0002] The present disclosure relates to communications technology, and particularly, to a method and a terminal device for adding contacts.
Background
[0003] Nowadays, people are using instant messaging (IM) services and social networking services (SNS) more and more in their work and daily life. People often want to add information of a contact into a contact list stored in a terminal device. The contact list may be a phone book stored in a terminal device, or a contact list maintained by a certain application, e.g., an IM application, an SNS application, etc. Currently, people usually have to do a lot of mannal work to add a contact, and sometimes may even mannually input the information of the contact, which is very inconvenient.
Summary
[0004] Various examples of the present disclosure provide a method and a terminal device for adding contacts to reduce the complexity of the process of adding contacts.
[0005] The method for adding contacts according to various examples may include: receiving, by a first client, an instruction sent by a user for adding a contact; sending, by the first client, first contact information via a first near field communication (NFC) module; receiving, by the first client via the first NFC module, second contact information sent by a second client via a second NFC module; and adding, by the first client, the second contact information into a contact list.
[0006] The terminal device according to various examples may include: a monitoring module, configured to receive an instruction sent by a user for adding a contact; a sending and receiving module, configured to send first contact information via a first NFC module, and to receive, via the first NFC module, second contact information sent by a second terminal device via a second NFC module; and an adding module, configured to add the second contact information into a contact list.
[0007] Various examples transport contact information by using NFC techniques. The NFC techniques feature in that there is no procedure for pairing two terminal devices. As such, a user may obtain contact information of a target user simply by placing his/her terminal device near the terminal device of the target user or making his/her terminal device in contact with the terminal device of the target user, thus does not have to mannually select the target terminal device for exchanging contact information. The process of adding contacts does not involve any mannual intervention, thus is fast and convenient.
Brief Description of the Drawings
[0008] Features of the present disclosure are illustrated by way of example and not limited in the following figures, in which like numerals indicate like elements, in which:
[0009] Fig. 1 is a flowchart illustrating a method for adding contacts in accordance with examples of the present disclosure;
[0010] Fig. 2A is a flowchart illustrating a method for adding contacts in accordance with examples of the present disclosure;
[0011] Fig. 2B is a schematic diagram illustrating a control for adding contacts in accordance with examples of the present disclosure;
[0012] Fig. 2C is a schematic diagram illustrating an image displayed on a screen of a terminal device when two terminal devices are exchanging contact information via respective NFC modules in accordance with examples of the present disclosure;
[0013] Fig. 3 is a block diagram illustrating modules of a terminal device in accordance with examples of the present disclosure;
[0014] Fig. 4 is a block diagram illustrating modules of a terminal device in accordance with examples of the present disclosure; [0015] Fig. 5 is a flowchart illustrating a system for adding contacts in accordance with examples of the present disclosure;
[0016] Fig. 6A is a flowchart illustrating a system for adding contacts in accordance with examples of the present disclosure;
[0017] Fig. 6B is a schematic diagram illustrating two terminal devices exchanging contact information;
[0018] Fig. 7 is a block diagram illustrating modules of a terminal device; and
[0019] Fig. 8 is a flowchart illustrating a method for adding contacts in accordance with examples of the present disclosure.
Detailed Descriptions
[0020] For simplicity and illustrative purposes, the present disclosure is described by referring mainly to an example thereof. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. It will be readily apparent however, that the present disclosure may be practiced without limitation to these specific details. In other instances, some methods and structures have not been described in detail so as not to unnecessarily obscure the present disclosure. As used herein, the term "includes" means includes but not limited to, the term "including" means including but not limited to. The term "based on" means based at least in part on. Quantities of an element, unless specifically mentioned, may be one or a plurality of, or at least one.
[0021] Fig. 1 is a flowchart illustrating a method for adding contacts in accordance with examples of the present disclosure. The method takes a process of adding a contact executed by a first terminal device as an example. The method may include the following procedures.
[0022] At block S 11, the first terminal device monitors whether a process of adding contact information has been started, and performs the procedure in block S 13 after detecting the process of adding contact information has been started.
[0023] At block S 13, after detecting the process of adding contact information has been started, the first terminal device may switch on a first wireless communication module to communicate with a second terminal device. The second terminal device may switch on a second wireless communication module to communicate with the first terminal device. The first terminal device may send a first message to the second terminal device via the first wireless communication module, and receive a second message sent by the second terminal device via the second wireless communication module.
[0024] After the process of adding contact information is started in the first terminal device, the first terminal device may automatically switch on the first wireless communication module to communicate with the second terminal device, and automatically send the first message to the second terminal device via the first wireless communication module. Meanwhile, the second terminal device may also start the process of adding contact information according to the needs to switch on the second wireless communication module and establish communications with the first terminal device. The second terminal device may also automatically send the second message to the first terminal device.
[0025] At block S15, the first terminal device may parse the second message sent by the second terminal device, obtain a command ID from the parsed second message, and add contact information in the second message to a specified location according to the command ID.
[0026] The command ID may include digits, character strings and the like. For example, a command ID set to be 1 indicates adding the contact information into a contact list in the first terminal device. A command ID set to be 2 may indicate adding account information of a contact into a contact list of a chatting application. The position where the contact information in the second message is to be added may be obtained from the command ID.
[0027] According to the method of various examples, after detecting the process of adding contact information has been started, the first terminal device switches on a first wireless communication module to establish communication with a second terminal device, sends a first message to the second terminal device via the first wireless communication module, and receives a second message sent by the second terminal device. The first terminal device parses the second message received from the second terminal device, obtains a command ID from the second message, and adds contact information in the second message to a position specified by the command ID. As such, the method solves the problem that conventional methods for adding contacts are complex. The method automatically adds contact information, and contact information may be exchanged between the first terminal device and the second terminal device instead of being mannually inputted. Therefore, contact information may be added quickly, conveniently and completely. [0028] Fig. 2A is a flowchart illustrating a method for adding contacts in accordance with examples of the present disclosure. The method takes a process of a first terminal device adding a contact as an example. The method may include the following procedures.
[0029] At block S21, the first terminal device may define a format of a first message in advance.
[0030] The format of the first message may include a command ID and contact information. The command ID may include digits, character strings and so on. For example, a command ID set to be 1 may indicate adding the contact information into a phone book in the first terminal device. A command ID set to be 2 may indicate adding an account ID of a contact into a contact list of a chatting application. The contact information may include a name, a phone number, an email address, a home address, an account ID of a chatting application service, and so on.
[0031] At block S23, the first terminal device judges whether a process of adding contact information has been started, performs the procedure of block S25 if the process of adding contact information has been started, or performs the procedure of block S23 if the process of adding contact information has not been started.
[0032] In an example, the process of the first terminal device judging whether the process of adding contact information has been started may include:
[0033] displaying a control for adding contacts, determining that the process of adding contact information has been started after detecting an operation on the control for adding contacts, or determining that the process of adding contact information is not started if no operation on the control is detected.
[0034] The process of adding contact information may be started by performing an operation on the control 220 as shown in Fig. 2B . Fig. 2B illustrates a control for adding contacts using Near Field Communication (NFC). In various examples, other controls may be provided according to the needs.
[0035] At block S25, the first terminal device may switch on a first wireless communication module to communicate with a second terminal device. The second terminal device may switch on a second wireless communication module to communicate with the first terminal device. The first terminal device may send a first message to the second terminal device via the first wireless communication module, and receive a second message sent by the second terminal device via the second wireless communication module. [0036] After the process of adding contact information is started in the first terminal device, the first terminal device may automatically switches on the first wireless communication module to communicate with the second terminal device, and automatically send the first message to the second terminal device via the first wireless communication module. Meanwhile, the second terminal device may also start the process of adding contact information according to the needs to switch on the second wireless communication module and establish communications with the first terminal device. The second terminal device may also automatically send the second message to the first terminal device. If the second terminal device is not going to send the second message to the first terminal device, the second terminal device may not start the process of adding contact information. The second terminal device may only switches on the second wireless communication module to establish communication with the first terminal device.
[0037] In an example, the procedure in block S25 may also include: the second terminal device starts the process of adding contact information, and switches on the second wireless communication module. In an example, the process for adding contact information may be started by an operation on the control 220 as shown in Fig. 2B. After an operation is performed on the control, the second wireless communication module may be switched on automatically.
[0038] The first wireless communication module and the second wireless communication module may be an NFC module, a blue-tooth module or a WiFi module, and so on.
[0039] If the wireless communication modules are NFC modules, contact information may be exchanged simply by holding the two terminal devices close to each other (e.g., within 10 cm). For example, Fig. 2C is a schematic diagram illustrating an image displayed on a screen of a terminal device when two terminal devices are exchanging contact information via respective NFC modules in accordance with examples of the present disclosure.
[0040] In an example, when generating the first message, the contact information in the first message may be obtained automatically according to the command ID. For example, when the command ID is 2, the account ID that logs on the chatting application installed in the terminal device may be obtained automatically and serve as the contact information.
[0041] At block S27, the first terminal device may parse the second message sent by the second terminal device, obtain a command ID from the parsed second message, and add contact information in the second message to a specified position according to the command ID.
[0042] The command ID may include digits, character strings and the like. For example, a command ID set to be 1 may indicate adding the contact information into a contact list in the first terminal device. A command ID set to be 2 may indicate adding a contact ID into a contact list maintained by a chatting application. The position where the contact information in the second message is to be added may be obtained from the command ID.
[0043] In various examples, the format of the first message may be any format. The first message may include information other than the contact inforamtion, so that the information sent by the second terminal device is received and added to a specified position.
[0044] In an example, after the command ID is obtained from the second message at block S27, the method may also include the following procedures.
[0045] The first terminal device stores in advance a list of relationships which associate command IDs with specified positions where the contact information is to be added.
[0046] The first terminal device searches the list using the obtained command ID, and finds the specified position identified by the command ID to add the contact information.
[0047] For example, the command ID is 2, and a pre-stored relationship indicates adding contact information into a contact list of a chatting application when the command ID is 2. According to the relationship, it may be determined based on the list of relationships that the obtained command ID 2 indicates adding the contact list into a contact list of the chatting application.
[0048] In an example, the process of adding the contact information in the second message to a specified position accordign to the command ID in block S27 may include the following procedures.
[0049] If the search result based on the command ID indicates adding the contact information to the contact list of the chatting application, the first terminal device may send the contact information to a server of the chatting application. The server may add the contact information into the contact list of the chatting application.
[0050] If the search result based on the command ID indicates adding the contact list into a phone book, the first terminal device adds the contact information into the phone book. [0051] The method for adding contacts may also include: generating the first message based on a pre-defined format, and sending the first message to the second terminal device via the first wireless communication module. Therefore, needed messages may be generated based on pre-defined configurations, and the user does not have to mannually input the contact information and mannually send the message from the first terminal device to the second terminal device. The contact information may be received and added to a specified position fast and conveniently.
[0052] The following are examples of the terminal device. Details are omitted to avoid repeated description, and may be found in the above method examples.
[0053] Fig. 3 is a block diagram illustrating modules of a terminal device in accordance with examples of the present disclosure. The terminal device may include a monitoring module 301, a sending and receiving module 303 and an adding module 305.
[0054] The monitoring module 301 judges whether a process of adding contact information has been started.
[0055] In an example, the monitoring module 301 may display a control for adding contacts, determine that the process of adding contact information has been started after detecting an operation performed on the control for adding contacts, or determine that the process of adding contact information has not been started if no operation on the control is detected.
[0056] After it is detected that the process of adding contact information has been started, the sending and receiving module 303 may switch on a first wireless communication module to communicate with a second terminal device. The second terminal device may switch on a second wireless communication module to communicate with the first terminal device. The sending and receiving module 303 may send a first message to the second terminal device via the first wireless communication module, and receive a second message sent by the second terminal device.
[0057] The first wireless communication module and the second wireless communication module may be NFC modules, blue-tooth modules or WiFi modules, or the like.
[0058] The adding module 305 may parse the second message sent by the second terminal device, obtain a command ID from the parsed second message, and add contact information in the second message to a specified position according to the command ID. [0059] The terminal device of various examples switches on a first wireless communication module after detecting the process of adding contact information has been started to establish communication with a second terminal device, sends a first message to the second terminal device via the first wireless communication module, and receives a second message sent by the second terminal device; parses the second message received from the second terminal device, obtains a command ID from the second message, and adds contact information in the second message to a position specified by the command ID. As such, the terminal device solves the problem that conventional methods for adding contacts are complex. The terminal device automatically adds contact information, and contact information may be exchanged between the first terminal device and the second terminal device instead of being mannually inputted. Therefore, contact information may be added quickly, conveniently and completely.
[0060] Fig. 4 is a block diagram illustrating modules of a terminal device in accordance with examples of the present disclosure. The terminal is different from the terminal device as shown in Fig. 3 in that the terminal further includes a configuring module 401.
[0061] The configuring module 401 may pre-define a format of the first message. The format of the first message may include a command ID and contact information.
[0062] In an example, the sending and receiving module 303 may include an information generating module 403.
[0063] The information generating module 403 may generate the first message according to the pre-defined format, send the first message to the second terminal device via the first wireless communication module. The contact information in the first message is obtained automatically according to the command ID.
[0064] In an example, the adding module 305 may include a storage module 405 and a searching module 407.
[0065] The storage module 405 may store a list of relationships which associate command IDs with specified positions where the contact information is to be added.
[0066] The searching module 407 may search the list using the obtained command ID, and find the specified position identified by the command ID to add the contact information.
[0067] In an example, the searching module 407 may also send the contact information to a server of a chatting application if the search result based on the command ID indicates that the contact information is to be added to a contact list maintained by the chatting application, so that the server adds the contact information into the contact list of the chatting application. The searching module 407 may add the contact information into a phone book if the search result based on the command ID indicates that the contact information is to be added to the phone book.
[0068] The terminal device for adding contacts may generate the first message based on a pre-defined format, and send the first message to the second terminal device via the first wireless communication module. Therefore, needed messages may be generated based on pre-defined configurations, and the user does not have to mannually input the contact information and mannually send the message from the first terminal device to the second terminal device. The contact information may be received and added to a specified position fast and conveniently.
[0069] Fig. 5 is a flowchart illustrating a system for adding contacts in accordance with examples of the present disclosure. The system may include a first terminal device and a second terminal device. The first terminal device may include a first monitoring module 501, a first sending and receiving module 503 and a first adding module 505. The second terminal device may include a second monitoring module 521, a second sending and receiving module 523 and a second adding module 525.
[0070] The first monitoring module 501 judges whether a process of adding contact information has been started.
[0071] The second monitoring module 521 judges whether a process of adding contact information has been started.
[0072] The first sending and receiving module 503 switches on a first wireless communication module to establish communication with the second terminal device after detecting the process of adding contact information has been started, sends a first message to the second terminal device via the first wireless communication module, and receives a second message sent by the second terminal device.
[0073] The second sending and receiving module 523 switches on a second wireless communication module to establish communication with the first terminal device after detecting the process of adding contact information has been started, sends the second message to the first terminal device via the second wireless communication module, and receives the first message sent by the first terminal device. [0074] The first adding module 505 parses the second message sent by the second terminal device, obtains a command ID from the parsed second message, and adds contact information in the second message to a specified position according to the command ID.
[0075] The second adding module 525 parses the first message sent by the first terminal device, obtains a command ID from the parsed first message, and adds contact information in the first message to a specified position according to the command ID.
[0076] According to the system of various examples, the first terminal device switches on a first wireless communication module to establish communication with a second terminal device after detecting the process of adding contact information has been started, sends a first message to the second terminal device via the first wireless communication module, and receives a second message sent by the second terminal device. The first terminal device parses the second message received from the second terminal device, obtains a command ID from the second message, and adds contact information in the second message to a position specified by the command ID. As such, the system solves the problem that conventional methods for adding contacts are complex. The system adopts a manner which automatically adds contact information, and contact information may be exchanged between the first terminal device and the second terminal device instead of being mannually inputted. Therefore, contact information may be added quickly, conveniently and completely.
[0077] Fig. 6A is a block diagram illustrating a system for adding contacts in accordance with examples of the present disclosure. The system is different from the system as shown in Fig. 5 in that the first terminal device also includes a configuring module 601 and that the second terminal device also includes a configuring module 621.
[0078] The configuring module 601 pre-defines a format of the first message. The format of the first message includes a command ID and contact information.
[0079] The configuring module 621 pre-defines a format of the second message. The format of the second message includes a command ID and contact information.
[0080] In an example, the first sending and receiving module 503 includes a first information generating module 603. The second sending and receiving module 523 may include a second information generating module 623.
[0081] The first information generating module 603 generates the first message according to the pre-defined format, sends the first message to the second terminal device via the first wireless communication module. The contact information in the first message is obtained automatically according to the command ID during the process of generating the first message.
[0082] The second information generating module 623 generates the second message according to the pre-defined format, sends the second message to the first terminal device via the second wireless communication module. The contact information in the second message is obtained automatically according to the command ID during the process of generating the second message.
[0083] In an example, the first adding module 505 includes a first storage module 605 and a first searching module 607. The second adding module 525 includes a second storage module 625 and a second searching module 627.
[0084] The first storage module 605 stores a list of relationships which associate command IDs with specified positions where the contact information is to be added.
[0085] The first searching module 607 searches the list using the obtained command ID, and finds the specified position identified by the command ID to add the contact information.
[0086] In an example, the first searching module 607 may also send the contact information to a server of a chatting application if the search result based on the command ID indicates that the contact information is to be added to a contact list maintained by the chatting application, so that the server adds the contact information into the contact list of the chatting application. The first searching module 407 may add the contact information into a phone book if the search result based on the command ID indicates that the contact information is to be added to the phone book.
[0087] The second storage module 625 stores a list of relationships which associate command IDs with specified positions where the contact information is to be added.
[0088] The second searching module 627 searches the list using the obtained command ID, and finds the specified position identified by the command ID to add the contact information.
[0089] In an example, the second searching module 627 may also send the contact information to a server of a chatting application if the search result based on the command ID indicates that the contact information is to be added to a contact list of the chatting application, so that the server adds the contact information into the contact list of the chatting application. The searching module 407 may add the contact information into a phone book if the search result based on the command ID indicates that the contact information is to be added to the phone book.
[0090] Fig. 6B is a schematic diagram illustrating two terminal devices (e.g., mobile phone 631 and mobile phone 633) exchanging contact information. After the process of adding contact informtion is started in mobile phone 631, mobile phone 631 may automatically switches on a first wireless module to establish communication with mobile phone 633. Meanwhile, mobile phone 633 may also start the process of adding contact information, automatically switches on a second wireless communication mobile to establish communication with mobile phone 631. Mobile phones 631 and 633 may send contact information automatically to each other via respective wireless communication modules. Mobile phones 631 and 633 parse received messages respectively. Regarding mobile phone 631, if the command ID in the message received by mobile phone 631 indicates adding an account ID of a contact into a contact list of a chatting application, mobile phone 631 may send the account ID in the message to server 635. Server 635 adds the contact information into the contact list of the chatting application.
[0091] The system for adding contacts of various examples may also generate a message based on a pre-defined format, and send the message to another terminal device via a wireless communication module. Therefore, needed messages may be generated based on pre-defined configurations, and the user does not have to mannually input the contact information to send the contact information. The contact information may be received and added to a specified position fast and conveniently.
[0092] Fig. 8 is a flowchart illustrating a method for adding contacts in accordance with examples of the present disclosure. The method may include the following procedures.
[0093] At block S81, a first client receives an instruction for adding contacts sent by a user.
[0094] The first client may be an application provided by an operating system in a terminal device, e.g., a phone book app, or an application installed in the terminal device, e.g., an IM app, or an SNS app or the like. The first client may provide a control for adding contacts via NFC in a user interface. When a user performs an action on the control, e.g., clicks on the control, the first client may regard the operation on the control by the user as the instruction for adding contacts.
[0095] At block S82, the first client sends first contact information via a first NFC module. [0096] In an example, the first client may send an account ID or namecard data of a user logging on the first client via the first NFC module as the first contact information.
[0097] For example, if the first client is an IM client or an SNS client, the account ID or namecard data or other information of a user who accesses an IM server or an SNS server via the first client may be used as the first contact information and be sent via the NFC module. When two users holds respective terminal devices close or in contact with each other, the account information or namecard data of each other may be received via NFC modules in respective terminal devices.
[0098] In an example, the first client may take an account ID or namecard data stored in the first client that is of a user other than the user logging on the first client as the first contact information, and send the account ID or the namecard data via the first NFC module.
[0099] For example, the first client may take an account ID or namecard data of a contact stored a contact list maintained by the first client or in the terminal device (e.g., an account ID or namecard data of a contact in IM services or SNS services, or information of a contact in a phone book) as the first contact information, and send the information via the NFC module in the terminal device. As such, when two terminal devices are held close or in contact with each other, they may share contacts or buddies via respective NFC modules.
[0100] It may be statically configured in the client as to which information will serve as the contact information. Alternatively, plural options regarding the information that may serve as contact information may be provided for the user to select from. In an example, the client may specify the type of contact information and the storage manner of the contact information by using the format of "command ID+contact information" as defined in the above examples. Other formats may also be used in various examples. The format is not elaborated herein.
[0101] At block S83, the first client receives via the first NFC module second contact information sent by a second client via a second NFC module.
[0102] In an example, the second client may receive an instruction from another user for adding contacts, and sends second contact information via an NFC module of a second terminal device. When the two terminal devices are held close to or in contact with each other, the first client may receive the second contact information sent by the second client, and the second client may receive the first contact information sent by the first client.
[0103] At block S84, the first client adds the second contact information into a contact list. [0104] Various examples exchange contact information by using NFC techniques. The NFC techniques feature in that there is no procedure for pairing two communicating devices. As such, the user may obtain contact information of a target user simply by placing his/her terminal device near the terminal device of the target user or making his/her terminal device contact with the terminal device of the target user, thus does not have to mannually select the target for sending the contact information. The process of adding contacts does not involve any mannual intervention, is fast and convenient.
[0105] In an example, after receiving the instruction for adding contacts from the user, the first client may judge whether the NFC module has been switched on. If the NFC module has not been switched on, the first client switches on the NFC module. If the NFC module has been switched on, the first client may prepare to send and receive contact information via the NFC module.
[0106] In an example, besides adding the second contact into the contact list, the first client may also add the second contact into a list of contacts the user recently contacted with, also referred to as recent contact list. As such, the user is enabled to fast locate the newly added contact.
[0107] In an example, the first client may add the second contact into the contact list by sending a request to a server. The request may include the second contact information and a pre-defined identity. The server may add the second contact into the contact list of the user according to the pre-defined identity without obtaining consent from the second contact, i.e., without asking the second contact whether the second contact agrees adding the second contact into the contact list of the user of the first client according to the pre-defined identity. The pre-defined identity may be set to be a pre-defined value which indicates the information of the second contact is obtained via NFC. Since NFC communications require two terminal devices be placed very close to each other or in contact with each other with both NFC modules switched on, this example regards the fact that the first client has obtained the second contact information (e.g., information of the user of the second client in this example) means the user of the first contact has obtained approval of the second contact in person, thus, there is no need to ask the second contact for approval before adding the second contact into the contact list of the user of the first client. Therefore, the process of adding contacts is further simplified. [0108] In an example, a terminal device of a user may include an NFC module, and the modules as shown in Fig. 3.
[0109] The monitoring module 301 may receive an instruction sent by a user for adding a contact.
[0110] The sending and receiving module 303 may send first contact information via a first NFC module, and receive via the first NFC module second contact information sent by a second terminal device via a second NFC module.
[0111] The adding module 305 may add the second contact information into a contact list.
[0112] In an example, the sending and receiving module 303 may send an account ID or namecard data of the user stored in the terminal device via the first NFC module as the first contact information. Alternatively, the sending and receiving module 303 may send an account ID or namecard data of a second user other than the user of the terminal device via the first NFC module as the first contact information.
[0113] In an example, the sending and receiving module 303 may send a request to a server. The request may include the second contact information and a pre-defined identity so that the server may add the second contact into a contact list of the user without obtaining consent from the second contact according to the pre-defined identity.
[0114] In an example, the adding module 305 may also add the second contact into a recent contact list so that the user may quickly locate the newly added contact.
[0115] In an example, the terminal device may also include a user interface module. The user interface module provides a control for adding contacts via NFC. The monitoring module may take an operation performed on the control by the user as the instruction for adding contacts.
[0116] In an example, after receiving the instruction for adding contacts, the monitoring module 301 may judge whether the first NFC module has been switched on, and switch on the NFC module if the first NFC module has not been switched on.
[0117] Fig. 7 is a block diagram illustrating modules of a terminal device. As shown in Fig. 7, the terminal device includes a memory 702, a memory control 704, one or multiple processors 706 (Fig. 7 only shows one processor), a peripheral interface 708, a radio frequency (RF) module 710, a camera 714, an audio module 716, a touch screen 718 and a keyboard 720. The components communicate with each other via at least one bus/signal wire. [0118] The modules as shown in Fig. 7 are merely an example. The terminal device may include fewer or additional components, or the components may be arranged differently from the arrangement as shown in Fig. 7. The components as shown in Fig. 7 may be implemented by hardware modules, software modules, or a combination of hardware and software modules.
[0119] The memory 702 may store software program and modules, e.g., the program instructions/modules corresponding to the method for adding contacts in the terminal device. The processor 706 may implement the software program and modules stored in the memory 702 to implement various functions and data processing to implement the method for adding contacts in the terminal device.
[0120] The memory 702 may include a cache, or a non-transitory memory, e.g., at least one magneto storage, flash memory or other non-transitory solid state memory. In various examples, the memory 702 may also include a remote memory located away from the processor 706. The terminal device may access the remote memory via a network. The network may include, but not limited to, any or any combination of the Internet, an enterprise network, a local network, a mobile communication network. The memory control 704 may control the access of the processor 706 and other possible components to the memory 702.
[0121] Peripheral interface 708 couples various input/output devices to the CPU and the memory 702. The processor 706 runs various software and instructions in the memory 702 to implement various functions of the terminal device and to perform data processing.
[0122] In various examples, the peripheral interface 708, the processor 706 and the memory control 704 may be implemented within a single chip. In other examples, they may be implemented by individual chips respectively.
[0123] The RF module 710 may receive and send electromagnetic wave, implement electromagnetic wave/electric signal conversion to communicate with a communication network or other devices. The RF module 710 may include various conventional circuit elements implementing those functions, e.g., an antenna, an RF transceiver, a DSP, an encryption/decryption chip, a subscriber identity module (SIM) card, a memory, and so on. The RF module 710 may communicate with various networks, e.g., the Internet, an enterprise network, a wireless network, etc., or with other devices via a wireless network. The above wireless network may be a cellular mobile phone network, a wireless local network or a metropolitan area network. The wireless network may use various communication standards, protocols and techniques, including, but not limited to, the Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), wideband code division multiple access (W-CDMA), Code division access (CDMA), time division multiple access (TDM A), blue-tooth, Wireless Fidelity (WiFi, e.g., IEEE 802.11a, IEEE 802.11b, IEEE 802. l lg, and/or IEEE 802.11η), Voice over internet protocal (VoIP), Worldwide Interoperability for Microwave Access (WiMAX), and any other protocols for email, instant messaging and SMS, and any other applicable communication protocols, even those protocols that have not been proposed yet.
[0124] The camera module 714 may capture photos or videos. The photos or videos captured may be stored into the memory 702, and may be transmitted via the RF module 710.
[0125] The audio module 716 provides audio interfaces for users, e.g., one or multiple microphones, one or multiple loudspeakers and audio circuits. The audio circuits receives audio data from the peripheral interface 708, converts the audio data into electric signals, and transmits the electric signals to the loudspeaker. The loudspeaker converts the electric signal into audio waves that may be heard by human ears. The audio circuit also receives electric signal from a microphone, converts the electric signal into audio data, and transmits the audio data to the peripheral interface 708 for further processing. The audio data may be obtained from the memory 702 or via the RF module 710. The audio data may be stored in the memory 702 or transmitted via the RF module 710. In various examples, the audio module 716 may include a headphone socket providing an audio interface for a headphone or other devices.
[0126] The touch screen 718 provides an output and input interface between the terminal device and a user. In an example, the touch screen 718 may display video output for the user. The video output may include any or or any combination of text, image and video. The output may be in the form of objects in a user interface. The touch screen 718 may also receive input information of the user, e.g., a click operation of the user, a finger gesture of the user, e.g., sliding or the like. The objects in the user interface may respond to the input information of the user. The method for sensing the input of the user may be resistive, capacitive or any other possible touch sensing methods. The touch screen 718 may be, but not limited to, a liquid crystal display (LCD), light-emitting polymers display (LEPD), or the like. [0127] The keyboard module 720 may also provide an input interface for users. The user may press different keys to make the terminal device implement different functions.
[0128] Various examples also provide a computer-readable storage medium which stores computer-executable instructions. The computer-readable storage medium may be a non-transitory storage medium, e.g., a compact disk, a hard drive, or a flash memory. The computer-executable instructions may make a computer or a computing device to implement the method for adding contacts.
[0129] It should be understood that in the above processes and structures, not all of the procedures and modules are necessary. Certain procedures or modules may be omitted according to the needs. The order of the procedures is not fixed, and may be adjusted according to the needs. The modules are defined based on function simply for facilitating description. In implemention, a module may be implemented by multiple modules, and functions of multiple modules may be implemented by the same module. The modules may reside in the same device or distribute in different devices. The "first", "second" in the above descriptions are merely for distinguishing two similar objects, and have no substantial meanings.
[0130] The hardware modules according to various examples may be implemented by hardware or a hardware platform with necessary software. The software may include machine-readable instructions which are stored in a non-statutory storage medium. Thus, the examples may be embodied as software products.
[0131] In various examples, the hardware may be dedicated hardware or general-purpose hareware executing machine-readable instruction. For example, a hardware module may comprise dedicated circuitry or logic that is permanently configured (e.g., as a special-purpose processor, such as a field programmable gate array (FPGA) or an application- specific integrated circuit (ASIC)) to perform certain operations. A module may also comprise programmable logic or circuitry (e.g., as encompassed within a general-purpose processor or other programmable processor) that is temporarily configured by software to perform certain operations.lt will be appreciated that the decision to implement a hardware module mechanically, in dedicated and permanently configured circuitry, or in temporarily configured circuitry (e.g., configured by software) may be driven by cost and time considerations. [0132] A machine -readable storage medium is also provided, which is to store instructions to cause a machine to execute a method as described herein. Specifically, a system or apparatus having a storage medium which stores machine -readable program codes for implementing functions of any of the above examples and which may make the system or the apparatus (or CPU or MPU) read and execute the program codes stored in the storage medium. Computer readable instructions may make an operating system in a computer to implement part or all of the above described operations. A non-statutory computer-readable storage medium may be a storage device in an extension board inserted in the computer or a storage in an extension unit connected to the computer. Program codes-based instructions may make a CPU or a processor installed in an extension board or an extension unit to implement part or all of the operations to implement any example of the present disclosure.
[0133] The non- statutory computer-readable storage medium for providing the program codes may include floppy disk, hard drive, magneto-optical disk, compact disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), magnetic tape drive, Flash card, ROM and so on. Optionally, the program code may be downloaded from a server computer via a communication network.
[0134] The scope of the claims should not be limited by the embodiments set forth in the examples, but should be given the broadest interpretation consistent with the description as a whole.

Claims

Claims
1. A method for adding contacts, comprising: receiving, by a first client, an instruction from a user for adding a contact; sending, by the first client, first contact information via a first near field communication (NFC) module; receiving, by the first client via the first NFC module, second contact information sent by a second client via a second NFC module; and adding, by the first client, the second contact information into a contact list.
2. The method of claim 1, wherein the sending by the first client first contact information via a first NFC module comprises: sending, by the first client via the first NFC module, an account ID or namecard data of a user logging on the first client as the first contact information.
3. The method of claim 1, wherein the sending by the first client first contact information via a first NFC module comprises: sending, by the first client via the first NFC module, an account ID or namecard data which is stored in the first client and is of a user other than the user logging on the first client as the first contact information.
4. The method of claim 1, further comprising: sending, by the first client, a request to a server, the request comprising second contact information and a pre-defined identity; and adding, by the server, the second contact information into the contact list of the user without obtaining consent from the second contact according to the pre-defined identity.
5. The method of claim 1, further comprising: adding, by the first client, the second contact information into a list of recent contacts.
6. The method of claim 1, wherein the receiving by a first client an instruction from a user for adding a contact comprises: providing, by the first client in a user interface, a control for adding contacts via NFC, receiving an operation performed the control by the user as the instruction for adding a contact.
7. A method of claim 1, further comprising: judging, by the first client, whether the first NFC module has been switched on; switching on, by the first client, the first NFC module if the first NFC module has not been switched on.
8. A terminal device, comprising: a monitoring module, configured to receive an instruction for adding a contact sent by a user; a sending and receiving module, configured to send first contact information via a first near field communication (NFC) module, and receive, via the first NFC module, second contact information sent by a second terminal device via a second NFC module; and an adding module, configured to add the second contact information into a contact list.
9. The terminal device of claim 8, wherein the sending and receiving module is configured to send an account ID or namecard data which is of a user of the terminal device and stored in the terminal device as the first contact information.
10. The terminal device of claim 8, wherein the sending and receiving module is configured to send an account ID or namecard data which is of a second user other than the user of the terminal device and is stored in the terminal device as the first contact information.
11. The terminal device of claim 8, wherein the sending and receiving module is further configured to send a request to a server, wherein the request comprises the second contact information and a pre-defined identity to enable the server to add the second contact into a contact list of the user without obtaining consent from the second contact according to the pre-defined identity.
12. The terminal device of claim 8, wherein the adding module is further configured to add the second contact information into a list of recent contacts.
13. The terminal device of claim 8, further comprising: a user interface module, configured to provide in a user interface a control for adding contacts via NFC; wherein the monitoring module is configured to take an operation performed by the user on the control as the instruction for adding a contact.
14. The terminal device of claim 8, wherein the monitoring module is further configured to judge whether the first NFC module has been switched on, and to switch on the first NFC module if the first NFC module has not been switched on.
15. A non-transitory computer-readable storage medium, comprising: a series of computer-executable instructions capable of causing a processor to perform the following operations: receiving an instruction for adding a contact from a user; sending first contact information via a first near field communication (NFC) module; receiving via the first NFC module second contact information sent by a second client via a second NFC module; and adding the second contact information into a contact list.
PCT/CN2014/082662 2013-07-22 2014-07-22 Method and terminal device for adding contacts WO2015010591A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310308907.XA CN104333643B (en) 2013-07-22 2013-07-22 Add the method for contact person, system and terminal
CN201310308907.X 2013-07-22

Publications (1)

Publication Number Publication Date
WO2015010591A1 true WO2015010591A1 (en) 2015-01-29

Family

ID=52392719

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/082662 WO2015010591A1 (en) 2013-07-22 2014-07-22 Method and terminal device for adding contacts

Country Status (2)

Country Link
CN (1) CN104333643B (en)
WO (1) WO2015010591A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105007359A (en) * 2014-04-21 2015-10-28 中兴通讯股份有限公司 Terminal, and information processing method and apparatus thereof
US10149134B2 (en) 2014-08-28 2018-12-04 Tencent Technology (Shenzhen) Company Limited Near field discovery method, user equipment, and storage medium

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI583224B (en) * 2015-03-12 2017-05-11 柯彥均 Method for instant message transport
CN106331301B (en) * 2015-06-30 2019-08-27 华为终端有限公司 A kind of method and apparatus adding contact person
CN106331302B (en) * 2015-06-30 2019-10-22 华为终端有限公司 A kind of method and apparatus adding contact person
CN105635399B (en) * 2016-01-04 2019-04-19 广东小天才科技有限公司 A kind of method and system adding contact person
CN105915690A (en) * 2016-04-07 2016-08-31 陈包容 Method and device for exchanging contact information
CN106028314B (en) * 2016-04-26 2020-03-24 广东小天才科技有限公司 Method and device for adding contact person to white list

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082589A (en) * 2010-12-21 2011-06-01 中兴通讯股份有限公司 Method, device and system for storing contact information
CN102307056A (en) * 2011-08-18 2012-01-04 惠州Tcl移动通信有限公司 Method for processing mobile terminal contact information and mobile terminal
CN102781120A (en) * 2012-06-20 2012-11-14 宇龙计算机通信科技(深圳)有限公司 Terminal and address book management method
CN103095895A (en) * 2011-11-01 2013-05-08 中国电信股份有限公司 Method and client end for sending mobile phone electronic business cards
CN103152462A (en) * 2013-02-27 2013-06-12 广东欧珀移动通信有限公司 Address book sharing method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2002326089A1 (en) * 2002-08-30 2004-03-19 Nokia Corporation A method for creating multimedia messages with rfid tag information
US8655271B2 (en) * 2006-05-10 2014-02-18 Sony Corporation System and method for storing near field communication tags in an electronic phonebook

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102082589A (en) * 2010-12-21 2011-06-01 中兴通讯股份有限公司 Method, device and system for storing contact information
CN102307056A (en) * 2011-08-18 2012-01-04 惠州Tcl移动通信有限公司 Method for processing mobile terminal contact information and mobile terminal
CN103095895A (en) * 2011-11-01 2013-05-08 中国电信股份有限公司 Method and client end for sending mobile phone electronic business cards
CN102781120A (en) * 2012-06-20 2012-11-14 宇龙计算机通信科技(深圳)有限公司 Terminal and address book management method
CN103152462A (en) * 2013-02-27 2013-06-12 广东欧珀移动通信有限公司 Address book sharing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105007359A (en) * 2014-04-21 2015-10-28 中兴通讯股份有限公司 Terminal, and information processing method and apparatus thereof
US10149134B2 (en) 2014-08-28 2018-12-04 Tencent Technology (Shenzhen) Company Limited Near field discovery method, user equipment, and storage medium

Also Published As

Publication number Publication date
CN104333643B (en) 2016-07-06
CN104333643A (en) 2015-02-04

Similar Documents

Publication Publication Date Title
WO2015010591A1 (en) Method and terminal device for adding contacts
CN109716826B (en) Access method, network equipment, terminal equipment and AMF (advanced metering framework) equipment
US10795634B2 (en) Method, apparatus, and mobile terminal for screen mirroring
US20150256352A1 (en) Method and device for sharing content between different terminals
CN110278550B (en) Portable device, portable apparatus, and computer-readable medium
KR101698094B1 (en) Apparatus and method for providing service corresponding to a service zone
CN105554884A (en) Method and device for paging response
US10813058B2 (en) Method for processing information and terminal device
EP2568731A1 (en) System and method for receiving call in wireless terminal
EP3713327B1 (en) Method for indicating frequency-domain information of common control resource set of remaining minimum system information
WO2018000290A1 (en) Method for managing bluetooth connection, bluetooth main device and apparatus
EP4007374A1 (en) Information processing method and apparatus, communication device and storage medium
CN108810123B (en) Method and apparatus for provisioning mobile cellular network services
EP3376797A1 (en) Method for searching for network and terminal
CN106714126A (en) Downlink data transmission method, apparatus and device
CN103379448A (en) Method of reducing a waiting time when cancelling a connection and an electronic device therefor
CN103179531A (en) Method and device for updating contact numbers
CN105872980B (en) A kind of method and device scanning wireless network signal
KR102436552B1 (en) Cell type indication method, apparatus and computer readable storage medium
WO2016123822A1 (en) Data transmission method and device, and terminal
US11023544B2 (en) User matching method and apparatus
CN105704106B (en) A kind of visualization IVR implementation method and mobile terminal
CN106503023B (en) Method and device for prompting nearby friends
WO2019062381A1 (en) Information processing method, device and mobile terminal, and computer readable storage medium
CN106304287B (en) Method for reducing standby power consumption of mobile terminal and mobile terminal

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC , EPO FORM 1205A DATED 24-06-16

122 Ep: pct application non-entry in european phase

Ref document number: 14830100

Country of ref document: EP

Kind code of ref document: A1