WO2018130048A1 - Contact adding method, electronic device and server - Google Patents

Contact adding method, electronic device and server Download PDF

Info

Publication number
WO2018130048A1
WO2018130048A1 PCT/CN2017/116845 CN2017116845W WO2018130048A1 WO 2018130048 A1 WO2018130048 A1 WO 2018130048A1 CN 2017116845 W CN2017116845 W CN 2017116845W WO 2018130048 A1 WO2018130048 A1 WO 2018130048A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
sound signal
user
identification information
contact
Prior art date
Application number
PCT/CN2017/116845
Other languages
French (fr)
Chinese (zh)
Inventor
王福钋
刘占坤
王颖
Original Assignee
北京搜狗科技发展有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京搜狗科技发展有限公司 filed Critical 北京搜狗科技发展有限公司
Publication of WO2018130048A1 publication Critical patent/WO2018130048A1/en

Links

Images

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/27453Directories allowing storage of additional subscriber data, e.g. metadata
    • 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/27453Directories allowing storage of additional subscriber data, e.g. metadata
    • H04M1/27457Management thereof, e.g. manual editing of data

Definitions

  • the present application relates to the field of communications, and in particular, to a method for adding a contact, an electronic device, and a server.
  • an electronic device in addition to indicating the time, it also has one or more functions of reminding, navigating, calibrating, monitoring, interacting, etc., and the display mode includes a pointer, a number, an image, etc.
  • the smart watch They can also communicate with each other.
  • a smart watch needs to add another smart watch as a contact, it can be implemented by searching for a Bluetooth and a WIFI address.
  • the Bluetooth module and the WIFI module are required to be supported, there is a technical problem of high cost. .
  • the embodiment of the present application provides a method for adding a contact, an electronic device, and a server, so as to solve the technical problem of high cost of an electronic device caused by adding a contact function in the prior art.
  • an embodiment of the present application provides a method for adding a contact, including:
  • the determining, according to the first adding contact request, the first identifier information including:
  • the sound signal parses out the first identification information.
  • the first user of the first electronic device is added as the second based on the first identifier information and the second identifier information
  • the contact of the second user of the electronic device including:
  • the And adding, by the second identifier information, the first user of the first electronic device as the contact of the second user of the second electronic device including:
  • the first user and the second user are added to each other as a contact.
  • the embodiment of the present application provides a method for adding a contact, including:
  • the determining the first sound signal corresponding to the first identifier information of the first electronic device includes:
  • the first identification information is encoded according to a preset rule, thereby generating the first sound signal.
  • the method further includes:
  • the method further includes:
  • the second user After receiving the second sound signal, the second user is added as the contact of the first user based on the second identification information corresponding to the second sound signal.
  • the method further includes:
  • a process of detecting the second sound signal is initiated.
  • the embodiment of the present application provides a method for adding a contact, including:
  • the first user of the first electronic device is added as a contact of a second user of the second electronic device based on the first sound signal ,include:
  • the first user of the first electronic device is added as a contact of a second user of the second electronic device based on the first sound signal ,include:
  • the method further includes:
  • Playing the second sound signal so that when the first electronic device receives the second sound signal, the second user is added as the contact of the first user based on the second identification information.
  • the method further includes:
  • the Adding the first user of the first electronic device as the contact of the second user of the second electronic device including:
  • the user of the at least two electronic devices is added as the contact of the second user based on the first sound signal.
  • an embodiment of the present application provides a server, including:
  • a receiving module configured to receive a first added contact request that is sent by the second electronic device, where the first sound signal corresponds to the first identification information of the first electronic device, and the second electronic device answers Obtaining the first sound signal played by the first electronic device;
  • a first determining module configured to determine, according to the first add contact request, the first identifier information, and second identifier information of the second electronic device
  • a first adding module configured to add, by the first identifier information and the second identifier information, a first user of the first electronic device as a contact of a second user of the second electronic device.
  • the first determining module is configured to:
  • the sound signal parses out the first identification information.
  • the first adding module is configured to:
  • the second user After obtaining the confirmation signal of the second electronic device, the second user is added as the contact of the first user.
  • the first adding module includes:
  • a receiving unit configured to receive a second added contact request of the associated second sound signal sent by the first electronic device, where the second sound signal corresponds to the second identification information, and the first electronic device adopts an answering manner Obtaining the second sound signal played by the second electronic device;
  • an adding unit configured to add the first user and the second user as contacts to each other after receiving the first adding contact request and the second adding contact request.
  • the embodiment of the present application provides a first electronic device, including:
  • a second determining module configured to determine a first sound signal corresponding to the first identification information of the first electronic device
  • a first playing module configured to play the first sound signal.
  • the second determining module is configured to:
  • the first identification information is encoded according to a preset rule, thereby generating the first sound signal.
  • the first electronic device further includes:
  • the first electronic device further includes:
  • a first detecting module configured to detect a second sound signal played by the second electronic device
  • a second adding module configured to add the second user as a contact of the first user based on second identification information corresponding to the second sound signal after receiving the second sound signal.
  • the first playing module is configured to: start playing the first sound every first random time interval Signal process
  • the first detecting module is configured to start a process of detecting the second sound signal at a time other than playing the first sound signal.
  • the embodiment of the present application provides a second electronic device, including:
  • a second detecting module configured to detect that the first sound signal is obtained, where the first sound signal corresponds to the first identification information of the first electronic device
  • a third adding module configured to add a first user of the first electronic device as a contact of a second user of the second electronic device based on the first sound signal.
  • the third adding module includes:
  • a determining unit configured to determine the first identification information based on the first sound signal
  • a sending unit configured to send the first identifier information and the second identifier information of the second electronic device to a server, where the server sends the server based on the first identifier information and the second identifier information
  • the first user is added as a contact of the second user.
  • the third adding module is configured to:
  • the second electronic device further includes:
  • a third determining module configured to determine a second sound signal corresponding to the second identifier information of the second electronic device
  • a second playing module configured to play the second sound signal, to enable the first electronic device to add the second user as a location based on the second identification information when the second electronic device receives the second sound signal The first user's contact.
  • the second playing module is configured to: start the process of playing the second sound signal every second random time interval ;
  • the second detecting module is configured to stop detecting the process of obtaining the first sound signal when playing the second sound signal.
  • the third adding module is configured to: :
  • the user of the at least two electronic devices is added as the contact of the second user based on the first sound signal.
  • an embodiment of the present application provides a server, including a memory, and one or more programs, where one or more programs are stored in a memory and configured to be executed by one or more processors.
  • One or more programs contain instructions for doing the following:
  • the server is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the sound signal parses out the first identification information.
  • the server is further configured to execute, by the one or more processors, the one or more programs included for Instructions for doing the following:
  • the second user After obtaining the confirmation signal of the second electronic device, the second user is added as the contact of the first user.
  • the server is further configured to be
  • the one or more processors executing the one or more programs include instructions for performing the following operations:
  • the first user and the second user are added to each other as a contact.
  • an embodiment of the present application provides a first electronic device, including a memory, and one or more programs, where one or more programs are stored in a memory and configured to be configured by one or more processors Executing the one or more programs includes instructions for performing the following operations:
  • the first electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the first identification information is encoded according to a preset rule, thereby generating the first sound signal.
  • the first electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the first electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the second user After receiving the second sound signal, the second user is added as the contact of the first user based on the second identification information corresponding to the second sound signal.
  • the one or more programs include instructions for:
  • a process of detecting the second sound signal is initiated.
  • the embodiment of the present application provides a second electronic device, including a memory, and one or more programs, where one or more programs are stored in a memory and configured to be processed by one or more Executing the one or more programs includes instructions for performing the following operations:
  • the second electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the second electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the second electronic device is further configured Executing the one or more programs by one or more processors includes instructions for performing the following operations:
  • Playing the second sound signal so that when the first electronic device receives the second sound signal, the second user is added as the contact of the first user based on the second identification information.
  • the second electronic device is further configured to execute the one or more programs by one or more processors Contains instructions for doing the following:
  • the second electronic device is further configured Executing the one or more programs by one or more processors includes instructions for performing the following operations:
  • the user of the at least two electronic devices is added as the contact of the second user based on the first sound signal.
  • the first electronic device can provide the first identification information to the second electronic device by playing the first sound signal, so that the second electronic device can directly be based on the first sound signal received.
  • additional functional modules eg, Bluetooth module, WIFI module, etc.
  • the method of collecting the sound signal is generally convenient, and the user does not need to manually adjust the microphone, and the user does not need to manually perform some other input, thereby improving the efficiency of adding the contact.
  • FIG. 1 is a flowchart of a method for adding a contact according to a first aspect of the present application
  • FIG. 2 is a structural diagram of a smart watch according to an embodiment of the present application.
  • FIG. 3 is a flowchart of a method for adding a contact according to a second aspect of the embodiment of the present application.
  • FIG. 4 is a flowchart of a method for adding a contact according to a third aspect of the embodiment of the present application.
  • FIG. 5 is a structural diagram of a server according to a fourth aspect of the embodiment of the present application.
  • FIG. 6 is a structural diagram of a first electronic device according to a fifth aspect of the embodiment of the present application.
  • FIG. 7 is a structural diagram of a second electronic device according to a sixth aspect of the embodiment of the present application.
  • FIG. 8 is a structural diagram of an electronic device implementing a method for adding a contact in an embodiment of the present application.
  • FIG. 9 is a structural diagram of a server for implementing a method for adding a contact in an embodiment of the present application.
  • FIG. 10 is a block diagram of an apparatus for performing an add contact method in accordance with the present application.
  • 11 is a storage unit for maintaining or carrying program code that implements the add contact method in accordance with the present application.
  • the embodiment of the present application provides a method for adding a contact, an electronic device, and a server, so as to solve the technical problem of high cost of an electronic device caused by adding a contact function in the prior art.
  • the first electronic device can provide the first identification information to the second electronic device by playing the first sound signal, so that the second electronic device
  • the device adds the first user of the first electronic device as the contact of the second user of the second electronic device based on the first sound signal received, since the additional functional modules (eg, Bluetooth module, WIFI module, etc.) may be ), so you can reduce the cost of adding contacts.
  • the method of collecting the sound signal is generally convenient, and the user does not need to manually adjust the microphone, and the user does not need to manually perform some other input, thereby improving the efficiency of adding the contact.
  • the embodiment of the present application provides a method for adding a contact.
  • the method includes:
  • Step S101 determining a first sound signal corresponding to the first identification information of the first electronic device
  • Step S102 playing the first sound signal.
  • the first sound signal is used, after the second electronic device receives the first sound signal, adding the first user of the first electronic device as the first identifier information. A contact of a second user of the second electronic device.
  • the electronic device in the embodiment of the present application is, for example, a smart watch, a smart bracelet, a mobile phone, a tablet computer, or the like.
  • FIG. 2 is a structural diagram of a smart watch, which may include: a CPU; a speaker connected to the CPU for playing a sound signal; and a microphone connected to the CPU for receiving sound signals generated by other electronic devices.
  • a smart watch which may include: a CPU; a speaker connected to the CPU for playing a sound signal; and a microphone connected to the CPU for receiving sound signals generated by other electronic devices.
  • the structure is similar, and will not be described here.
  • identification information for uniquely identifying its identity may be separately set for each electronic device, and the identification information may be bound to the electronic device, for example: MAC of the electronic device (Media Access Control or Medium Access Control) : media access control) address, IMEI (International Mobile Equipment Identification Number), etc.; the identification information can also be bound to the account of the user's instant messaging software, such as: mobile phone number, chat software Account number and more.
  • the identification information may be set when the electronic device is in the field of appearance, or may be generated according to a preset rule after the user uses the electronic device, which is not limited in the embodiment of the present application.
  • the first sound signal corresponding to the first identification information may be determined in a plurality of manners, and two of them are introduced below. Of course, in the specific implementation process, the following two situations are not limited.
  • the first identification information is modulated according to a preset rule (such as frequency modulation, amplitude modulation, phase modulation, etc.), thereby generating a first sound signal. That is to say, for each character string in the first identification information, it may correspond to sound signals of different frequencies, different amplitudes, or different phases, assuming that the identification information passes the binary identification, 1 corresponds to a sound signal with a frequency of 100 Hz, and 0 corresponds to A sound signal with a frequency of 200 Hz, assuming that the first identification information is 1010, it can be a 100 Hz sound signal of a preset duration (for example, 0.1 s, 0.2 s, etc.), and then generate a 200 Hz sound signal of a preset duration, etc. Etc., for different characters representing different amplitudes or different phases, the corresponding sound signals are generated in a similar manner, and will not be further described herein.
  • a preset rule such as frequency modulation, amplitude modulation, phase modulation, etc.
  • each device eg, server, second electronic device, etc. directly decodes the first sound signal, and the first identification information can be obtained, for example, assuming that different characters are used for the first identification information.
  • the sound signals of different frequencies are transformed, and the decoded device can be separated according to the preset time interval after receiving the first sound signal, and then the corresponding character string is matched by each sound signal to obtain the first
  • the identification information does not need to store the correspondence between the identification information and the sound signal, so that the storage burden of the electronic device can be reduced.
  • each identification information is set in advance, so that the first sound signal is matched and matched in the corresponding relationship based on the first identification information.
  • the sound signal may be set according to any principle for each identification information, as long as the sound signal of the identification information is different from the sound signal of other identification information, in the first electronic device, and the first identification information needs to be acquired.
  • the device for example, the server, the second electronic device
  • the matching acquires the first sound signal; and after the other devices obtain the first sound signal, the first sound signal is matched in the correspondence relationship, thereby determining the corresponding first identification information.
  • step S102 may be performed, that is, playing the first sound signal, after the second electronic device receives the first sound signal, based on the first An identification information adds a first user of the first electronic device as a contact of a second user of the second electronic device.
  • the first user may be added as the contact of the second user.
  • the identification information of the electronic device is the identification information bound to the electronic device. In this case, it is directly The first electronic device is added as a contact of the second electronic device; 2 the identification information of the electronic device is the identification information bound to the account of the instant chat software, in this case, the chat software account of the first user is added. A contact for the account of the second user's chat software.
  • the first electronic device may play the first sound signal through the built-in or external speaker of the first electronic device, and the other electronic device (for example, the second electronic device) if it is necessary to add the second user as the contact of the first user.
  • the first sound signal played by the other electronic device is detected, and after detecting the first sound signal, the first user may be added as the contact of the second user by using the first identification information corresponding to the first sound signal.
  • the added contact may be added in one direction, that is, only the first user is added as the contact of the second user, and the added contact may also be added in two directions, that is, the first user and the second user. Users are added to each other as contacts.
  • the second electronic device may add the first user as a contact of the second user in multiple manners, and two of them are introduced below, of course, in specific During the implementation process, it is not limited to the following two cases.
  • the second electronic device determines the first identification information based on the first sound signal; and sends the first identification information and the second identification information of the second electronic device to a server, where The server adds the first user as a contact of the second user based on the first identification information and the second identification information.
  • the second electronic device can obtain the first identification information by decoding the first sound signal; If the first electronic device determines the first sound signal based on the correspondence between the identification information and the sound signal, the second electronic device directly searches through the corresponding relationship through the first sound signal, and the first identification information can be obtained.
  • the second electronic device After obtaining the first identification information based on the first sound signal, the second electronic device sends the first added contact request carrying the first identification information and the second identification information to the server, after the server receives the first added contact request By analyzing, it is determined that the second user wants to add the first user as a contact, thereby adding the first user as the contact of the first user.
  • the first identification information is directly sent to the server without transmitting the first sound signal, so that the data transmission burden can be reduced.
  • the second electronic device sends the first sound signal and the second identification information of the second electronic device to the server, for the server to determine the first based on the first sound signal. Identifying information, and adding the first user as a contact of the second user based on the first identification information and the second identification information.
  • the first sound signal does not need to be processed, but the first added contact request that carries the first sound signal and the second identification information is directly Sending to the server, the first audio signal is parsed by the server, so that the first identification information is obtained therefrom, and then the first user is added as the contact of the second user.
  • the compatibility of the solution can be improved.
  • the server may add the first user as the contact of the second user after receiving the first added contact request sent by the second electronic device, and in order to ensure the security of the solution (for example: The first user may not want to be added as a contact by the second user, and the server may add the first user as the contact of the second user after obtaining the confirmation signal of the first electronic device. .
  • the confirmation signal can be a plurality of acknowledgment signals, for example:
  • the second electronic device After receiving the first sound signal of the first electronic device, the second electronic device generates feedback information (for example, a sound signal, and of course other information, such as: text, picture, etc.) to the first electronic device.
  • An electronic device receives the first sound signal and requests to add the other party as a contact. If the first electronic device agrees, it may generate an acknowledgement signal that agrees to the other party's addition (which may also be a sound signal, of course, other a signal, such as: text, picture, etc., after the second electronic device obtains the confirmation signal, sends it to the server, and after receiving the confirmation signal sent by the second electronic device, the server adds the first user as the second User's contact.
  • an acknowledgement signal which may also be a sound signal, of course, other a signal, such as: text, picture, etc.
  • the server After receiving the add contact request sent by the second electronic device, the server sends the query information to the first electronic device for asking whether to agree to be added as the contact by the second electronic device, if the first electronic device agrees, An acknowledgment signal may be sent to the server, and after receiving the acknowledgment signal, the server adds the second user as the contact of the first user.
  • the first electronic device and the second electronic device may send a first added contact request to the server if the user wants to add a contact to each other, and the second electronic device may also send a second added contact request to the server, the server After receiving the first adding contact request and the second adding contact request of the first electronic device and the second electronic device, determining that both parties agree to add a contact, in which case the first user and the first user may be A user is added to each other as a contact.
  • the first electronic device may detect the second sound signal played by the second electronic device after playing the first sound signal.
  • the second sound signal corresponds to the second identification information; the first electronic device is answering After the second sound signal, the second user is added as the contact of the first user based on the second identification information corresponding to the second sound signal.
  • the first electronic device may send a first add contact request carrying the first identification information and the second sound signal to the server, and the server parses the second identification information based on the second sound signal; or the first electronic device is answering After the second sound signal, the second identification information is directly parsed from the second sound signal, and then the first added contact request carrying the first identification information and the second identification information is sent to the server, and the server receives the first After adding the contact request and the second add contact request, it is determined that each other agrees to add the other party as the contact, and each agrees to be added as the contact by the other party, in which case the first user and the second user are added. For the contact.
  • the electronic device can simultaneously play and receive the sound signal
  • the electronic device can directly listen to the sound signal while playing the sound signal, if the electronic device cannot simultaneously play And receiving the sound signal, the electronic device can start the process of receiving the sound signal at random time intervals, and stop the process of playing the sound signal while answering the sound signal, taking the electronic device as the first electronic device as an example: Starting a process of playing the first sound signal every first random time interval; at a time other than playing the first sound signal, starting a process of answering the second sound signal for the first electronic device After receiving the second sound signal, the second user is added as the contact of the first user based on the second identification information corresponding to the second sound signal.
  • the first electronic device can set the minimum duration of the first random time interval (eg, 0.1 s, 0.2 s, etc.) and the longest duration (eg, 0.4 s, 0.5 s, etc.) in the first electronic
  • the first random time interval may be randomly generated by the first electronic device, and when the first random time interval is not reached, the second sound generated by the second electronic device is detected.
  • the signal after reaching the first random time interval, stops detecting the second sound signal, starts playing the first sound signal, and continues to generate a new first random time interval, etc.; after the first sound signal ends, continues to detect Whether there is a second sound signal, and after reaching a new first random time interval, continue to stop detecting the second sound signal, and start playing the first sound signal, and so on; until the first electronic device detects the second sound signal, Alternatively, the first electronic device confirms that the second electronic device detects the first sound signal.
  • the processing manner is similar, that is, the process of playing the second sound signal is started every second random time interval; when the second sound signal is played, the detection is stopped to obtain the first The process of sound signals.
  • the manner of determining the second random time interval is similar to the manner of determining the first random time interval, and details are not described herein again.
  • the time interval between the first electronic device and the second electronic device to start playing the sound signal is random, so that the time for the first electronic device and the second electronic device to play the sound signal can be staggered, so that the two can Receiving the sound signal played by the other party smoothly, so that the first electronic device and the second electronic device can accurately answer the sound signal without the simultaneous receiving and playing sound function, thereby completing the addition of the contact.
  • the first electronic device may play the first sound signal only once, and in order for the second electronic device to successfully hear the first sound signal, the first electronic device may also be multiple times (for example: 3 times, 4 times, etc. Playing the first sound signal, in this case, after the playing the first sound signal, the method further comprises: if the confirmation signal generated by the second electronic device is detected, stopping the playing A sound signal.
  • the confirmation signal may also be a sound signal, and the first electronic device may obtain the confirmation information through the microphone, thereby confirming that the second electronic device has received the first sound signal. Then, the playing of the first sound signal can be stopped.
  • the first sound signal generated by the first electronic device can be heard by multiple electronic devices, for example, can be used by the electronic device A (corresponding to the user A) and the electronic device B (corresponding to the user B). ), the electronic device C (corresponding to the user C), and the electronic device D (corresponding to the user D) are heard, in which case the plurality of electronic devices may add the first user as the contact of the user of the corresponding electronic device.
  • the plurality of electronic devices may directly add the first user as a contact of the user of the corresponding electronic device, or the plurality of electronic devices send an add contact request to the server, where the server receives the first electronic device. After confirming the information, the first user is added as the contact of the user of the corresponding electronic device.
  • the electronic device A, the electronic device B, the electronic device C, and the electronic device D send a corresponding add contact request to the server after receiving the first sound signal, and after receiving the contact request, the server respectively sends the first electronic message to the first electronic device.
  • the device sends the following inquiry message: User A (User B, User C, or User D) wants to add you as a contact. Please confirm whether you agree?
  • the first electronic device receives the inquiry information, if it is desired to be added as a contact by the user A, the user B, and the user C, and does not want to be added as the contact by the user D, the user A, the user B, and the user can be confirmed.
  • C asks for information and rejects the inquiry information for user D.
  • the first electronic device can also receive the sound signals of the electronic device A, the electronic device B, the electronic device C, and the electronic device D, and then the first electronic device only needs to add the user A, the user B, and the user C as the contact,
  • the add contact request for User A, User B, and User C may be sent only to the server without sending an add contact request for User D or the like.
  • the first electronic device may play the first sound signal at any timing, and in order to reduce the processing burden of the first electronic device, the first user needs to add other users as contacts.
  • the first electronic device can be controlled to enter the add contact or the friend interface, and then the first electronic device is controlled to play the first sound signal.
  • the second electronic device can be accessed. Sound signal.
  • the first electronic device and the second electronic device wish to add a contact between each other, the first electronic device and the second electronic device respectively enter the dating interface to perform a sound signal playback and detection process based on the sound signal. Play, provide its own identification information to the other party, based on the detection of the sound signal, obtain the identification information of the other party, thereby adding the other party as the contact.
  • the embodiment of the present application provides a method for adding a contact, which is applied to a second electronic device.
  • the method includes:
  • Step S301 detecting that the first sound signal is obtained, where the first sound signal corresponds to the first identification information of the first electronic device;
  • Step S302 Add the first user of the first electronic device as the contact of the second user of the second electronic device based on the first sound signal.
  • the first user may be added as the contact of the second user in multiple manners in the following steps. Two of the following are introduced. Of course, in the specific implementation process, the following two situations are not limited. .
  • the adding the first user of the first electronic device as the contact of the second user of the second electronic device based on the first sound signal may include: determining, based on the first sound signal Transmitting the first identifier information, and sending the first identifier information and the second identifier information of the second electronic device to a server, where the server is based on the first identifier information and the second identifier The information adds the first user as a contact of the second user.
  • the second method the adding, by the first user, the first user of the first electronic device to the contact of the second user of the second electronic device may include: the first sound signal, And the second identifier information of the second electronic device is sent to the server, where the server determines the first identifier information based on the first sound signal, and based on the first identifier information and the second The identification information adds the first user as a contact of the second user.
  • the method may further include: determining a second sound signal corresponding to the second identification information of the second electronic device; playing the second sound signal, so that the first electronic device is receiving And when the second sound signal is used, adding the second user as a contact of the first user based on the second identification information.
  • the manner in which the second electronic device determines the second sound signal is similar to the manner in which the first electronic device determines the first sound signal, and details are not described herein again.
  • the method may further include: starting a process of playing the second sound signal every second random time interval; stopping the process of detecting the first sound signal when playing the second sound signal.
  • the adding the first user of the first electronic device as the contact of the second user of the second electronic device based on the first sound signal may include: if the first sound signal includes And corresponding to the sound signal of the identification information of the at least two electronic devices, adding a user of the at least two electronic devices as a contact of the second user based on the first sound signal.
  • the second electronic device can simultaneously listen to the sound signals generated by the plurality of other electronic devices, thereby simultaneously adding the users of the plurality of other electronic devices as the contacts of the second user, for example, assuming the second electronic device There are electronic devices A, electronic devices B, and electronic devices C. These electronic devices all have sound signals corresponding to their identification information. When the second electronic device answers the sound signals, it will simultaneously hear the electronic devices A.
  • the sound signal corresponding to the identification information of the electronic device B and the electronic device C the second electronic device can analyze the identification information of the electronic device A, the electronic device B or the electronic device C, and send the identification information to the server, thereby Adding users of the electronic devices as contacts of the second user; or, the second electronic device directly sends the sound signals of the electronic devices to the server, and the server resolves the identification information of the electronic devices, and the electronic devices are The user is added as a contact for the second user. Based on this scheme, the technical effect of being able to add multiple contacts to a user of one electronic device at the same time is achieved.
  • the third aspect is based on the same inventive concept.
  • the embodiment of the present application provides a method for adding a contact. Referring to FIG. 4, the method includes:
  • Step S401 Receive a first added contact request of the associated first sound signal sent by the second electronic device, where the first sound signal corresponds to the first identification information of the first electronic device, and the second electronic device obtains the method by answering The first sound signal played by the first electronic device;
  • Step S402 Determine the first identification information and the second identification information of the second electronic device according to the first added contact request
  • Step S403 Add the first user of the first electronic device as the contact of the second user of the second electronic device, based on the first identifier information and the second identifier information.
  • the first added contact request may carry the second identification information (or the second sound signal) corresponding to the second sound signal, where the second identification information (or the second sound signal) may be directly carried
  • the second identification information (or the second sound signal) may also be encrypted and then carried in the first added contact request, so that the server obtains the first After the contact request is added, the second identification information (or the second sound signal) contained therein needs to be decrypted.
  • the first identification information may be determined in a plurality of manners.
  • the following two types are introduced in the following description. Of course, in the specific implementation process, the following two situations are not limited.
  • the first type, the determining the first identifier information based on the first adding a contact request may include:
  • the sound signal parses out the first identification information.
  • the second type, the first user of the first electronic device is added as the contact of the second user of the second electronic device based on the first identifier information and the second identifier information, and may include :
  • the adding, by the first identifier information and the second identifier information, the first user of the first electronic device as the contact of the second user of the second electronic device may include Receiving, by the first electronic device, a second added contact request that is associated with the second sound signal, where the second sound signal corresponds to the second identification information, and the first electronic device obtains the The second sound signal played by the two electronic devices; after receiving the first added contact request and the second added contact request, adding the first user and the second user to each other as a contact people.
  • the second added contact request may carry the first identification information (or the first sound signal), and in order to improve the security of the data transmission, the first identification information (or the first sound signal) may be encrypted and then carried in the first Second add the contact request.
  • the embodiment of the present application provides a server. Referring to FIG. 5, the method includes:
  • the receiving module 50 is configured to receive a first added contact request that is sent by the second electronic device to associate the first sound signal, where the first sound signal corresponds to the first identification information of the first electronic device, and the second electronic device passes Receiving the first sound signal played by the first electronic device;
  • the first determining module 51 is configured to determine, according to the first added contact request, the first identifier information and the second identifier information of the second electronic device;
  • the first adding module 52 is configured to add a first user of the first electronic device as a contact of a second user of the second electronic device based on the first identification information and the second identification information.
  • the first determining module 51 is configured to:
  • the sound signal parses out the first identification information.
  • the first adding module 52 is configured to:
  • the first adding module 52 may include:
  • a receiving unit configured to receive a second added contact request of the associated second sound signal sent by the first electronic device, where the second sound signal corresponds to the second identification information, and the first electronic device adopts an answering manner Obtaining the second sound signal played by the second electronic device;
  • an adding unit configured to add the first user and the second user as contacts to each other after receiving the first adding contact request and the second adding contact request.
  • the server used in the fourth aspect of the present application is the same server as the server used in the method for adding contacts introduced in the first aspect of the present application. Therefore, the added contact is introduced based on the first aspect of the embodiment of the present application.
  • the server used in the fourth aspect of the present application can understand the specific structure and the modification of the server introduced in the fourth aspect of the embodiment of the present application. Therefore, the method for adding a contact introduced in the first aspect of the embodiment of the present application is not described herein.
  • the servers employed are all within the scope of the present application.
  • the fifth aspect is based on the same inventive concept.
  • the embodiment of the present application provides a first electronic device. Referring to FIG. 6, the method includes:
  • a second determining module 60 configured to determine a first sound signal corresponding to the first identification information of the first electronic device
  • the first playing module 61 is configured to play the first sound signal.
  • the second determining module 60 is configured to:
  • the first identification information is encoded according to a preset rule, thereby generating the first sound signal.
  • the first electronic device may further include:
  • the first electronic device further includes:
  • a first detecting module configured to detect a second sound signal played by the second electronic device
  • a second adding module configured to add the second user as a contact of the first user based on second identification information corresponding to the second sound signal after receiving the second sound signal.
  • the first playing module 61 is configured to: start a process of playing the first sound signal every first random time interval;
  • the first detecting module is configured to start a process of detecting the second sound signal at a time other than playing the first sound signal.
  • the first electronic device used in the fifth aspect of the present application is the same as the first electronic device used in the method for adding a contact introduced in the first aspect of the present application, and is therefore based on the embodiment of the present application.
  • the method of adding a contact introduced in the first aspect those skilled in the art can understand the specific structure and the modification of the first electronic device introduced in the fifth aspect of the embodiment of the present application, and therefore, details are not described herein again.
  • the first electronic device used in the method of adding contacts introduced in the first aspect of the present invention is within the scope of the present application.
  • the embodiment of the present application provides a second electronic device. Referring to FIG. 7, the method includes:
  • the second detecting module 70 is configured to detect that the first sound signal is obtained, where the first sound signal corresponds to the first identification information of the first electronic device;
  • the third adding module 71 is configured to add the first user of the first electronic device as the contact of the second user of the second electronic device based on the first sound signal.
  • the third adding module 71 may include:
  • a determining unit configured to determine the first identification information based on the first sound signal
  • a sending unit configured to send the first identifier information and the second identifier information of the second electronic device to a server, where the server sends the server based on the first identifier information and the second identifier information
  • the first user is added as a contact of the second user.
  • the third adding module 71 is configured to:
  • the second electronic device may further include:
  • a third determining module configured to determine a second sound signal corresponding to the second identifier information of the second electronic device
  • a second playing module configured to play the second sound signal, to enable the first electronic device to add the second user as a location based on the second identification information when the second electronic device receives the second sound signal The first user's contact.
  • the second playing module is configured to: start a process of playing the second sound signal every second random time interval;
  • the second detecting module 70 is configured to stop detecting the process of obtaining the first sound signal when playing the second sound signal.
  • the third adding module 71 is configured to:
  • the user of the at least two electronic devices is added as the contact of the second user based on the first sound signal.
  • the second electronic device which is the same as the second electronic device used in the method for adding a contact described in the first aspect of the present application, is the same second electronic device, and is based on the embodiment of the present application.
  • the specific structure and the modification of the second electronic device introduced in the sixth aspect of the embodiments of the present application can be understood by those skilled in the art, and therefore, the details are not described herein.
  • the second electronic device employed in the method of adding contacts described in the first aspect of the present invention is within the scope of the present application.
  • an embodiment of the present application provides a server, including a memory, and one or more programs, where one or more programs are stored in a memory and configured to be one or more
  • the processor executing the one or more programs includes instructions for performing the following operations:
  • the server is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the sound signal parses out the first identification information.
  • the server is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the second user After obtaining the confirmation signal of the second electronic device, the second user is added as the contact of the first user.
  • the server is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the first user and the second user are added to each other as a contact.
  • the server used in the seventh aspect of the present application is the same server as the server used in the method for adding a contact described in the first aspect of the present application. Therefore, the added contact is introduced based on the first aspect of the embodiment of the present application.
  • the server used in the seventh aspect of the present application can understand the specific structure and the modification of the server introduced in the seventh aspect of the embodiment of the present application. Therefore, the method for adding a contact introduced in the first aspect of the embodiment of the present application is not described herein.
  • the servers employed are all within the scope of the present application.
  • an embodiment of the present application provides a first electronic device, including a memory, and one or more programs, where one or more programs are stored in a memory and configured to be Or the one or more processors executing the one or more programs include instructions for performing the following operations:
  • the first electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the first identification information is encoded according to a preset rule, thereby generating the first sound signal.
  • the first electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the first electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the second user After receiving the second sound signal, the second user is added as the contact of the first user based on the second identification information corresponding to the second sound signal.
  • the first electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • a process of detecting the second sound signal is initiated.
  • the first electronic device used in the method for adding contacts described in the first aspect of the present application is the same first electronic device, and is based on the embodiment of the present application.
  • the method of adding a contact introduced in the first aspect those skilled in the art can understand the specific structure and the modification of the first electronic device introduced in the eighth aspect of the embodiment of the present application, and therefore, details are not described herein again.
  • the first electronic device used in the method of adding contacts introduced in the first aspect of the present invention is within the scope of the present application.
  • an embodiment of the present application provides a second electronic device, including a memory, and one or more programs, where one or more programs are stored in a memory and configured to be Or the one or more processors executing the one or more programs include instructions for performing the following operations:
  • the second electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the second electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the second electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • Playing the second sound signal so that when the first electronic device receives the second sound signal, the second user is added as the contact of the first user based on the second identification information.
  • the second electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the second electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the user of the at least two electronic devices is added as the contact of the second user based on the first sound signal.
  • the second electronic device used in the ninth aspect of the present application is the same second electronic device as the method for adding a contact introduced in the first aspect of the present application, and is based on the embodiment of the present application.
  • the method of adding a contact introduced in the first aspect those skilled in the art can understand the specific structure and modification of the second electronic device introduced in the ninth aspect of the embodiment of the present application, and therefore, details are not described herein again.
  • the second electronic device employed in the method of adding contacts described in the first aspect of the present invention is within the scope of the present application.
  • FIG. 8 is a block diagram of an electronic device 800 (a first electronic device or a second electronic device) that adds a contact method, according to an exemplary embodiment.
  • electronic device 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
  • the electronic device 800 can include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, and a sensor component 814. And communication component 816.
  • Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • Processing component 802 can include one or more processors 820 to execute instructions to perform all or part of the steps of the above described methods.
  • processing component 802 can include one or more modules to facilitate interaction between component 802 and other components.
  • processing component 802 can include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
  • Memory 804 is configured to store various types of data to support operation at device 800. Examples of such data include instructions for any application or method operating on electronic device 800, contact data, phone book data, messages, pictures, videos, and the like.
  • the memory 804 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Disk Disk or Optical Disk.
  • Power component 806 provides power to various components of electronic device 800.
  • Power component 806 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 800.
  • the multimedia component 808 includes a screen between the electronic device 800 and a user that provides an output interface.
  • the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
  • the multimedia component 808 includes a front camera and/or a rear camera. When the electronic device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 810 is configured to output and/or input an audio signal.
  • the audio component 810 includes a microphone (MIC) that is configured to receive an external audio signal when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
  • the received audio signal may be further stored in memory 804 or transmitted via communication component 816.
  • the audio component 810 also includes a speaker for outputting an audio signal.
  • the I/O interface 812 provides an interface between the processing component 802 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
  • Sensor assembly 814 includes one or more sensors for providing electronic device 800 with a status assessment of various aspects.
  • sensor component 814 can detect an open/closed state of device 800, a relative positioning of components, such as the display and keypad of electronic device 800, and sensor component 814 can also detect a component of electronic device 800 or electronic device 800. The location changes, the presence or absence of contact of the user with the electronic device 800, the orientation or acceleration/deceleration of the electronic device 800, and the temperature change of the electronic device 800.
  • Sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD video sensor, for use in imaging applications.
  • the sensor assembly 814 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices.
  • the electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • the communication component 816 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
  • the communication component 816 also includes a near field communication (NFC) module to facilitate short range communication.
  • NFC near field communication
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • electronic device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), A gated array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA gated array
  • controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
  • non-transitory computer readable storage medium comprising instructions, such as a memory 804 comprising instructions executable by processor 820 of electronic device 800 to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of a first electronic device, enabling the first electronic device to perform an add contact method, the method comprising:
  • the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the first identification information is encoded according to a preset rule, thereby generating the first sound signal.
  • the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the second user After receiving the second sound signal, the second user is added as the contact of the first user based on the second identification information corresponding to the second sound signal.
  • the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • a process of detecting the second sound signal is initiated.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of a second electronic device, enabling the second electronic device to perform an add contact method, the method comprising:
  • the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • Playing the second sound signal so that when the first electronic device receives the second sound signal, the second user is added as the contact of the first user based on the second identification information.
  • the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the user of the at least two electronic devices is added as the contact of the second user based on the first sound signal.
  • FIG. 9 is a schematic structural diagram of a server in some embodiments of an embodiment of the present application.
  • the server 1900 can vary considerably depending on configuration or performance, and can include one or more central processing units (CPUs) 1922 (eg, one or more processors) and memory 1932, one or one The above storage medium 1942 or storage medium 1930 of data 1944 (eg, one or one storage device in Shanghai).
  • the memory 1932 and the storage medium 1930 may be short-term storage or persistent storage.
  • the program stored on storage medium 1930 may include one or more modules (not shown), each of which may include a series of instruction operations in the server.
  • central processor 1922 can be configured to communicate with storage medium 1930, which performs a series of instruction operations in storage medium 1930.
  • Server 1900 may also include one or more power sources 1926, one or more wired or wireless network interfaces 1950, one or more input and output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941.
  • power sources 1926 For example, Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
  • a non-transitory computer readable storage medium when instructions in the storage medium are executed by a processor of a server, to enable a server to perform an add contact method, the method comprising:
  • the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the sound signal parses out the first identification information.
  • the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the second user After obtaining the confirmation signal of the second electronic device, the second user is added as the contact of the first user.
  • the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
  • the first user and the second user are added to each other as a contact.
  • FIG. 10 shows an apparatus for performing an add contact according to the present application.
  • the device can be an electronic device or server that traditionally includes a processor 1410 and a program product or readable medium in the form of a memory 1420.
  • the memory 1420 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, or a ROM.
  • Memory 1420 has a memory space 1430 for program code 1431 for performing any of the method steps described above.
  • storage space 1430 for program code may include various program code 1431 for implementing various steps in the above methods, respectively.
  • These program codes can be read from or written to one or more program products.
  • These program products include program code carriers such as memory cards.
  • Such a program product is typically a portable or fixed storage unit as described with reference to FIG.
  • the storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 1420 in the apparatus of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes readable code 1431', ie, code that can be read by a processor, such as, for example, 1410, which when executed by the device causes the device to perform each of the methods of adding contacts described above. step.
  • the first electronic device can provide the first identification information to the second electronic device by playing the first sound signal, so that the second electronic device can directly be based on the first sound signal received.
  • additional functional modules eg, Bluetooth module, WIFI module, etc.
  • the method of collecting the sound signal is generally convenient, and the user does not need to manually adjust the microphone, and the user does not need to manually perform some other input, thereby improving the efficiency of adding the contact.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • a device implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of a flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

The embodiment of the present application relates to the field of communications and provided are a contact method, an electronic device, and a server, so as to solve the technical problem of high cost of the electronic device caused by a function of adding a contact in the prior art. The method comprises receiving a first contact adding request associated with a first sound signal sent by a second electronic device, the first sound signal corresponding to first identification information of a first electronic device, and the second electronic device obtaining the first sound signal played by the first electronic device by means of an answering manner; determining the first identification information and the second identification information of the second electronic device on the basis of the first contact adding request; and adding first user of the first electronic device as the contact of the second user of the second electronic device on the basis of the first identification information and the second identification information. In the embodiment of the present application, the efficiency of adding contacts is improved.

Description

一种添加联系人方法、电子设备及服务器Add contact method, electronic device and server
本申请要求在2017年01月13日提交中国专利局、申请号为201710025426.6、发明名称为“一种添加联系人方法、电子设备及服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on Jan. 13, 2017, the application number of the Japanese Patent Office No. 201710025426.6, entitled "Adding a Contact Method, Electronic Device and Server", the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本申请涉及通信领域,尤其涉及一种添加联系人方法、电子设备及服务器。The present application relates to the field of communications, and in particular, to a method for adding a contact, an electronic device, and a server.
背景技术Background technique
随着科学技术的不断发展,电子技术也得到了飞速的发展,电子设备的种类也越来越多,人们也享受到了科技发展带来的各种便利。现在人们可以通过各种类型的电子设备,享受随着科技发展带来的舒适生活。例如,智能手表、智能手机、平板电脑等电子设备已经成为人们生活中一个重要的组成部分,其可以包含各种功能。With the continuous development of science and technology, electronic technology has also developed rapidly, and there are more and more types of electronic devices. People also enjoy the convenience brought by the development of science and technology. Nowadays, people can enjoy the comfortable life brought by the development of science and technology through various types of electronic devices. For example, electronic devices such as smart watches, smart phones, and tablets have become an important part of people's lives, and they can contain various functions.
以电子设备为智能手表为例,其除指示时间之外,还具有提醒、导航、校准、监测、交互等其中一种或者多种功能,显示方式包括指针、数字、图像等,另外,智能手表彼此之间还可以互相通信。现有技术中,若一个智能手表需要添加另一智能手表作为联系人,则可以通过搜索蓝牙和WIFI地址的方式实现,然而由于需要蓝牙模块和WIFI模块支持,故存在着成本较高的技术问题。Taking an electronic device as an example of a smart watch, in addition to indicating the time, it also has one or more functions of reminding, navigating, calibrating, monitoring, interacting, etc., and the display mode includes a pointer, a number, an image, etc. In addition, the smart watch They can also communicate with each other. In the prior art, if a smart watch needs to add another smart watch as a contact, it can be implemented by searching for a Bluetooth and a WIFI address. However, since the Bluetooth module and the WIFI module are required to be supported, there is a technical problem of high cost. .
发明内容Summary of the invention
本申请实施例提供一种添加联系人方法、电子设备及服务器,以解决现有技术中添加联系人功能导致的电子设备成本较高的技术问题。The embodiment of the present application provides a method for adding a contact, an electronic device, and a server, so as to solve the technical problem of high cost of an electronic device caused by adding a contact function in the prior art.
第一方面,本申请实施例提供一种添加联系人方法,包括:In a first aspect, an embodiment of the present application provides a method for adding a contact, including:
接收第二电子设备发送的关联第一声音信号的第一添加联系人请求,所述第一声音信号对应第一电子设备的第一标识信息,所述第二电子设备通过接听方式获得所述第一电子设备播放的所述第一声音信号;Receiving, by the first electronic device, a first added contact request that is associated with the first sound signal, where the first sound signal corresponds to the first identification information of the first electronic device, and the second electronic device obtains the first The first sound signal played by an electronic device;
基于所述第一添加联系人请求确定出所述第一标识信息、以及所述第二电子设备的第二标识信息;Determining, according to the first adding contact request, the first identification information, and the second identification information of the second electronic device;
基于所述第一标识信息和所述第二标识信息,将所述第一电子设备的第一用户添加为所述第二电子设备的第二用户的联系人。And adding, by the first identifier information and the second identifier information, a first user of the first electronic device as a contact of a second user of the second electronic device.
结合第一方面,在第一种可选的实施例中,所述基于所述第一添加联系人请求确定出所述第一标识信息,包括:With reference to the first aspect, in the first optional embodiment, the determining, according to the first adding contact request, the first identifier information, including:
从所述第一添加联系人请求中提取出所述第一声音信号;基于声音信号与标识信息的对应关系,确定出所述第一声音信号所对应的所述第一标识信息;或者,Extracting the first sound signal from the first added contact request; determining the first identification information corresponding to the first sound signal based on a correspondence between the sound signal and the identification information; or
从所述第一添加联系人请求中提取出所述第一标识信息,其中,所述第二电子设备在从所述第一电子设备接听到所述第一声音信号之后,基于所述第一 声音信号解析出所述第一标识信息。Extracting the first identification information from the first added contact request, wherein the second electronic device is based on the first after receiving the first sound signal from the first electronic device The sound signal parses out the first identification information.
结合第一方面,在第二种可选的实施例中,所述基于所述第一标识信息和所述第二标识信息,将所述第一电子设备的第一用户添加为所述第二电子设备的第二用户的联系人,包括:With reference to the first aspect, in a second optional embodiment, the first user of the first electronic device is added as the second based on the first identifier information and the second identifier information The contact of the second user of the electronic device, including:
在获得所述第一电子设备的确认信号之后,将所述第一用户添加为所述第二用户的联系人。After obtaining the confirmation signal of the first electronic device, adding the first user as a contact of the second user.
结合第一方面或第一方面的第一至二种可选的实施例中的任意一种可选的实施例,在第三种可选的实施例中,所述基于所述第一标识信息和所述第二标识信息,将所述第一电子设备的第一用户添加为所述第二电子设备的第二用户的联系人,包括:With reference to the first aspect or any one of the first to the second optional embodiments of the first aspect, in a third optional embodiment, the And adding, by the second identifier information, the first user of the first electronic device as the contact of the second user of the second electronic device, including:
接收所述第一电子设备发送的关联第二声音信号的第二添加联系人请求,所述第二声音信号对应所述第二标识信息,所述第一电子设备通过接听方式获得所述第二电子设备播放的所述第二声音信号;Receiving, by the first electronic device, a second added contact request that is associated with the second sound signal, where the second sound signal corresponds to the second identification information, and the first electronic device obtains the second by answering The second sound signal played by the electronic device;
在接收到所述第一添加联系人请求和所述第二添加联系人请求之后,将所述第一用户和所述第二用户彼此添加为联系人。After receiving the first add contact request and the second add contact request, the first user and the second user are added to each other as a contact.
第二方面,本申请实施例提供一种添加联系人方法,包括:In a second aspect, the embodiment of the present application provides a method for adding a contact, including:
确定第一电子设备的第一标识信息所对应的第一声音信号;Determining a first sound signal corresponding to the first identification information of the first electronic device;
播放所述第一声音信号。Playing the first sound signal.
结合第二方面,在第一种可选的实施例中,所述确定第一电子设备的第一标识信息所对应的第一声音信号,包括:With reference to the second aspect, in the first optional embodiment, the determining the first sound signal corresponding to the first identifier information of the first electronic device includes:
从标识信息与声音信号的对应关系中,基于所述第一标识信息确定所述第一声音信号;或者,Determining, according to the correspondence information between the identification information and the sound signal, the first sound signal based on the first identification information; or
对所述第一标识信息按照预设规则进行编码,从而生成所述第一声音信号。The first identification information is encoded according to a preset rule, thereby generating the first sound signal.
结合第二方面,在第二种可选的实施例中,在所述播放所述第一声音信号之后,所述方法进一步包括:With reference to the second aspect, in the second optional embodiment, after the playing the first sound signal, the method further includes:
如果检测到所述第二电子设备产生的确认信号,停止播放所述第一声音信号。If the confirmation signal generated by the second electronic device is detected, the playing of the first sound signal is stopped.
结合第二方面,在第三种可选的实施例中,所述方法进一步包括:With reference to the second aspect, in a third optional embodiment, the method further includes:
检测第二电子设备所播放的第二声音信号;Detecting a second sound signal played by the second electronic device;
在接听到所述第二声音信号之后,基于所述第二声音信号所对应的第二标识信息将所述第二用户添加为所述第一用户的联系人。After receiving the second sound signal, the second user is added as the contact of the first user based on the second identification information corresponding to the second sound signal.
结合第二方面的第三种可选的实施例,在第四种可选的实施例中,所述方法进一步包括:With reference to the third optional embodiment of the second aspect, in a fourth optional embodiment, the method further includes:
每隔第一随机时间间隔,启动播放所述第一声音信号的过程;Starting the process of playing the first sound signal every first random time interval;
在播放所述第一声音信号之外的其他时间,启动检测所述第二声音信号的过程。At a time other than playing the first sound signal, a process of detecting the second sound signal is initiated.
第三方面,本申请实施例提供一种添加联系人方法,,包括:In a third aspect, the embodiment of the present application provides a method for adding a contact, including:
检测获得第一声音信号,所述第一声音信号对应第一电子设备的第一标识 信息;Detecting that the first sound signal is obtained, where the first sound signal corresponds to the first identification information of the first electronic device;
基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人。And adding, according to the first sound signal, the first user of the first electronic device as a contact of a second user of the second electronic device.
结合第三方面,在第一种可选的实施例中,所述基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人,包括:With reference to the third aspect, in a first optional embodiment, the first user of the first electronic device is added as a contact of a second user of the second electronic device based on the first sound signal ,include:
基于所述第一声音信号确定出所述第一标识信息;Determining the first identification information based on the first sound signal;
将所述第一标识信息、以及所述第二电子设备的第二标识信息发送至服务器,以供所述服务器基于所述第一标识信息和所述第二标识信息将所述第一用户添加为所述第二用户的联系人。Transmitting the first identifier information and the second identifier information of the second electronic device to a server, where the server adds the first user based on the first identifier information and the second identifier information Is the contact of the second user.
结合第三方面,在第二种可选的实施例中,所述基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人,包括:With reference to the third aspect, in a second optional embodiment, the first user of the first electronic device is added as a contact of a second user of the second electronic device based on the first sound signal ,include:
将所述第一声音信号、以及所述第二电子设备的第二标识信息发送至服务器,以供所述服务器基于所述第一声音信号确定出所述第一标识信息,并基于所述第一标识信息和所述第二标识信息将所述第一用户添加为所述第二用户的联系人。Transmitting the first sound signal and the second identification information of the second electronic device to a server, where the server determines the first identification information based on the first sound signal, and based on the An identification information and the second identification information add the first user as a contact of the second user.
结合第三方面或第三方面的第一至二种可选的实施例中的任意一种可选的实施例,在第三种可选的实施例中,所述方法进一步包括:With reference to the third aspect, or any one of the first to the second optional embodiments of the third aspect, in a third optional embodiment, the method further includes:
确定与所述第二电子设备的第二标识信息对应的第二声音信号;Determining a second sound signal corresponding to the second identification information of the second electronic device;
播放所述第二声音信号,以使所述第一电子设备在接听到所述第二声音信号时,基于所述第二标识信息将所述第二用户添加为所述第一用户的联系人。Playing the second sound signal, so that when the first electronic device receives the second sound signal, the second user is added as the contact of the first user based on the second identification information. .
结合第三方面的第三种可选的实施例,在第四种可选的实施例中,所述方法进一步包括:With reference to the third optional embodiment of the third aspect, in a fourth optional embodiment, the method further includes:
每隔第二随机时间间隔,启动播放所述第二声音信号的过程;Initiating a process of playing the second sound signal every second random time interval;
在播放所述第二声音信号时,停止检测获得第一声音信号的过程。When the second sound signal is played, the process of detecting the first sound signal is stopped.
结合第三方面或第三方面的第一至二种可选的实施例中的任意一种可选的实施例,在第五种可选的实施例中,所述基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人,包括:With reference to the third aspect or any one of the first to the second optional embodiments of the third aspect, in a fifth optional embodiment, the Adding the first user of the first electronic device as the contact of the second user of the second electronic device, including:
如果所述第一声音信号包含对应至少两个电子设备的标识信息的声音信号,基于所述第一声音信号将所述至少两个电子设备的用户添加为所述第二用户的联系人。If the first sound signal includes a sound signal corresponding to the identification information of the at least two electronic devices, the user of the at least two electronic devices is added as the contact of the second user based on the first sound signal.
第四方面,本申请实施例提供一种服务器,包括:In a fourth aspect, an embodiment of the present application provides a server, including:
接收模块,用于接收第二电子设备发送的关联第一声音信号的第一添加联系人请求,所述第一声音信号对应第一电子设备的第一标识信息,所述第二电子设备通过接听方式获得所述第一电子设备播放的所述第一声音信号;a receiving module, configured to receive a first added contact request that is sent by the second electronic device, where the first sound signal corresponds to the first identification information of the first electronic device, and the second electronic device answers Obtaining the first sound signal played by the first electronic device;
第一确定模块,用于基于所述第一添加联系人请求确定出所述第一标识信息、以及所述第二电子设备的第二标识信息;a first determining module, configured to determine, according to the first add contact request, the first identifier information, and second identifier information of the second electronic device;
第一添加模块,用于基于所述第一标识信息和所述第二标识信息,将所述 第一电子设备的第一用户添加为所述第二电子设备的第二用户的联系人。And a first adding module, configured to add, by the first identifier information and the second identifier information, a first user of the first electronic device as a contact of a second user of the second electronic device.
结合第四方面,在第一种可选的实施例中,所述第一确定模块,用于:With reference to the fourth aspect, in a first optional embodiment, the first determining module is configured to:
从所述第一添加联系人请求中提取出所述第一声音信号;基于声音信号与标识信息的对应关系,确定出所述第一声音信号所对应的所述第一标识信息;或者,Extracting the first sound signal from the first added contact request; determining the first identification information corresponding to the first sound signal based on a correspondence between the sound signal and the identification information; or
从所述第一添加联系人请求中提取出所述第一标识信息,其中,所述第二电子设备在从所述第一电子设备接听到所述第一声音信号之后,基于所述第一声音信号解析出所述第一标识信息。Extracting the first identification information from the first added contact request, wherein the second electronic device is based on the first after receiving the first sound signal from the first electronic device The sound signal parses out the first identification information.
结合第四方面,在第二种可选的实施例中,所述第一添加模块,用于:With reference to the fourth aspect, in a second optional embodiment, the first adding module is configured to:
在获得所述第二电子设备的确认信号之后,将所述第二用户添加为所述第一用户的联系人。After obtaining the confirmation signal of the second electronic device, the second user is added as the contact of the first user.
结合第四方面或第四方面的第一至二种可选的实施例中的任意一种可选的实施例,在第三种可选的实施例中,所述第一添加模块,包括:With reference to the fourth aspect, or any one of the first to the second optional embodiments of the fourth aspect, in the third optional embodiment, the first adding module includes:
接收单元,用于接收所述第一电子设备发送的关联第二声音信号的第二添加联系人请求,所述第二声音信号对应所述第二标识信息,所述第一电子设备通过接听方式获得所述第二电子设备播放的所述第二声音信号;a receiving unit, configured to receive a second added contact request of the associated second sound signal sent by the first electronic device, where the second sound signal corresponds to the second identification information, and the first electronic device adopts an answering manner Obtaining the second sound signal played by the second electronic device;
添加单元,用于在接收到所述第一添加联系人请求和所述第二添加联系人请求之后,将所述第一用户和所述第二用户彼此添加为联系人。And an adding unit, configured to add the first user and the second user as contacts to each other after receiving the first adding contact request and the second adding contact request.
第五方面,本申请实施例提供一种第一电子设备,包括:In a fifth aspect, the embodiment of the present application provides a first electronic device, including:
第二确定模块,用于确定第一电子设备的第一标识信息所对应的第一声音信号;a second determining module, configured to determine a first sound signal corresponding to the first identification information of the first electronic device;
第一播放模块,用于播放所述第一声音信号。a first playing module, configured to play the first sound signal.
结合第五方面,在第一种可选的实施例中,所述第二确定模块,用于:With reference to the fifth aspect, in a first optional embodiment, the second determining module is configured to:
从标识信息与声音信号的对应关系中,基于所述第一标识信息确定所述第一声音信号;或者,Determining, according to the correspondence information between the identification information and the sound signal, the first sound signal based on the first identification information; or
对所述第一标识信息按照预设规则进行编码,从而生成所述第一声音信号。The first identification information is encoded according to a preset rule, thereby generating the first sound signal.
结合第五方面,在第二种可选的实施例中,所述第一电子设备进一步包括:With reference to the fifth aspect, in a second optional embodiment, the first electronic device further includes:
停止模块,用于如果检测到所述第二电子设备产生的确认信号,停止播放所述第一声音信号。And stopping the module, if the acknowledgment signal generated by the second electronic device is detected, stopping playing the first sound signal.
结合第五方面,在第三种可选的实施例中,所述第一电子设备进一步包括:With reference to the fifth aspect, in a third optional embodiment, the first electronic device further includes:
第一检测模块,用于检测第二电子设备所播放的第二声音信号;a first detecting module, configured to detect a second sound signal played by the second electronic device;
第二添加模块,用于在接听到所述第二声音信号之后,基于所述第二声音信号所对应的第二标识信息将所述第二用户添加为所述第一用户的联系人。a second adding module, configured to add the second user as a contact of the first user based on second identification information corresponding to the second sound signal after receiving the second sound signal.
结合第五方面的第三种可选的实施例,在第四种可选的实施例中,所述第一播放模块,用于:每隔第一随机时间间隔,启动播放所述第一声音信号的过程;With reference to the third optional embodiment of the fifth aspect, in a fourth optional embodiment, the first playing module is configured to: start playing the first sound every first random time interval Signal process
所述第一检测模块,用于在播放所述第一声音信号之外的其他时间,启动检测所述第二声音信号的过程。The first detecting module is configured to start a process of detecting the second sound signal at a time other than playing the first sound signal.
第六方面,本申请实施例提供一种第二电子设备,包括:In a sixth aspect, the embodiment of the present application provides a second electronic device, including:
第二检测模块,用于检测获得第一声音信号,所述第一声音信号对应第一电子设备的第一标识信息;a second detecting module, configured to detect that the first sound signal is obtained, where the first sound signal corresponds to the first identification information of the first electronic device;
第三添加模块,用于基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人。a third adding module, configured to add a first user of the first electronic device as a contact of a second user of the second electronic device based on the first sound signal.
结合第六方面,在第一种可选的实施例中,所述第三添加模块,包括:With reference to the sixth aspect, in a first optional embodiment, the third adding module includes:
确定单元,用于基于所述第一声音信号确定出所述第一标识信息;a determining unit, configured to determine the first identification information based on the first sound signal;
发送单元,用于将所述第一标识信息、以及所述第二电子设备的第二标识信息发送至服务器,以供所述服务器基于所述第一标识信息和所述第二标识信息将所述第一用户添加为所述第二用户的联系人。a sending unit, configured to send the first identifier information and the second identifier information of the second electronic device to a server, where the server sends the server based on the first identifier information and the second identifier information The first user is added as a contact of the second user.
结合第六方面,在第二种可选的实施例中,所述第三添加模块,用于:With reference to the sixth aspect, in a second optional embodiment, the third adding module is configured to:
将所述第一声音信号、以及所述第二电子设备的第二标识信息发送至服务器,以供所述服务器基于所述第一声音信号确定出所述第一标识信息,并基于所述第一标识信息和所述第二标识信息将所述第一用户添加为所述第二用户的联系人。Transmitting the first sound signal and the second identification information of the second electronic device to a server, where the server determines the first identification information based on the first sound signal, and based on the An identification information and the second identification information add the first user as a contact of the second user.
结合第六方面或第六方面的第一至二种可选的实施例中的任意一种可选的实施例,在第三种可选的实施例中,所述第二电子设备进一步包括:With reference to the sixth aspect, or any one of the first to the second optional embodiments of the sixth aspect, in the third optional embodiment, the second electronic device further includes:
第三确定模块,用于确定与所述第二电子设备的第二标识信息对应的第二声音信号;a third determining module, configured to determine a second sound signal corresponding to the second identifier information of the second electronic device;
第二播放模块,用于播放所述第二声音信号,以使所述第一电子设备在接听到所述第二声音信号时,基于所述第二标识信息将所述第二用户添加为所述第一用户的联系人。a second playing module, configured to play the second sound signal, to enable the first electronic device to add the second user as a location based on the second identification information when the second electronic device receives the second sound signal The first user's contact.
结合第六方面的第三种可选的实施例,在第四种可选的实施例中第二播放模块,用于:每隔第二随机时间间隔,启动播放所述第二声音信号的过程;With reference to the third optional embodiment of the sixth aspect, in a fourth optional embodiment, the second playing module is configured to: start the process of playing the second sound signal every second random time interval ;
所述第二检测模块,用于在播放所述第二声音信号时,停止检测获得第一声音信号的过程。The second detecting module is configured to stop detecting the process of obtaining the first sound signal when playing the second sound signal.
结合第六方面或第六方面的第一至二种可选的实施例中的任意一种可选的实施例,在第五种可选的实施例中,所述第三添加模块,用于:With reference to the sixth aspect or any one of the first to the second optional embodiments of the sixth aspect, in a fifth optional embodiment, the third adding module is configured to: :
如果所述第一声音信号包含对应至少两个电子设备的标识信息的声音信号,基于所述第一声音信号将所述至少两个电子设备的用户添加为所述第二用户的联系人。If the first sound signal includes a sound signal corresponding to the identification information of the at least two electronic devices, the user of the at least two electronic devices is added as the contact of the second user based on the first sound signal.
第七方面,本申请实施例提供一种服务器,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:In a seventh aspect, an embodiment of the present application provides a server, including a memory, and one or more programs, where one or more programs are stored in a memory and configured to be executed by one or more processors. One or more programs contain instructions for doing the following:
接收第二电子设备发送的关联第一声音信号的第一添加联系人请求,所述第一声音信号对应第一电子设备的第一标识信息,所述第二电子设备通过接听方式获得所述第一电子设备播放的所述第一声音信号;Receiving, by the first electronic device, a first added contact request that is associated with the first sound signal, where the first sound signal corresponds to the first identification information of the first electronic device, and the second electronic device obtains the first The first sound signal played by an electronic device;
基于所述第一添加联系人请求确定出所述第一标识信息、以及所述第二电 子设备的第二标识信息;Determining the first identification information and the second identification information of the second electronic device based on the first added contact request;
基于所述第一标识信息和所述第二标识信息,将所述第一电子设备的第一用户添加为所述第二电子设备的第二用户的联系人。And adding, by the first identifier information and the second identifier information, a first user of the first electronic device as a contact of a second user of the second electronic device.
结合第七方面,在第一种可选的实施例中,所述服务器还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:In conjunction with the seventh aspect, in a first alternative embodiment, the server is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
从所述第一添加联系人请求中提取出所述第一声音信号;基于声音信号与标识信息的对应关系,确定出所述第一声音信号所对应的所述第一标识信息;或者,Extracting the first sound signal from the first added contact request; determining the first identification information corresponding to the first sound signal based on a correspondence between the sound signal and the identification information; or
从所述第一添加联系人请求中提取出所述第一标识信息,其中,所述第二电子设备在从所述第一电子设备接听到所述第一声音信号之后,基于所述第一声音信号解析出所述第一标识信息。Extracting the first identification information from the first added contact request, wherein the second electronic device is based on the first after receiving the first sound signal from the first electronic device The sound signal parses out the first identification information.
结合第七方面的第一种可选的实施例,在第二种可选的实施例中,所述服务器还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:In conjunction with a first alternative embodiment of the seventh aspect, in a second alternative embodiment, the server is further configured to execute, by the one or more processors, the one or more programs included for Instructions for doing the following:
在获得所述第二电子设备的确认信号之后,将所述第二用户添加为所述第一用户的联系人。After obtaining the confirmation signal of the second electronic device, the second user is added as the contact of the first user.
结合第七方面或第七方面的第一至二种可选的实施例中的任意一种可选的实施例,在第三种可选的实施例中,所述服务器还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:In conjunction with any optional embodiment of the seventh aspect or the first to second alternative embodiments of the seventh aspect, in a third alternative embodiment, the server is further configured to be Or the one or more processors executing the one or more programs include instructions for performing the following operations:
接收所述第一电子设备发送的关联第二声音信号的第二添加联系人请求,所述第二声音信号对应所述第二标识信息,所述第一电子设备通过接听方式获得所述第二电子设备播放的所述第二声音信号;Receiving, by the first electronic device, a second added contact request that is associated with the second sound signal, where the second sound signal corresponds to the second identification information, and the first electronic device obtains the second by answering The second sound signal played by the electronic device;
在接收到所述第一添加联系人请求和所述第二添加联系人请求之后,将所述第一用户和所述第二用户彼此添加为联系人。After receiving the first add contact request and the second add contact request, the first user and the second user are added to each other as a contact.
第八方面,本申请实施例提供一种第一电子设备,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:In an eighth aspect, an embodiment of the present application provides a first electronic device, including a memory, and one or more programs, where one or more programs are stored in a memory and configured to be configured by one or more processors Executing the one or more programs includes instructions for performing the following operations:
确定第一电子设备的第一标识信息所对应的第一声音信号;Determining a first sound signal corresponding to the first identification information of the first electronic device;
播放所述第一声音信号。Playing the first sound signal.
结合第八方面,在第一种可选的实施例中,所述第一电子设备还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:In conjunction with the eighth aspect, in a first alternative embodiment, the first electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
从标识信息与声音信号的对应关系中,基于所述第一标识信息确定所述第一声音信号;或者,Determining, according to the correspondence information between the identification information and the sound signal, the first sound signal based on the first identification information; or
对所述第一标识信息按照预设规则进行编码,从而生成所述第一声音信号。The first identification information is encoded according to a preset rule, thereby generating the first sound signal.
结合第八方面,在第二种可选的实施例中,所述第一电子设备还经配置以 由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:In conjunction with the eighth aspect, in a second alternative embodiment, the first electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
如果检测到所述第二电子设备产生的确认信号,停止播放所述第一声音信号。If the confirmation signal generated by the second electronic device is detected, the playing of the first sound signal is stopped.
结合第八方面,在第三种可选的实施例中,所述第一电子设备还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:In conjunction with the eighth aspect, in a third alternative embodiment, the first electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
检测第二电子设备所播放的第二声音信号;Detecting a second sound signal played by the second electronic device;
在接听到所述第二声音信号之后,基于所述第二声音信号所对应的第二标识信息将所述第二用户添加为所述第一用户的联系人。After receiving the second sound signal, the second user is added as the contact of the first user based on the second identification information corresponding to the second sound signal.
结合第八方面的第三种可选的实施例,在第四种可选的实施例中,一个以上程序包含用于进行以下操作的指令:In conjunction with a third alternative embodiment of the eighth aspect, in a fourth alternative embodiment, the one or more programs include instructions for:
每隔第一随机时间间隔,启动播放所述第一声音信号的过程;Starting the process of playing the first sound signal every first random time interval;
在播放所述第一声音信号之外的其他时间,启动检测所述第二声音信号的过程。At a time other than playing the first sound signal, a process of detecting the second sound signal is initiated.
第九方面,本申请实施例提供一种第二电子设备,,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:In a ninth aspect, the embodiment of the present application provides a second electronic device, including a memory, and one or more programs, where one or more programs are stored in a memory and configured to be processed by one or more Executing the one or more programs includes instructions for performing the following operations:
检测获得第一声音信号,所述第一声音信号对应第一电子设备的第一标识信息;Detecting that the first sound signal is obtained, where the first sound signal corresponds to the first identification information of the first electronic device;
基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人。And adding, according to the first sound signal, the first user of the first electronic device as a contact of a second user of the second electronic device.
结合第九方面,在第一种可选的实施例中,所述第二电子设备还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:In conjunction with the ninth aspect, in a first alternative embodiment, the second electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
基于所述第一声音信号确定出所述第一标识信息;Determining the first identification information based on the first sound signal;
将所述第一标识信息、以及所述第二电子设备的第二标识信息发送至服务器,以供所述服务器基于所述第一标识信息和所述第二标识信息将所述第一用户添加为所述第二用户的联系人。Transmitting the first identifier information and the second identifier information of the second electronic device to a server, where the server adds the first user based on the first identifier information and the second identifier information Is the contact of the second user.
结合第九方面,在第二种可选的实施例中,所述第二电子设备还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:In conjunction with the ninth aspect, in a second alternative embodiment, the second electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
将所述第一声音信号、以及所述第二电子设备的第二标识信息发送至服务器,以供所述服务器基于所述第一声音信号确定出所述第一标识信息,并基于所述第一标识信息和所述第二标识信息将所述第一用户添加为所述第二用户的联系人。Transmitting the first sound signal and the second identification information of the second electronic device to a server, where the server determines the first identification information based on the first sound signal, and based on the An identification information and the second identification information add the first user as a contact of the second user.
结合第九方面或第九方面的第一至二种可选的实施例中的任意一种可选的实施例,在第三种可选的实施例中,所述第二电子设备还经配置以由一个或 者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:With reference to the ninth aspect or any one of the first to the second optional embodiments of the ninth aspect, in the third optional embodiment, the second electronic device is further configured Executing the one or more programs by one or more processors includes instructions for performing the following operations:
确定与所述第二电子设备的第二标识信息对应的第二声音信号;Determining a second sound signal corresponding to the second identification information of the second electronic device;
播放所述第二声音信号,以使所述第一电子设备在接听到所述第二声音信号时,基于所述第二标识信息将所述第二用户添加为所述第一用户的联系人。Playing the second sound signal, so that when the first electronic device receives the second sound signal, the second user is added as the contact of the first user based on the second identification information. .
结合第九方面的第三种可选的实施例,在第四种可选的实施例中,所述第二电子设备还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:In conjunction with a third alternative embodiment of the ninth aspect, in a fourth alternative embodiment, the second electronic device is further configured to execute the one or more programs by one or more processors Contains instructions for doing the following:
每隔第二随机时间间隔,启动播放所述第二声音信号的过程;Initiating a process of playing the second sound signal every second random time interval;
在播放所述第二声音信号时,停止检测获得第一声音信号的过程。When the second sound signal is played, the process of detecting the first sound signal is stopped.
结合第九方面或第九方面的第一至二种可选的实施例中的任意一种可选的实施例,在第五种可选的实施例中,所述第二电子设备还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:With reference to the optional embodiment of the ninth aspect or the first to second alternative embodiments of the ninth aspect, in the fifth optional embodiment, the second electronic device is further configured Executing the one or more programs by one or more processors includes instructions for performing the following operations:
如果所述第一声音信号包含对应至少两个电子设备的标识信息的声音信号,基于所述第一声音信号将所述至少两个电子设备的用户添加为所述第二用户的联系人。If the first sound signal includes a sound signal corresponding to the identification information of the at least two electronic devices, the user of the at least two electronic devices is added as the contact of the second user based on the first sound signal.
本申请实施例的有益效果如下:The beneficial effects of the embodiments of the present application are as follows:
由于在本申请实施例中,第一电子设备可以通过播放第一声音信号的方式将其第一标识信息提供给第二电子设备,从而第二电子设备直接基于接听到的第一声音信号就可以将第一电子设备的第一用户添加为第二电子设备的第二用户的联系人,而不需要额外的功能模块(例如:蓝牙模块、WIFI模块等等),故而达到了降低添加联系人的成本的技术效果。并且,通常情况下采集声音信号的方式都较为方便,不需要用户手动对麦克风进行调整,也不需要用户手动进行一些其他输入,故而能够提高添加联系人的效率。In the embodiment of the present application, the first electronic device can provide the first identification information to the second electronic device by playing the first sound signal, so that the second electronic device can directly be based on the first sound signal received. Adding the first user of the first electronic device as the contact of the second user of the second electronic device without additional functional modules (eg, Bluetooth module, WIFI module, etc.), thereby achieving the reduction of adding contacts The technical effect of cost. Moreover, the method of collecting the sound signal is generally convenient, and the user does not need to manually adjust the microphone, and the user does not need to manually perform some other input, thereby improving the efficiency of adding the contact.
附图说明DRAWINGS
图1为本申请实施例的第一方面的添加联系人方法的流程图;1 is a flowchart of a method for adding a contact according to a first aspect of the present application;
图2为本申请实施例的智能手表的结构图;2 is a structural diagram of a smart watch according to an embodiment of the present application;
图3为本申请实施例的第二方面的添加联系人方法的流程图;3 is a flowchart of a method for adding a contact according to a second aspect of the embodiment of the present application;
图4为本申请实施例的第三方面的添加联系人方法的流程图;4 is a flowchart of a method for adding a contact according to a third aspect of the embodiment of the present application;
图5为本申请实施例的第四方面的服务器的结构图;5 is a structural diagram of a server according to a fourth aspect of the embodiment of the present application;
图6为本申请实施例的第五方面的第一电子设备的结构图;6 is a structural diagram of a first electronic device according to a fifth aspect of the embodiment of the present application;
图7为本申请实施例的第六方面的第二电子设备的结构图;7 is a structural diagram of a second electronic device according to a sixth aspect of the embodiment of the present application;
图8为本申请实施例中实施添加联系人方法的电子设备的结构图;FIG. 8 is a structural diagram of an electronic device implementing a method for adding a contact in an embodiment of the present application;
图9为本申请实施例中实施添加联系人方法的服务器的结构图;FIG. 9 is a structural diagram of a server for implementing a method for adding a contact in an embodiment of the present application;
图10是用于执行根据本申请的添加联系人方法的设备的框图;10 is a block diagram of an apparatus for performing an add contact method in accordance with the present application;
图11是用于保持或者携带实现根据本申请的添加联系人方法的程序代码的存储单元。11 is a storage unit for maintaining or carrying program code that implements the add contact method in accordance with the present application.
具体实施方式detailed description
本申请实施例提供一种添加联系人方法、电子设备及服务器,以解决现有技术中添加联系人功能导致的电子设备成本较高的技术问题。The embodiment of the present application provides a method for adding a contact, an electronic device, and a server, so as to solve the technical problem of high cost of an electronic device caused by adding a contact function in the prior art.
本申请实施例中的技术方案为解决上述的技术问题,总体思路如下:第一电子设备可以通过播放第一声音信号的方式将其第一标识信息提供给第二电子设备,以使第二电子设备基于接听到的第一声音信号将第一电子设备的第一用户添加为第二电子设备的第二用户的联系人,由于可以不借助额外的功能模块(例如:蓝牙模块、WIFI模块等等),故可以降低添加联系人的成本。并且,通常情况下采集声音信号的方式都较为方便,不需要用户手动对麦克风进行调整,也不需要用户手动进行一些其他输入,故而能够提高添加联系人的效率。The technical solution in the embodiment of the present application is to solve the above technical problem. The general idea is as follows: the first electronic device can provide the first identification information to the second electronic device by playing the first sound signal, so that the second electronic device The device adds the first user of the first electronic device as the contact of the second user of the second electronic device based on the first sound signal received, since the additional functional modules (eg, Bluetooth module, WIFI module, etc.) may be ), so you can reduce the cost of adding contacts. Moreover, the method of collecting the sound signal is generally convenient, and the user does not need to manually adjust the microphone, and the user does not need to manually perform some other input, thereby improving the efficiency of adding the contact.
为了更好的理解上述技术方案,下面通过附图以及具体实施例对本申请技术方案做详细的说明,应当理解本申请实施例以及实施例中的具体特征是对本申请技术方案的详细的说明,而不是对本申请技术方案的限定,在不冲突的情况下,本申请实施例以及实施例中的技术特征可以相互组合。For a better understanding of the above technical solutions, the technical solutions of the present application will be described in detail below through the accompanying drawings and specific embodiments. It should be understood that the specific features of the embodiments and the embodiments of the present application are the detailed description of the technical solutions of the present application, and It is not a limitation of the technical solution of the present application, and the technical features in the embodiments and the embodiments of the present application may be combined with each other without conflict.
第一方面,本申请实施例提供一种添加联系人方法,请参考图1,包括:In a first aspect, the embodiment of the present application provides a method for adding a contact. Referring to FIG. 1, the method includes:
步骤S101:确定第一电子设备的第一标识信息所对应的第一声音信号;Step S101: determining a first sound signal corresponding to the first identification information of the first electronic device;
步骤S102:播放所述第一声音信号。Step S102: playing the first sound signal.
在具体实施过程中,该第一声音信号用于,第二电子设备接听到所述第一声音信号之后,基于所述第一标识信息将所述第一电子设备的第一用户添加为所述第二电子设备的第二用户的联系人。In a specific implementation, the first sound signal is used, after the second electronic device receives the first sound signal, adding the first user of the first electronic device as the first identifier information. A contact of a second user of the second electronic device.
举例来说,本申请实施例中的电子设备(第一电子设备或者第二电子设备)例如为:智能手表、智能手环、手机、平板电脑等等。例如,图2为一智能手表的结构图,其可以包括:CPU;扬声器,连接于CPU,用于播放声音信号;麦克风,连接于CPU,用于接听其他电子设备所产生的声音信号。当然,针对其他电子设备,其结构与之类似,在此不再赘述。For example, the electronic device (the first electronic device or the second electronic device) in the embodiment of the present application is, for example, a smart watch, a smart bracelet, a mobile phone, a tablet computer, or the like. For example, FIG. 2 is a structural diagram of a smart watch, which may include: a CPU; a speaker connected to the CPU for playing a sound signal; and a microphone connected to the CPU for receiving sound signals generated by other electronic devices. Of course, for other electronic devices, the structure is similar, and will not be described here.
在具体实施过程中,可以针对每个电子设备分别设置用于唯一表征其身份的标识信息,该标识信息可以与电子设备绑定,其例如为:电子设备的MAC(Media Access Control或者Medium Access Control:媒体访问控制)地址、IMEI(International Mobile Equipment Identification Number:国际移动设备识别码)等等;该标识信息也可以与用户的即时通讯软件的账号绑定,其例如为:手机号、聊天软件的账号等等。该标识信息可以为电子设备出场时设定,也可以在用户使用电子设备之后,按照预设规则生成该标识信息,本申请实施例不作限制。In a specific implementation process, identification information for uniquely identifying its identity may be separately set for each electronic device, and the identification information may be bound to the electronic device, for example: MAC of the electronic device (Media Access Control or Medium Access Control) : media access control) address, IMEI (International Mobile Equipment Identification Number), etc.; the identification information can also be bound to the account of the user's instant messaging software, such as: mobile phone number, chat software Account number and more. The identification information may be set when the electronic device is in the field of appearance, or may be generated according to a preset rule after the user uses the electronic device, which is not limited in the embodiment of the present application.
步骤S101中,可以通过多种方式确定出第一标识信息所对应的第一声音信号,下面列举其中的两种进行介绍,当然,在具体实施过程中,不限于以下两种情况。In the step S101, the first sound signal corresponding to the first identification information may be determined in a plurality of manners, and two of them are introduced below. Of course, in the specific implementation process, the following two situations are not limited.
第一种,对第一标识信息按照预设规则进行调制(如调频、调幅、调相等等),从而生成第一声音信号。也就是说,针对第一标识信息中的各个字符串,可以将其对应不同频率、不同幅度、或者不同相位的声音信号,假设标识信息 通过二进制标识,1对应频率为100HZ的声音信号,0对应频率为200HZ的声音信号,假设第一标识信息为1010,则可以先生成预设时长(例如:0.1s、0.2s等等)的100HZ的声音信号,然后生成预设时长的200HZ的声音信号等等,针对通过不同幅度或者不同相位表示不同的字符,其对应的声音信号的产生方式与之类似,在此不再一一赘述。In the first type, the first identification information is modulated according to a preset rule (such as frequency modulation, amplitude modulation, phase modulation, etc.), thereby generating a first sound signal. That is to say, for each character string in the first identification information, it may correspond to sound signals of different frequencies, different amplitudes, or different phases, assuming that the identification information passes the binary identification, 1 corresponds to a sound signal with a frequency of 100 Hz, and 0 corresponds to A sound signal with a frequency of 200 Hz, assuming that the first identification information is 1010, it can be a 100 Hz sound signal of a preset duration (for example, 0.1 s, 0.2 s, etc.), and then generate a 200 Hz sound signal of a preset duration, etc. Etc., for different characters representing different amplitudes or different phases, the corresponding sound signals are generated in a similar manner, and will not be further described herein.
在这种情况下,各个设备(例如:服务器、第二电子设备等等)直接对第一声音信号进行解码,就可以获得第一标识信息,例如:假设针对第一标识信息中的不同字符采用不同频率的声音信号对其进行变换,则解码的设备在接收到第一声音信号之后,可以按照预设时间间隔对其分隔,然后通过每段声音信号匹配其对应的字符串,从而获得第一标识信息,该方法中不需要存储标识信息与声音信号的对应关系,从而能够降低电子设备的存储负担。In this case, each device (eg, server, second electronic device, etc.) directly decodes the first sound signal, and the first identification information can be obtained, for example, assuming that different characters are used for the first identification information. The sound signals of different frequencies are transformed, and the decoded device can be separated according to the preset time interval after receiving the first sound signal, and then the corresponding character string is matched by each sound signal to obtain the first The identification information does not need to store the correspondence between the identification information and the sound signal, so that the storage burden of the electronic device can be reduced.
第二种,预先设定好各个标识信息与声音信号的对应关系,从而基于第一标识信息在该对应关系中匹配获得所述第一声音信号。Secondly, the correspondence between each identification information and the sound signal is set in advance, so that the first sound signal is matched and matched in the corresponding relationship based on the first identification information.
在具体实施过程中,可以针对每个标识信息按照任意原则设置声音信号,只要该标识信息的声音信号与其他标识信息的声音信号不同即可,在第一电子设备、以及需要获取第一标识信息的设备(例如:服务器、第二电子设备)可以存储有标识信息与声音信号的对应关系,从而,第一电子设备在需要播放第一声音信号之前,可以基于第一标识信息在该对应关系中匹配获取第一声音信号;而后续其他设备在获得该第一声音信号之后,通过第一声音信号在该对应关系中匹配,从而确定出对应的第一标识信息。In a specific implementation process, the sound signal may be set according to any principle for each identification information, as long as the sound signal of the identification information is different from the sound signal of other identification information, in the first electronic device, and the first identification information needs to be acquired. The device (for example, the server, the second electronic device) may store the correspondence between the identification information and the sound signal, so that the first electronic device may be in the corresponding relationship based on the first identification information before the first sound signal needs to be played. The matching acquires the first sound signal; and after the other devices obtain the first sound signal, the first sound signal is matched in the correspondence relationship, thereby determining the corresponding first identification information.
在基于步骤S101确定出第一声音信号之后,则可以执行步骤S 102,也即:播放所述第一声音信号,以在第二电子设备接听到所述第一声音信号之后,基于所述第一标识信息将所述第一电子设备的第一用户添加为所述第二电子设备的第二用户的联系人。After determining the first sound signal based on step S101, step S102 may be performed, that is, playing the first sound signal, after the second electronic device receives the first sound signal, based on the first An identification information adds a first user of the first electronic device as a contact of a second user of the second electronic device.
步骤S102中,将第一用户添加为第二用户的联系人可以存在多种情况,例如:①电子设备的标识信息为与电子设备绑定的标识信息,在这种情况下,则是直接将第一电子设备添加为第二电子设备的联系人;②电子设备的标识信息为与即时聊天软件的账号绑定的标识信息,在这种情况下,则是将第一用户的聊天软件账号添加为第二用户的聊天软件的账号的联系人。In step S102, the first user may be added as the contact of the second user. For example, the identification information of the electronic device is the identification information bound to the electronic device. In this case, it is directly The first electronic device is added as a contact of the second electronic device; 2 the identification information of the electronic device is the identification information bound to the account of the instant chat software, in this case, the chat software account of the first user is added. A contact for the account of the second user's chat software.
步骤S102中,第一电子设备可以通过第一电子设备内置或者外接的扬声器播放第一声音信号,其他电子设备(例如:第二电子设备)如果需要添加第二用户为第一用户的联系人的话,则会检测其他电子设备所播放的第一声音信号,在检测到第一声音信号之后,可以通过第一声音信号所对应的第一标识信息将第一用户添加为第二用户的联系人。在具体实施过程中,该添加联系人可以为单向添加,也即仅仅将第一用户添加为第二用户的联系人,该添加联系人也可以为双向添加,也即将第一用户与第二用户彼此添加为联系人。In step S102, the first electronic device may play the first sound signal through the built-in or external speaker of the first electronic device, and the other electronic device (for example, the second electronic device) if it is necessary to add the second user as the contact of the first user. The first sound signal played by the other electronic device is detected, and after detecting the first sound signal, the first user may be added as the contact of the second user by using the first identification information corresponding to the first sound signal. In a specific implementation process, the added contact may be added in one direction, that is, only the first user is added as the contact of the second user, and the added contact may also be added in two directions, that is, the first user and the second user. Users are added to each other as contacts.
在具体实施过程中,第二电子设备在接听到第一声音信号之后,可以通过多种方式将第一用户添加为第二用户的联系人,下面列举其中的两种进行介绍,当然,在具体实施过程中,不限于以下两种情况。In a specific implementation process, after receiving the first sound signal, the second electronic device may add the first user as a contact of the second user in multiple manners, and two of them are introduced below, of course, in specific During the implementation process, it is not limited to the following two cases.
第一种,第二电子设备基于所述第一声音信号确定出所述第一标识信息;将所述第一标识信息、以及所述第二电子设备的第二标识信息发送至服务器,以供所述服务器基于所述第一标识信息和所述第二标识信息将所述第一用户添加为所述第二用户的联系人。First, the second electronic device determines the first identification information based on the first sound signal; and sends the first identification information and the second identification information of the second electronic device to a server, where The server adds the first user as a contact of the second user based on the first identification information and the second identification information.
举例来说,如果第一电子设备按照预设规则对第一标识信息进行编码从而生成第一声音信号的话,则第二电子设备通过对第一声音信号进行解码,从而可以获得第一标识信息;如果第一电子设备基于标识信息与声音信号的对应关系确定出第一声音信号的话,则第二电子设备直接通过第一声音信号在该对应关系中进行查找,就可以获得第一标识信息。For example, if the first electronic device encodes the first identification information according to a preset rule to generate the first sound signal, the second electronic device can obtain the first identification information by decoding the first sound signal; If the first electronic device determines the first sound signal based on the correspondence between the identification information and the sound signal, the second electronic device directly searches through the corresponding relationship through the first sound signal, and the first identification information can be obtained.
第二电子设备在基于第一声音信号获得第一标识信息之后,就将携带第一标识信息和第二标识信息的第一添加联系人请求发送至服务器,服务器收到第一添加联系人请求之后,通过解析确定出第二用户希望添加第一用户为联系人,从而将第一用户添加为第一用户的联系人。After obtaining the first identification information based on the first sound signal, the second electronic device sends the first added contact request carrying the first identification information and the second identification information to the server, after the server receives the first added contact request By analyzing, it is determined that the second user wants to add the first user as a contact, thereby adding the first user as the contact of the first user.
由于在上述方案中,第二电子设备对第一声音信号解析之后,直接发送第一标识信息给服务器,而不需要发送第一声音信号,故而能够降低数据传输负担。In the above solution, after the second electronic device parses the first sound signal, the first identification information is directly sent to the server without transmitting the first sound signal, so that the data transmission burden can be reduced.
第二种,第二电子设备将所述第一声音信号、以及所述第二电子设备的第二标识信息发送至服务器,以供所述服务器基于所述第一声音信号确定出所述第一标识信息,并基于所述第一标识信息和所述第二标识信息将所述第一用户添加为所述第二用户的联系人。Second, the second electronic device sends the first sound signal and the second identification information of the second electronic device to the server, for the server to determine the first based on the first sound signal. Identifying information, and adding the first user as a contact of the second user based on the first identification information and the second identification information.
举例来说,也就是第二电子设备在获得第一声音信号之后,并不需要对第一声音信号进行处理,而是直接将携带第一声音信号以及第二标识信息的第一添加联系人请求发送至服务器,由服务器对第一声音信号进行解析,从而从中获取出第一标识信息,进而将第一用户添加为第二用户的联系人。该方案中,由于不需要在电子设备进行相关处理,故而能够提高该方案的兼容性。For example, after the second electronic device obtains the first sound signal, the first sound signal does not need to be processed, but the first added contact request that carries the first sound signal and the second identification information is directly Sending to the server, the first audio signal is parsed by the server, so that the first identification information is obtained therefrom, and then the first user is added as the contact of the second user. In this solution, since it is not necessary to perform related processing on the electronic device, the compatibility of the solution can be improved.
在具体实施过程中,服务器可以在接收到第二电子设备发送的第一添加联系人请求之后,就将第一用户添加为第二用户的联系人,而为了保证该方案的安全性(例如:第一用户可能并不希望被第二用户添加为联系人),则服务器可以在获得所述第一电子设备的确认信号之后,再将所述第一用户添加为所述第二用户的联系人。In a specific implementation process, the server may add the first user as the contact of the second user after receiving the first added contact request sent by the second electronic device, and in order to ensure the security of the solution (for example: The first user may not want to be added as a contact by the second user, and the server may add the first user as the contact of the second user after obtaining the confirmation signal of the first electronic device. .
该确认信号可以为多种确认信号,例如:The confirmation signal can be a plurality of acknowledgment signals, for example:
①第二电子设备在接收到第一电子设备的第一声音信号之后,向第一电子设备产生反馈信息(例如:声音信号,当然也可以为其他信息,例如:文字、画面等等)告知第一电子设备其接听到第一声音信号,并且请求添加对方为联系人,如果第一电子设备同意,则可以产生一个同意对方添加的确认信号(其同样可以为声音信号,当然,也可以为其他信号,例如:文字、画面等等),第二电子设备在获得该确认信号之后,将其发送至服务器,服务器在接收到第二电子设备发送的确认信号之后,将第一用户添加为第二用户的联系人。After receiving the first sound signal of the first electronic device, the second electronic device generates feedback information (for example, a sound signal, and of course other information, such as: text, picture, etc.) to the first electronic device. An electronic device receives the first sound signal and requests to add the other party as a contact. If the first electronic device agrees, it may generate an acknowledgement signal that agrees to the other party's addition (which may also be a sound signal, of course, other a signal, such as: text, picture, etc., after the second electronic device obtains the confirmation signal, sends it to the server, and after receiving the confirmation signal sent by the second electronic device, the server adds the first user as the second User's contact.
②服务器在接收到第二电子设备发送的添加联系人请求之后,向第一电子 设备发送询问信息,用于询问是否同意被第二电子设备添加为联系人,第一电子设备如果同意的话,则可以向服务器发送一个确认信号,服务器在接收到该确认信号之后,将第二用户添加为第一用户的联系人。After receiving the add contact request sent by the second electronic device, the server sends the query information to the first electronic device for asking whether to agree to be added as the contact by the second electronic device, if the first electronic device agrees, An acknowledgment signal may be sent to the server, and after receiving the acknowledgment signal, the server adds the second user as the contact of the first user.
③第一电子设备与第二电子设备如果希望彼此添加联系人,则第一电子设备可以向服务器发送第一添加联系人请求,第二电子设备也可以向服务器发送第二添加联系人请求,服务器在接收到第一电子设备与第二电子设备的第一添加联系人请求和第二添加联系人请求之后,确定双方都同意添加联系人,在这种情况下,则可以将第一用户与第一用户彼此添加为联系人。3 The first electronic device and the second electronic device may send a first added contact request to the server if the user wants to add a contact to each other, and the second electronic device may also send a second added contact request to the server, the server After receiving the first adding contact request and the second adding contact request of the first electronic device and the second electronic device, determining that both parties agree to add a contact, in which case the first user and the first user may be A user is added to each other as a contact.
在这种情况下,第一电子设备除了播放第一声音信号之后,还可以检测第二电子设备播放的第二声音信号,同样,第二声音信号对应第二标识信息;第一电子设备在接听到第二声音信号之后,基于所述第二声音信号所对应的第二标识信息将所述第二用户添加为所述第一用户的联系人。例如,第一电子设备可以向服务器发送携带第一标识信息和第二声音信号的第一添加联系人请求,服务器基于第二声音信号解析出第二标识信息;又或者,第一电子设备在接听到第二声音信号之后,直接从第二声音信号中解析出第二标识信息,然后将携带第一标识信息、第二标识信息的第一添加联系人请求发送至服务器,服务器在接收到第一添加联系人请求和第二添加联系人请求之后,确定彼此都同意添加对方为联系人,且彼此都同意被对方添加为联系人,在这种情况下,才将第一用户与第二用户添加为联系人。In this case, the first electronic device may detect the second sound signal played by the second electronic device after playing the first sound signal. Similarly, the second sound signal corresponds to the second identification information; the first electronic device is answering After the second sound signal, the second user is added as the contact of the first user based on the second identification information corresponding to the second sound signal. For example, the first electronic device may send a first add contact request carrying the first identification information and the second sound signal to the server, and the server parses the second identification information based on the second sound signal; or the first electronic device is answering After the second sound signal, the second identification information is directly parsed from the second sound signal, and then the first added contact request carrying the first identification information and the second identification information is sent to the server, and the server receives the first After adding the contact request and the second add contact request, it is determined that each other agrees to add the other party as the contact, and each agrees to be added as the contact by the other party, in which case the first user and the second user are added. For the contact.
在具体实施过程中,如果电子设备(第一电子设备或者第二电子设备)可以同时播放和接听声音信号,则电子设备可以直接在播放声音信号的同时接听声音信号,如果电子设备不可以同时播放和接听声音信号,则电子设备可以每隔随机时间间隔,启动接听声音信号的过程,在接听声音信号的同时,停止播放声音信号的过程,以电子设备为第一电子设备为例,则是:每隔第一随机时间间隔,启动播放所述第一声音信号的过程;在播放所述第一声音信号之外的其他时间,启动接听第二声音信号的过程,以供所述第一电子设备在接听到所述第二声音信号之后,基于所述第二声音信号所对应的第二标识信息将所述第二用户添加为所述第一用户的联系人。In a specific implementation process, if the electronic device (the first electronic device or the second electronic device) can simultaneously play and receive the sound signal, the electronic device can directly listen to the sound signal while playing the sound signal, if the electronic device cannot simultaneously play And receiving the sound signal, the electronic device can start the process of receiving the sound signal at random time intervals, and stop the process of playing the sound signal while answering the sound signal, taking the electronic device as the first electronic device as an example: Starting a process of playing the first sound signal every first random time interval; at a time other than playing the first sound signal, starting a process of answering the second sound signal for the first electronic device After receiving the second sound signal, the second user is added as the contact of the first user based on the second identification information corresponding to the second sound signal.
举例来说,第一电子设备可以设定第一随机时间间隔的最短时长(例如:0.1s、0.2s等等)和最长时长(例如:0.4s、0.5s等等),在第一电子设备与第二电子设备之间需要添加联系人时,可以通过第一电子设备随机生成第一随机时间间隔,在没有达到该第一随机时间间隔时,检测第二电子设备所产生的第二声音信号,在达到该第一随机时间间隔之后,停止检测第二声音信号,开始播放第一声音信号,同时继续生成新的第一随机时间间隔等等;在第一声音信号播放结束之后,继续检测是否存在第二声音信号,并将达到新的第一随机时间间隔之后,继续停止检测第二声音信号,并开始播放第一声音信号,依次类推;直到第一电子设备检测到第二声音信号,或者,第一电子设备确认第二电子设备检测到第一声音信号。For example, the first electronic device can set the minimum duration of the first random time interval (eg, 0.1 s, 0.2 s, etc.) and the longest duration (eg, 0.4 s, 0.5 s, etc.) in the first electronic When a contact needs to be added between the device and the second electronic device, the first random time interval may be randomly generated by the first electronic device, and when the first random time interval is not reached, the second sound generated by the second electronic device is detected. The signal, after reaching the first random time interval, stops detecting the second sound signal, starts playing the first sound signal, and continues to generate a new first random time interval, etc.; after the first sound signal ends, continues to detect Whether there is a second sound signal, and after reaching a new first random time interval, continue to stop detecting the second sound signal, and start playing the first sound signal, and so on; until the first electronic device detects the second sound signal, Alternatively, the first electronic device confirms that the second electronic device detects the first sound signal.
针对第二电子设备,其处理方式与之类似,也即:每隔第二随机时间间隔, 启动播放所述第二声音信号的过程;在播放所述第二声音信号时,停止检测获得第一声音信号的过程。第二随机时间间隔的确定方式与第一随机时间间隔的确定方式类似,在此不再一一赘述。For the second electronic device, the processing manner is similar, that is, the process of playing the second sound signal is started every second random time interval; when the second sound signal is played, the detection is stopped to obtain the first The process of sound signals. The manner of determining the second random time interval is similar to the manner of determining the first random time interval, and details are not described herein again.
由于在上述方案中,第一电子设备与第二电子设备启动播放声音信号的时间间隔都是随机的,从而能够错开第一电子设备与第二电子设备播放声音信号的时间,以使两者能够顺利的接听到对方所播放的声音信号,从而能够在第一电子设备与第二电子设备不具备同时接听和播放声音功能的情况下,也能够准确的接听的声音信号,以完成联系人的添加。In the above solution, the time interval between the first electronic device and the second electronic device to start playing the sound signal is random, so that the time for the first electronic device and the second electronic device to play the sound signal can be staggered, so that the two can Receiving the sound signal played by the other party smoothly, so that the first electronic device and the second electronic device can accurately answer the sound signal without the simultaneous receiving and playing sound function, thereby completing the addition of the contact. .
步骤S102中,第一电子设备可以仅仅播放一次第一声音信号,而为了使第二电子设备成功接听到第一声音信号,第一电子设备也可以多次(例如:3次、4次等等)播放第一声音信号,在这种情况下,在所述播放所述第一声音信号之后,所述方法进一步包括:如果检测到所述第二电子设备产生的确认信号,停止播放所述第一声音信号。In step S102, the first electronic device may play the first sound signal only once, and in order for the second electronic device to successfully hear the first sound signal, the first electronic device may also be multiple times (for example: 3 times, 4 times, etc. Playing the first sound signal, in this case, after the playing the first sound signal, the method further comprises: if the confirmation signal generated by the second electronic device is detected, stopping the playing A sound signal.
举例来说,为了方便第一电子设备获得该确认信息,该确认信号也可以为声音信号,第一电子设备可以通过麦克风采集获得该确认信息,从而确认第二电子设备已经接听到第一声音信号,则可以停止第一声音信号的播放,通过该方案,能够保证第一电子设备与第二电子设备之间可以相互检测到对方。For example, in order to facilitate the first electronic device to obtain the confirmation information, the confirmation signal may also be a sound signal, and the first electronic device may obtain the confirmation information through the microphone, thereby confirming that the second electronic device has received the first sound signal. Then, the playing of the first sound signal can be stopped. With this solution, it can be ensured that the first electronic device and the second electronic device can detect each other.
另外,在具体实施过程中,第一电子设备所产生的第一声音信号,可以被多个电子设备所接听到,例如:可以被电子设备A(对应用户A)、电子设备B(对应用户B)、电子设备C(对应用户C)、电子设备D(对应用户D)所接听到,在这种情况下,这多个电子设备可以都将第一用户添加为对应电子设备的用户的联系人,其中,这多个电子设备可以直接将第一用户添加为对应电子设备的用户的联系人,又或者,这多个电子设备向服务器发送添加联系人请求,服务器在接收到第一电子设备的确认信息之后,才将第一用户添加为对应电子设备的用户的联系人。例如:电子设备A、电子设备B、电子设备C、电子设备D在接听到第一声音信号之后,向服务器发送对应的添加联系人请求,服务器接收到添加联系人请求之后,分别向第一电子设备发送以下的询问信息:用户A(用户B、用户C或者用户D)希望将您添加为联系人,请确认是否同意?,第一电子设备在接收到询问信息之后,如果希望被用户A、用户B、用户C添加为联系人,而并不希望被用户D添加为联系人,可以确认针对用户A、用户B、用户C的询问信息,而拒绝针对用户D的询问信息。又或者,第一电子设备也可以接听电子设备A、电子设备B、电子设备C和电子设备D的声音信号,然后第一电子设备仅希望添加用户A、用户B、用户C为联系人,则可以仅向服务器发送针对用户A、用户B和用户C的添加联系人请求,而不发送针对用户D的添加联系人请求等等。In addition, in a specific implementation process, the first sound signal generated by the first electronic device can be heard by multiple electronic devices, for example, can be used by the electronic device A (corresponding to the user A) and the electronic device B (corresponding to the user B). ), the electronic device C (corresponding to the user C), and the electronic device D (corresponding to the user D) are heard, in which case the plurality of electronic devices may add the first user as the contact of the user of the corresponding electronic device. The plurality of electronic devices may directly add the first user as a contact of the user of the corresponding electronic device, or the plurality of electronic devices send an add contact request to the server, where the server receives the first electronic device. After confirming the information, the first user is added as the contact of the user of the corresponding electronic device. For example, the electronic device A, the electronic device B, the electronic device C, and the electronic device D send a corresponding add contact request to the server after receiving the first sound signal, and after receiving the contact request, the server respectively sends the first electronic message to the first electronic device. The device sends the following inquiry message: User A (User B, User C, or User D) wants to add you as a contact. Please confirm whether you agree? After the first electronic device receives the inquiry information, if it is desired to be added as a contact by the user A, the user B, and the user C, and does not want to be added as the contact by the user D, the user A, the user B, and the user can be confirmed. C asks for information and rejects the inquiry information for user D. Alternatively, the first electronic device can also receive the sound signals of the electronic device A, the electronic device B, the electronic device C, and the electronic device D, and then the first electronic device only needs to add the user A, the user B, and the user C as the contact, The add contact request for User A, User B, and User C may be sent only to the server without sending an add contact request for User D or the like.
另外,在具体实施过程中,步骤S102中,第一电子设备可以在任意时机播放第一声音信号,而为了降低第一电子设备的处理负担,则第一用户在需要添加其他用户为联系人时,可以控制第一电子设备进入添加联系人或者交友界面,然后控制第一电子设备播放第一声音信号;同理,也可以在第一电子设备 进入添加联系人或者交友界面之后,才接听第二声音信号。In addition, in a specific implementation process, in step S102, the first electronic device may play the first sound signal at any timing, and in order to reduce the processing burden of the first electronic device, the first user needs to add other users as contacts. The first electronic device can be controlled to enter the add contact or the friend interface, and then the first electronic device is controlled to play the first sound signal. Similarly, after the first electronic device enters the add contact or the friend interface, the second electronic device can be accessed. Sound signal.
通常情况下,如果第一电子设备与第二电子设备之间彼此希望添加联系人的话,则第一电子设备与第二电子设备分别进入交友界面,进行声音信号的播放和检测过程,基于声音信号的播放,将自身的标识信息提供给对方,基于声音信号的检测,获得对方的标识信息,由此添加对方为联系人。In general, if the first electronic device and the second electronic device wish to add a contact between each other, the first electronic device and the second electronic device respectively enter the dating interface to perform a sound signal playback and detection process based on the sound signal. Play, provide its own identification information to the other party, based on the detection of the sound signal, obtain the identification information of the other party, thereby adding the other party as the contact.
第二方面,基于同一发明构思,本申请实施例提供一种添加联系人方法,应用于第二电子设备中,请参考图3,包括:In a second aspect, based on the same inventive concept, the embodiment of the present application provides a method for adding a contact, which is applied to a second electronic device. Referring to FIG. 3, the method includes:
步骤S301:检测获得第一声音信号,所述第一声音信号对应第一电子设备的第一标识信息;Step S301: detecting that the first sound signal is obtained, where the first sound signal corresponds to the first identification information of the first electronic device;
步骤S302:基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人。Step S302: Add the first user of the first electronic device as the contact of the second user of the second electronic device based on the first sound signal.
在具体实施过程中,步骤S302中可以采用多种方式将第一用户添加为第二用户的联系人,下面列举其中的两种进行介绍,当然,在具体实施过程中,不限于以下两种情况。In the specific implementation process, the first user may be added as the contact of the second user in multiple manners in the following steps. Two of the following are introduced. Of course, in the specific implementation process, the following two situations are not limited. .
第一种,所述基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人,可以包括:基于所述第一声音信号确定出所述第一标识信息;将所述第一标识信息、以及所述第二电子设备的第二标识信息发送至服务器,以供所述服务器基于所述第一标识信息和所述第二标识信息将所述第一用户添加为所述第二用户的联系人。First, the adding the first user of the first electronic device as the contact of the second user of the second electronic device based on the first sound signal may include: determining, based on the first sound signal Transmitting the first identifier information, and sending the first identifier information and the second identifier information of the second electronic device to a server, where the server is based on the first identifier information and the second identifier The information adds the first user as a contact of the second user.
第二种,所述基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人,可以包括:将所述第一声音信号、以及所述第二电子设备的第二标识信息发送至服务器,以供所述服务器基于所述第一声音信号确定出所述第一标识信息,并基于所述第一标识信息和所述第二标识信息将所述第一用户添加为所述第二用户的联系人。The second method, the adding, by the first user, the first user of the first electronic device to the contact of the second user of the second electronic device may include: the first sound signal, And the second identifier information of the second electronic device is sent to the server, where the server determines the first identifier information based on the first sound signal, and based on the first identifier information and the second The identification information adds the first user as a contact of the second user.
可选的,所述方法可以进一步包括:确定与所述第二电子设备的第二标识信息对应的第二声音信号;播放所述第二声音信号,以使所述第一电子设备在接听到所述第二声音信号时,基于所述第二标识信息将所述第二用户添加为所述第一用户的联系人。其中,第二电子设备确定第二声音信号的方式与第一电子设备确定第一声音信号的方式类似,在此不再一一赘述。Optionally, the method may further include: determining a second sound signal corresponding to the second identification information of the second electronic device; playing the second sound signal, so that the first electronic device is receiving And when the second sound signal is used, adding the second user as a contact of the first user based on the second identification information. The manner in which the second electronic device determines the second sound signal is similar to the manner in which the first electronic device determines the first sound signal, and details are not described herein again.
可选的,所述方法可以进一步包括:每隔第二随机时间间隔,启动播放所述第二声音信号的过程;在播放所述第二声音信号时,停止检测获得第一声音信号的过程。Optionally, the method may further include: starting a process of playing the second sound signal every second random time interval; stopping the process of detecting the first sound signal when playing the second sound signal.
可选的,所述基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人,可以包括:如果所述第一声音信号包含对应至少两个电子设备的标识信息的声音信号,基于所述第一声音信号将所述至少两个电子设备的用户添加为所述第二用户的联系人。Optionally, the adding the first user of the first electronic device as the contact of the second user of the second electronic device based on the first sound signal may include: if the first sound signal includes And corresponding to the sound signal of the identification information of the at least two electronic devices, adding a user of the at least two electronic devices as a contact of the second user based on the first sound signal.
举例来说,也就是第二电子设备可以通过接听多个其他电子设备所产生的声音信号,从而同时将多个其他电子设备的用户添加为第二用户的联系人,例如:假设第二电子设备周围存在电子设备A、电子设备B、电子设备C,这几 个电子设备都有播放其标识信息所对应的声音信号,则第二电子设备在接听声音信号时,会同时接听到电子设备A、电子设备B、电子设备C的标识信息所对应的声音信号,则第二电子设备可以从中解析出电子设备A、电子设备B或者电子设备C的标识信息,并将这些标识信息发送至服务器,从而将这些电子设备的用户添加为第二用户的联系人;或者,第二电子设备直接将这些电子设备的声音信号发送至服务器,由服务器解析出这些电子设备的标识信息,并将这些电子设备的用户添加为第二用户的联系人。基于该方案,达到了能够同时为一个电子设备的用户添加多个联系人的技术效果。For example, the second electronic device can simultaneously listen to the sound signals generated by the plurality of other electronic devices, thereby simultaneously adding the users of the plurality of other electronic devices as the contacts of the second user, for example, assuming the second electronic device There are electronic devices A, electronic devices B, and electronic devices C. These electronic devices all have sound signals corresponding to their identification information. When the second electronic device answers the sound signals, it will simultaneously hear the electronic devices A. The sound signal corresponding to the identification information of the electronic device B and the electronic device C, the second electronic device can analyze the identification information of the electronic device A, the electronic device B or the electronic device C, and send the identification information to the server, thereby Adding users of the electronic devices as contacts of the second user; or, the second electronic device directly sends the sound signals of the electronic devices to the server, and the server resolves the identification information of the electronic devices, and the electronic devices are The user is added as a contact for the second user. Based on this scheme, the technical effect of being able to add multiple contacts to a user of one electronic device at the same time is achieved.
第三方面,基于同一发明构思,本申请实施例提供一种添加联系人方法,请参考图4,包括:The third aspect is based on the same inventive concept. The embodiment of the present application provides a method for adding a contact. Referring to FIG. 4, the method includes:
步骤S401:接收第二电子设备发送的关联第一声音信号的第一添加联系人请求,所述第一声音信号对应第一电子设备的第一标识信息,所述第二电子设备通过接听方式获得所述第一电子设备播放的所述第一声音信号;Step S401: Receive a first added contact request of the associated first sound signal sent by the second electronic device, where the first sound signal corresponds to the first identification information of the first electronic device, and the second electronic device obtains the method by answering The first sound signal played by the first electronic device;
步骤S402:基于所述第一添加联系人请求确定出所述第一标识信息、以及所述第二电子设备的第二标识信息;Step S402: Determine the first identification information and the second identification information of the second electronic device according to the first added contact request;
步骤S403:基于所述第一标识信息和所述第二标识信息,将所述第一电子设备的第一用户添加为所述第二电子设备的第二用户的联系人。Step S403: Add the first user of the first electronic device as the contact of the second user of the second electronic device, based on the first identifier information and the second identifier information.
在具体实施过程中,第一添加联系人请求中可以携带对应第二声音信号的第二标识信息(或者第二声音信号),其中,可以直接将第二标识信息(或者第二声音信号)携带于第一添加联系人请求中,为了提高数据传输的安全性,也可以对第二标识信息(或者第二声音信号)加密之后将其携带于第一添加联系人请求,从而服务器在获得第一添加联系人请求之后,需要对其中所包含的第二标识信息(或者第二声音信号)进行解密处理。In a specific implementation process, the first added contact request may carry the second identification information (or the second sound signal) corresponding to the second sound signal, where the second identification information (or the second sound signal) may be directly carried In the first add contact request, in order to improve the security of data transmission, the second identification information (or the second sound signal) may also be encrypted and then carried in the first added contact request, so that the server obtains the first After the contact request is added, the second identification information (or the second sound signal) contained therein needs to be decrypted.
步骤S402中,可以通过多种方式确定出第一标识信息,下面列举其中的两种进行介绍,当然,在具体实施过程中,不限于以下两种情况。In the step S402, the first identification information may be determined in a plurality of manners. The following two types are introduced in the following description. Of course, in the specific implementation process, the following two situations are not limited.
第一种,所述基于所述第一添加联系人请求确定出所述第一标识信息,可以包括:The first type, the determining the first identifier information based on the first adding a contact request may include:
从所述第一添加联系人请求中提取出所述第一声音信号;基于声音信号与标识信息的对应关系,确定出所述第一声音信号所对应的所述第一标识信息;或者,Extracting the first sound signal from the first added contact request; determining the first identification information corresponding to the first sound signal based on a correspondence between the sound signal and the identification information; or
从所述第一添加联系人请求中提取出所述第一标识信息,其中,所述第二电子设备在从所述第一电子设备接听到所述第一声音信号之后,基于所述第一声音信号解析出所述第一标识信息。Extracting the first identification information from the first added contact request, wherein the second electronic device is based on the first after receiving the first sound signal from the first electronic device The sound signal parses out the first identification information.
第二种,所述基于所述第一标识信息和所述第二标识信息,将所述第一电子设备的第一用户添加为所述第二电子设备的第二用户的联系人,可以包括:The second type, the first user of the first electronic device is added as the contact of the second user of the second electronic device based on the first identifier information and the second identifier information, and may include :
在获得所述第一电子设备的确认信号之后,将所述第一用户添加为所述第二用户的联系人。After obtaining the confirmation signal of the first electronic device, adding the first user as a contact of the second user.
可选的,所述基于所述第一标识信息和所述第二标识信息,将所述第一电子设备的第一用户添加为所述第二电子设备的第二用户的联系人,可以包括: 接收所述第一电子设备发送的关联第二声音信号的第二添加联系人请求,所述第二声音信号对应所述第二标识信息,所述第一电子设备通过接听方式获得所述第二电子设备播放的所述第二声音信号;在接收到所述第一添加联系人请求和所述第二添加联系人请求之后,将所述第一用户和所述第二用户彼此添加为联系人。同理,第二添加联系人请求中可以携带第一标识信息(或者第一声音信号),为了提高数据传输的安全性,可以将第一标识信息(或者第一声音信号)加密之后携带于第二添加联系人请求中。Optionally, the adding, by the first identifier information and the second identifier information, the first user of the first electronic device as the contact of the second user of the second electronic device may include Receiving, by the first electronic device, a second added contact request that is associated with the second sound signal, where the second sound signal corresponds to the second identification information, and the first electronic device obtains the The second sound signal played by the two electronic devices; after receiving the first added contact request and the second added contact request, adding the first user and the second user to each other as a contact people. Similarly, the second added contact request may carry the first identification information (or the first sound signal), and in order to improve the security of the data transmission, the first identification information (or the first sound signal) may be encrypted and then carried in the first Second add the contact request.
第四方面,基于同一发明构思,本申请实施例提供一种服务器,请参考图5,包括:In a fourth aspect, based on the same inventive concept, the embodiment of the present application provides a server. Referring to FIG. 5, the method includes:
接收模块50,用于接收第二电子设备发送的关联第一声音信号的第一添加联系人请求,所述第一声音信号对应第一电子设备的第一标识信息,所述第二电子设备通过接听方式获得所述第一电子设备播放的所述第一声音信号;The receiving module 50 is configured to receive a first added contact request that is sent by the second electronic device to associate the first sound signal, where the first sound signal corresponds to the first identification information of the first electronic device, and the second electronic device passes Receiving the first sound signal played by the first electronic device;
第一确定模块51,用于基于所述第一添加联系人请求确定出所述第一标识信息、以及所述第二电子设备的第二标识信息;The first determining module 51 is configured to determine, according to the first added contact request, the first identifier information and the second identifier information of the second electronic device;
第一添加模块52,用于基于所述第一标识信息和所述第二标识信息,将所述第一电子设备的第一用户添加为所述第二电子设备的第二用户的联系人。The first adding module 52 is configured to add a first user of the first electronic device as a contact of a second user of the second electronic device based on the first identification information and the second identification information.
可选的,所述第一确定模块51,用于:Optionally, the first determining module 51 is configured to:
从所述第一添加联系人请求中提取出所述第一声音信号;基于声音信号与标识信息的对应关系,确定出所述第一声音信号所对应的所述第一标识信息;或者,Extracting the first sound signal from the first added contact request; determining the first identification information corresponding to the first sound signal based on a correspondence between the sound signal and the identification information; or
从所述第一添加联系人请求中提取出所述第一标识信息,其中,所述第二电子设备在从所述第一电子设备接听到所述第一声音信号之后,基于所述第一声音信号解析出所述第一标识信息。Extracting the first identification information from the first added contact request, wherein the second electronic device is based on the first after receiving the first sound signal from the first electronic device The sound signal parses out the first identification information.
可选的,所述第一添加模块52,用于:Optionally, the first adding module 52 is configured to:
在获得所述第一电子设备的确认信号之后,将所述第一用户添加为所述第二用户的联系人。After obtaining the confirmation signal of the first electronic device, adding the first user as a contact of the second user.
可选的,所述第一添加模块52,可以包括:Optionally, the first adding module 52 may include:
接收单元,用于接收所述第一电子设备发送的关联第二声音信号的第二添加联系人请求,所述第二声音信号对应所述第二标识信息,所述第一电子设备通过接听方式获得所述第二电子设备播放的所述第二声音信号;a receiving unit, configured to receive a second added contact request of the associated second sound signal sent by the first electronic device, where the second sound signal corresponds to the second identification information, and the first electronic device adopts an answering manner Obtaining the second sound signal played by the second electronic device;
添加单元,用于在接收到所述第一添加联系人请求和所述第二添加联系人请求之后,将所述第一用户和所述第二用户彼此添加为联系人。And an adding unit, configured to add the first user and the second user as contacts to each other after receiving the first adding contact request and the second adding contact request.
由于本申请第四方面所介绍的服务器,与本申请实施例第一方面所介绍的添加联系人方法所采用的服务器为相同的服务器,故而基于本申请实施例第一方面所介绍的添加联系人方法,本领域所属技术人员能够了解本申请实施例第四方面所介绍的服务器的具体结构及变形,故而在此不再赘述,凡是实施本申请实施例第一方面所介绍的添加联系人方法所采用的服务器都属于本申请所欲保护的范围。The server used in the fourth aspect of the present application is the same server as the server used in the method for adding contacts introduced in the first aspect of the present application. Therefore, the added contact is introduced based on the first aspect of the embodiment of the present application. For a method, those skilled in the art can understand the specific structure and the modification of the server introduced in the fourth aspect of the embodiment of the present application. Therefore, the method for adding a contact introduced in the first aspect of the embodiment of the present application is not described herein. The servers employed are all within the scope of the present application.
第五方面,基于同一发明构思,本申请实施例提供一种第一电子设备,请 参考图6,包括:The fifth aspect is based on the same inventive concept. The embodiment of the present application provides a first electronic device. Referring to FIG. 6, the method includes:
第二确定模块60,用于确定第一电子设备的第一标识信息所对应的第一声音信号;a second determining module 60, configured to determine a first sound signal corresponding to the first identification information of the first electronic device;
第一播放模块61,用于播放所述第一声音信号。The first playing module 61 is configured to play the first sound signal.
可选的,所述第二确定模块60,用于:Optionally, the second determining module 60 is configured to:
从标识信息与声音信号的对应关系中,基于所述第一标识信息确定所述第一声音信号;或者,Determining, according to the correspondence information between the identification information and the sound signal, the first sound signal based on the first identification information; or
对所述第一标识信息按照预设规则进行编码,从而生成所述第一声音信号。The first identification information is encoded according to a preset rule, thereby generating the first sound signal.
可选的,所述第一电子设备可以进一步包括:Optionally, the first electronic device may further include:
停止模块,用于如果检测到所述第二电子设备产生的确认信号,停止播放所述第一声音信号。And stopping the module, if the acknowledgment signal generated by the second electronic device is detected, stopping playing the first sound signal.
可选的,所述第一电子设备进一步包括:Optionally, the first electronic device further includes:
第一检测模块,用于检测第二电子设备所播放的第二声音信号;a first detecting module, configured to detect a second sound signal played by the second electronic device;
第二添加模块,用于在接听到所述第二声音信号之后,基于所述第二声音信号所对应的第二标识信息将所述第二用户添加为所述第一用户的联系人。a second adding module, configured to add the second user as a contact of the first user based on second identification information corresponding to the second sound signal after receiving the second sound signal.
可选的,所述第一播放模块61,用于:每隔第一随机时间间隔,启动播放所述第一声音信号的过程;Optionally, the first playing module 61 is configured to: start a process of playing the first sound signal every first random time interval;
所述第一检测模块,用于在播放所述第一声音信号之外的其他时间,启动检测所述第二声音信号的过程。The first detecting module is configured to start a process of detecting the second sound signal at a time other than playing the first sound signal.
由于本申请第五方面所介绍的第一电子设备,与本申请实施例第一方面所介绍的添加联系人方法所采用的第一电子设备为相同的第一电子设备,故而基于本申请实施例第一方面所介绍的添加联系人方法,本领域所属技术人员能够了解本申请实施例第五方面所介绍的第一电子设备的具体结构及变形,故而在此不再赘述,凡是实施本申请实施例第一方面所介绍的添加联系人方法所采用的第一电子设备都属于本申请所欲保护的范围。The first electronic device used in the fifth aspect of the present application is the same as the first electronic device used in the method for adding a contact introduced in the first aspect of the present application, and is therefore based on the embodiment of the present application. For the method of adding a contact introduced in the first aspect, those skilled in the art can understand the specific structure and the modification of the first electronic device introduced in the fifth aspect of the embodiment of the present application, and therefore, details are not described herein again. The first electronic device used in the method of adding contacts introduced in the first aspect of the present invention is within the scope of the present application.
第六方面,基于同一发明构思,本申请实施例提供一种第二电子设备,请参考图7,包括:In a sixth aspect, based on the same inventive concept, the embodiment of the present application provides a second electronic device. Referring to FIG. 7, the method includes:
第二检测模块70,用于检测获得第一声音信号,所述第一声音信号对应第一电子设备的第一标识信息;The second detecting module 70 is configured to detect that the first sound signal is obtained, where the first sound signal corresponds to the first identification information of the first electronic device;
第三添加模块71,用于基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人。The third adding module 71 is configured to add the first user of the first electronic device as the contact of the second user of the second electronic device based on the first sound signal.
可选的,所述第三添加模块71,可以包括:Optionally, the third adding module 71 may include:
确定单元,用于基于所述第一声音信号确定出所述第一标识信息;a determining unit, configured to determine the first identification information based on the first sound signal;
发送单元,用于将所述第一标识信息、以及所述第二电子设备的第二标识信息发送至服务器,以供所述服务器基于所述第一标识信息和所述第二标识信息将所述第一用户添加为所述第二用户的联系人。a sending unit, configured to send the first identifier information and the second identifier information of the second electronic device to a server, where the server sends the server based on the first identifier information and the second identifier information The first user is added as a contact of the second user.
可选的,所述第三添加模块71,用于:Optionally, the third adding module 71 is configured to:
将所述第一声音信号、以及所述第二电子设备的第二标识信息发送至服务 器,以供所述服务器基于所述第一声音信号确定出所述第一标识信息,并基于所述第一标识信息和所述第二标识信息将所述第一用户添加为所述第二用户的联系人。Transmitting the first sound signal and the second identification information of the second electronic device to a server, where the server determines the first identification information based on the first sound signal, and based on the An identification information and the second identification information add the first user as a contact of the second user.
可选的,所述第二电子设备可以进一步包括:Optionally, the second electronic device may further include:
第三确定模块,用于确定与所述第二电子设备的第二标识信息对应的第二声音信号;a third determining module, configured to determine a second sound signal corresponding to the second identifier information of the second electronic device;
第二播放模块,用于播放所述第二声音信号,以使所述第一电子设备在接听到所述第二声音信号时,基于所述第二标识信息将所述第二用户添加为所述第一用户的联系人。a second playing module, configured to play the second sound signal, to enable the first electronic device to add the second user as a location based on the second identification information when the second electronic device receives the second sound signal The first user's contact.
可选的,第二播放模块,用于:每隔第二随机时间间隔,启动播放所述第二声音信号的过程;Optionally, the second playing module is configured to: start a process of playing the second sound signal every second random time interval;
所述第二检测模块70,用于在播放所述第二声音信号时,停止检测获得第一声音信号的过程。The second detecting module 70 is configured to stop detecting the process of obtaining the first sound signal when playing the second sound signal.
可选的,所述第三添加模块71,用于:Optionally, the third adding module 71 is configured to:
如果所述第一声音信号包含对应至少两个电子设备的标识信息的声音信号,基于所述第一声音信号将所述至少两个电子设备的用户添加为所述第二用户的联系人。If the first sound signal includes a sound signal corresponding to the identification information of the at least two electronic devices, the user of the at least two electronic devices is added as the contact of the second user based on the first sound signal.
由于本申请第六方面所介绍的第二电子设备,与本申请实施例第一方面所介绍的添加联系人方法所采用的第二电子设备为相同的第二电子设备,故而基于本申请实施例第一方面所介绍的添加联系人方法,本领域所属技术人员能够了解本申请实施例第六方面所介绍的第二电子设备的具体结构及变形,故而在此不再赘述,凡是实施本申请实施例第一方面所介绍的添加联系人方法所采用的第二电子设备都属于本申请所欲保护的范围。The second electronic device, which is the same as the second electronic device used in the method for adding a contact described in the first aspect of the present application, is the same second electronic device, and is based on the embodiment of the present application. The specific structure and the modification of the second electronic device introduced in the sixth aspect of the embodiments of the present application can be understood by those skilled in the art, and therefore, the details are not described herein. The second electronic device employed in the method of adding contacts described in the first aspect of the present invention is within the scope of the present application.
第七方面,基于同一发明构思,本申请实施例提供一种服务器,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:In a seventh aspect, based on the same inventive concept, an embodiment of the present application provides a server, including a memory, and one or more programs, where one or more programs are stored in a memory and configured to be one or more The processor executing the one or more programs includes instructions for performing the following operations:
接收第二电子设备发送的关联第一声音信号的第一添加联系人请求,所述第一声音信号对应第一电子设备的第一标识信息,所述第二电子设备通过接听方式获得所述第一电子设备播放的所述第一声音信号;Receiving, by the first electronic device, a first added contact request that is associated with the first sound signal, where the first sound signal corresponds to the first identification information of the first electronic device, and the second electronic device obtains the first The first sound signal played by an electronic device;
基于所述第一添加联系人请求确定出所述第一标识信息、以及所述第二电子设备的第二标识信息;Determining, according to the first adding contact request, the first identification information, and the second identification information of the second electronic device;
基于所述第一标识信息和所述第二标识信息,将所述第一电子设备的第一用户添加为所述第二电子设备的第二用户的联系人。And adding, by the first identifier information and the second identifier information, a first user of the first electronic device as a contact of a second user of the second electronic device.
可选的,所述服务器还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the server is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
从所述第一添加联系人请求中提取出所述第一声音信号;基于声音信号与标识信息的对应关系,确定出所述第一声音信号所对应的所述第一标识信息;或者,Extracting the first sound signal from the first added contact request; determining the first identification information corresponding to the first sound signal based on a correspondence between the sound signal and the identification information; or
从所述第一添加联系人请求中提取出所述第一标识信息,其中,所述第二电子设备在从所述第一电子设备接听到所述第一声音信号之后,基于所述第一声音信号解析出所述第一标识信息。Extracting the first identification information from the first added contact request, wherein the second electronic device is based on the first after receiving the first sound signal from the first electronic device The sound signal parses out the first identification information.
可选的,所述服务器还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the server is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
在获得所述第二电子设备的确认信号之后,将所述第二用户添加为所述第一用户的联系人。After obtaining the confirmation signal of the second electronic device, the second user is added as the contact of the first user.
可选的,所述服务器还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the server is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
接收所述第一电子设备发送的关联第二声音信号的第二添加联系人请求,所述第二声音信号对应所述第二标识信息,所述第一电子设备通过接听方式获得所述第二电子设备播放的所述第二声音信号;Receiving, by the first electronic device, a second added contact request that is associated with the second sound signal, where the second sound signal corresponds to the second identification information, and the first electronic device obtains the second by answering The second sound signal played by the electronic device;
在接收到所述第一添加联系人请求和所述第二添加联系人请求之后,将所述第一用户和所述第二用户彼此添加为联系人。After receiving the first add contact request and the second add contact request, the first user and the second user are added to each other as a contact.
由于本申请第七方面所介绍的服务器,与本申请实施例第一方面所介绍的添加联系人方法所采用的服务器为相同的服务器,故而基于本申请实施例第一方面所介绍的添加联系人方法,本领域所属技术人员能够了解本申请实施例第七方面所介绍的服务器的具体结构及变形,故而在此不再赘述,凡是实施本申请实施例第一方面所介绍的添加联系人方法所采用的服务器都属于本申请所欲保护的范围。The server used in the seventh aspect of the present application is the same server as the server used in the method for adding a contact described in the first aspect of the present application. Therefore, the added contact is introduced based on the first aspect of the embodiment of the present application. For a method, those skilled in the art can understand the specific structure and the modification of the server introduced in the seventh aspect of the embodiment of the present application. Therefore, the method for adding a contact introduced in the first aspect of the embodiment of the present application is not described herein. The servers employed are all within the scope of the present application.
第八方面,基于同一发明构思,本申请实施例提供一种第一电子设备,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:In an eighth aspect, based on the same inventive concept, an embodiment of the present application provides a first electronic device, including a memory, and one or more programs, where one or more programs are stored in a memory and configured to be Or the one or more processors executing the one or more programs include instructions for performing the following operations:
确定第一电子设备的第一标识信息所对应的第一声音信号;Determining a first sound signal corresponding to the first identification information of the first electronic device;
播放所述第一声音信号。Playing the first sound signal.
可选的,所述第一电子设备还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the first electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
从标识信息与声音信号的对应关系中,基于所述第一标识信息确定所述第一声音信号;或者,Determining, according to the correspondence information between the identification information and the sound signal, the first sound signal based on the first identification information; or
对所述第一标识信息按照预设规则进行编码,从而生成所述第一声音信号。The first identification information is encoded according to a preset rule, thereby generating the first sound signal.
可选的,所述第一电子设备还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the first electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
如果检测到所述第二电子设备产生的确认信号,停止播放所述第一声音信号。If the confirmation signal generated by the second electronic device is detected, the playing of the first sound signal is stopped.
可选的,所述第一电子设备还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the first electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
检测第二电子设备所播放的第二声音信号;Detecting a second sound signal played by the second electronic device;
在接听到所述第二声音信号之后,基于所述第二声音信号所对应的第二标识信息将所述第二用户添加为所述第一用户的联系人。After receiving the second sound signal, the second user is added as the contact of the first user based on the second identification information corresponding to the second sound signal.
可选的,所述第一电子设备还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the first electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
每隔第一随机时间间隔,启动播放所述第一声音信号的过程;Starting the process of playing the first sound signal every first random time interval;
在播放所述第一声音信号之外的其他时间,启动检测所述第二声音信号的过程。At a time other than playing the first sound signal, a process of detecting the second sound signal is initiated.
由于本申请第八方面所介绍的第一电子设备,与本申请实施例第一方面所介绍的添加联系人方法所采用的第一电子设备为相同的第一电子设备,故而基于本申请实施例第一方面所介绍的添加联系人方法,本领域所属技术人员能够了解本申请实施例第八方面所介绍的第一电子设备的具体结构及变形,故而在此不再赘述,凡是实施本申请实施例第一方面所介绍的添加联系人方法所采用的第一电子设备都属于本申请所欲保护的范围。The first electronic device used in the method for adding contacts described in the first aspect of the present application is the same first electronic device, and is based on the embodiment of the present application. For the method of adding a contact introduced in the first aspect, those skilled in the art can understand the specific structure and the modification of the first electronic device introduced in the eighth aspect of the embodiment of the present application, and therefore, details are not described herein again. The first electronic device used in the method of adding contacts introduced in the first aspect of the present invention is within the scope of the present application.
第九方面,基于同一发明构思,本申请实施例提供一种第二电子设备,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:In a ninth aspect, based on the same inventive concept, an embodiment of the present application provides a second electronic device, including a memory, and one or more programs, where one or more programs are stored in a memory and configured to be Or the one or more processors executing the one or more programs include instructions for performing the following operations:
检测获得第一声音信号,所述第一声音信号对应第一电子设备的第一标识信息;Detecting that the first sound signal is obtained, where the first sound signal corresponds to the first identification information of the first electronic device;
基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人。And adding, according to the first sound signal, the first user of the first electronic device as a contact of a second user of the second electronic device.
可选的,所述第二电子设备还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the second electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
基于所述第一声音信号确定出所述第一标识信息;Determining the first identification information based on the first sound signal;
将所述第一标识信息、以及所述第二电子设备的第二标识信息发送至服务器,以供所述服务器基于所述第一标识信息和所述第二标识信息将所述第一用户添加为所述第二用户的联系人。Transmitting the first identifier information and the second identifier information of the second electronic device to a server, where the server adds the first user based on the first identifier information and the second identifier information Is the contact of the second user.
可选的,所述第二电子设备还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the second electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
将所述第一声音信号、以及所述第二电子设备的第二标识信息发送至服务器,以供所述服务器基于所述第一声音信号确定出所述第一标识信息,并基于所述第一标识信息和所述第二标识信息将所述第一用户添加为所述第二用户的联系人。Transmitting the first sound signal and the second identification information of the second electronic device to a server, where the server determines the first identification information based on the first sound signal, and based on the An identification information and the second identification information add the first user as a contact of the second user.
可选的,所述第二电子设备还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the second electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
确定与所述第二电子设备的第二标识信息对应的第二声音信号;Determining a second sound signal corresponding to the second identification information of the second electronic device;
播放所述第二声音信号,以使所述第一电子设备在接听到所述第二声音信号时,基于所述第二标识信息将所述第二用户添加为所述第一用户的联系人。Playing the second sound signal, so that when the first electronic device receives the second sound signal, the second user is added as the contact of the first user based on the second identification information. .
可选的,所述第二电子设备还经配置以由一个或者一个以上处理器执行所 述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the second electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
每隔第二随机时间间隔,启动播放所述第二声音信号的过程;Initiating a process of playing the second sound signal every second random time interval;
在播放所述第二声音信号时,停止检测获得第一声音信号的过程。When the second sound signal is played, the process of detecting the first sound signal is stopped.
可选的,所述第二电子设备还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the second electronic device is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
如果所述第一声音信号包含对应至少两个电子设备的标识信息的声音信号,基于所述第一声音信号将所述至少两个电子设备的用户添加为所述第二用户的联系人。If the first sound signal includes a sound signal corresponding to the identification information of the at least two electronic devices, the user of the at least two electronic devices is added as the contact of the second user based on the first sound signal.
由于本申请第九方面所介绍的第二电子设备,与本申请实施例第一方面所介绍的添加联系人方法所采用的第二电子设备为相同的第二电子设备,故而基于本申请实施例第一方面所介绍的添加联系人方法,本领域所属技术人员能够了解本申请实施例第九方面所介绍的第二电子设备的具体结构及变形,故而在此不再赘述,凡是实施本申请实施例第一方面所介绍的添加联系人方法所采用的第二电子设备都属于本申请所欲保护的范围。The second electronic device used in the ninth aspect of the present application is the same second electronic device as the method for adding a contact introduced in the first aspect of the present application, and is based on the embodiment of the present application. For the method of adding a contact introduced in the first aspect, those skilled in the art can understand the specific structure and modification of the second electronic device introduced in the ninth aspect of the embodiment of the present application, and therefore, details are not described herein again. The second electronic device employed in the method of adding contacts described in the first aspect of the present invention is within the scope of the present application.
图8是根据一示例性实施例示出的一种添加联系人方法的电子设备800(第一电子设备或第二电子设备)的框图。例如,电子设备800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 8 is a block diagram of an electronic device 800 (a first electronic device or a second electronic device) that adds a contact method, according to an exemplary embodiment. For example, electronic device 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
参照图8,电子设备800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。Referring to FIG. 8, the electronic device 800 can include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, and a sensor component 814. And communication component 816.
处理组件802通常控制电子设备800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理元件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理部件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。 Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Processing component 802 can include one or more processors 820 to execute instructions to perform all or part of the steps of the above described methods. Moreover, processing component 802 can include one or more modules to facilitate interaction between component 802 and other components. For example, processing component 802 can include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
存储器804被配置为存储各种类型的数据以支持在设备800的操作。这些数据的示例包括用于在电子设备800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。 Memory 804 is configured to store various types of data to support operation at device 800. Examples of such data include instructions for any application or method operating on electronic device 800, contact data, phone book data, messages, pictures, videos, and the like. The memory 804 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable. Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
电源组件806为电子设备800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为电子设备800生成、管理和分配电力相关联的组件。 Power component 806 provides power to various components of electronic device 800. Power component 806 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 800.
多媒体组件808包括在所述电子设备800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。 如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当电子设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 808 includes a screen between the electronic device 800 and a user that provides an output interface. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the electronic device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当电子设备800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。The audio component 810 is configured to output and/or input an audio signal. For example, the audio component 810 includes a microphone (MIC) that is configured to receive an external audio signal when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting an audio signal.
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
传感器组件814包括一个或多个传感器,用于为电子设备800提供各个方面的状态评估。例如,传感器组件814可以检测到设备800的打开/关闭状态,组件的相对定位,例如所述组件为电子设备800的显示器和小键盘,传感器组件814还可以检测电子设备800或电子设备800一个组件的位置改变,用户与电子设备800接触的存在或不存在,电子设备800方位或加速/减速和电子设备800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD视频传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor assembly 814 includes one or more sensors for providing electronic device 800 with a status assessment of various aspects. For example, sensor component 814 can detect an open/closed state of device 800, a relative positioning of components, such as the display and keypad of electronic device 800, and sensor component 814 can also detect a component of electronic device 800 or electronic device 800. The location changes, the presence or absence of contact of the user with the electronic device 800, the orientation or acceleration/deceleration of the electronic device 800, and the temperature change of the electronic device 800. Sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD video sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件816被配置为便于电子设备800和其他设备之间有线或无线方式的通信。电子设备800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信部件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信部件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。 Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
在示例性实施例中,电子设备800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, electronic device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), A gated array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由电子设备800的处理器820执 行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium comprising instructions, such as a memory 804 comprising instructions executable by processor 820 of electronic device 800 to perform the above method. For example, the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由第一电子设备的处理器执行时,使得第一电子设备能够执行一种添加联系人方法,所述方法包括:A non-transitory computer readable storage medium, when instructions in the storage medium are executed by a processor of a first electronic device, enabling the first electronic device to perform an add contact method, the method comprising:
确定第一电子设备的第一标识信息所对应的第一声音信号;Determining a first sound signal corresponding to the first identification information of the first electronic device;
播放所述第一声音信号。Playing the first sound signal.
可选的,所述可读存储介质还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
从标识信息与声音信号的对应关系中,基于所述第一标识信息确定所述第一声音信号;或者,Determining, according to the correspondence information between the identification information and the sound signal, the first sound signal based on the first identification information; or
对所述第一标识信息按照预设规则进行编码,从而生成所述第一声音信号。The first identification information is encoded according to a preset rule, thereby generating the first sound signal.
可选的,所述可读存储介质还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
如果检测到所述第二电子设备产生的确认信号,停止播放所述第一声音信号。If the confirmation signal generated by the second electronic device is detected, the playing of the first sound signal is stopped.
可选的,所述可读存储介质还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
检测第二电子设备所播放的第二声音信号;Detecting a second sound signal played by the second electronic device;
在接听到所述第二声音信号之后,基于所述第二声音信号所对应的第二标识信息将所述第二用户添加为所述第一用户的联系人。After receiving the second sound signal, the second user is added as the contact of the first user based on the second identification information corresponding to the second sound signal.
可选的,所述可读存储介质还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
每隔第一随机时间间隔,启动播放所述第一声音信号的过程;Starting the process of playing the first sound signal every first random time interval;
在播放所述第一声音信号之外的其他时间,启动检测所述第二声音信号的过程。At a time other than playing the first sound signal, a process of detecting the second sound signal is initiated.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由第二电子设备的处理器执行时,使得第二电子设备能够执行一种添加联系人方法,所述方法包括:A non-transitory computer readable storage medium, when instructions in the storage medium are executed by a processor of a second electronic device, enabling the second electronic device to perform an add contact method, the method comprising:
检测获得第一声音信号,所述第一声音信号对应第一电子设备的第一标识信息;Detecting that the first sound signal is obtained, where the first sound signal corresponds to the first identification information of the first electronic device;
基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人。And adding, according to the first sound signal, the first user of the first electronic device as a contact of a second user of the second electronic device.
可选的,所述可读存储介质还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
基于所述第一声音信号确定出所述第一标识信息;Determining the first identification information based on the first sound signal;
将所述第一标识信息、以及所述第二电子设备的第二标识信息发送至服务器,以供所述服务器基于所述第一标识信息和所述第二标识信息将所述第一用 户添加为所述第二用户的联系人。Transmitting the first identifier information and the second identifier information of the second electronic device to a server, where the server adds the first user based on the first identifier information and the second identifier information Is the contact of the second user.
可选的,所述可读存储介质还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
将所述第一声音信号、以及所述第二电子设备的第二标识信息发送至服务器,以供所述服务器基于所述第一声音信号确定出所述第一标识信息,并基于所述第一标识信息和所述第二标识信息将所述第一用户添加为所述第二用户的联系人。Transmitting the first sound signal and the second identification information of the second electronic device to a server, where the server determines the first identification information based on the first sound signal, and based on the An identification information and the second identification information add the first user as a contact of the second user.
可选的,所述可读存储介质还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
确定与所述第二电子设备的第二标识信息对应的第二声音信号;Determining a second sound signal corresponding to the second identification information of the second electronic device;
播放所述第二声音信号,以使所述第一电子设备在接听到所述第二声音信号时,基于所述第二标识信息将所述第二用户添加为所述第一用户的联系人。Playing the second sound signal, so that when the first electronic device receives the second sound signal, the second user is added as the contact of the first user based on the second identification information. .
可选的,所述可读存储介质还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
每隔第二随机时间间隔,启动播放所述第二声音信号的过程;Initiating a process of playing the second sound signal every second random time interval;
在播放所述第二声音信号时,停止检测获得第一声音信号的过程。When the second sound signal is played, the process of detecting the first sound signal is stopped.
可选的,所述可读存储介质还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
如果所述第一声音信号包含对应至少两个电子设备的标识信息的声音信号,基于所述第一声音信号将所述至少两个电子设备的用户添加为所述第二用户的联系人。If the first sound signal includes a sound signal corresponding to the identification information of the at least two electronic devices, the user of the at least two electronic devices is added as the contact of the second user based on the first sound signal.
图9是本申请实施例的一些实施例中服务器的结构示意图。该服务器1900可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processing units,CPU)1922(例如,一个或一个以上处理器)和存储器1932,一个或一个以上存储应用程序1942或数据1944的存储介质1930(例如一个或一个以上海量存储设备)。其中,存储器1932和存储介质1930可以是短暂存储或持久存储。存储在存储介质1930的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,中央处理器1922可以设置为与存储介质1930通信,在服务器1900上执行存储介质1930中的一系列指令操作。FIG. 9 is a schematic structural diagram of a server in some embodiments of an embodiment of the present application. The server 1900 can vary considerably depending on configuration or performance, and can include one or more central processing units (CPUs) 1922 (eg, one or more processors) and memory 1932, one or one The above storage medium 1942 or storage medium 1930 of data 1944 (eg, one or one storage device in Shanghai). Among them, the memory 1932 and the storage medium 1930 may be short-term storage or persistent storage. The program stored on storage medium 1930 may include one or more modules (not shown), each of which may include a series of instruction operations in the server. Still further, central processor 1922 can be configured to communicate with storage medium 1930, which performs a series of instruction operations in storage medium 1930.
服务器1900还可以包括一个或一个以上电源1926,一个或一个以上有线或无线网络接口1950,一个或一个以上输入输出接口1958,一个或一个以上键盘1956,和/或,一个或一个以上操作系统1941,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。 Server 1900 may also include one or more power sources 1926, one or more wired or wireless network interfaces 1950, one or more input and output interfaces 1958, one or more keyboards 1956, and/or one or more operating systems 1941. For example, Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由服务器的处理器执行时,使得服务器能够执行一种添加联系人方法,所述方法包括:A non-transitory computer readable storage medium, when instructions in the storage medium are executed by a processor of a server, to enable a server to perform an add contact method, the method comprising:
接收第二电子设备发送的关联第一声音信号的第一添加联系人请求,所述第一声音信号对应第一电子设备的第一标识信息,所述第二电子设备通过接听方式获得所述第一电子设备播放的所述第一声音信号;Receiving, by the first electronic device, a first added contact request that is associated with the first sound signal, where the first sound signal corresponds to the first identification information of the first electronic device, and the second electronic device obtains the first The first sound signal played by an electronic device;
基于所述第一添加联系人请求确定出所述第一标识信息、以及所述第二电子设备的第二标识信息;Determining, according to the first adding contact request, the first identification information, and the second identification information of the second electronic device;
基于所述第一标识信息和所述第二标识信息,将所述第一电子设备的第一用户添加为所述第二电子设备的第二用户的联系人。And adding, by the first identifier information and the second identifier information, a first user of the first electronic device as a contact of a second user of the second electronic device.
可选的,所述可读存储介质还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
从所述第一添加联系人请求中提取出所述第一声音信号;基于声音信号与标识信息的对应关系,确定出所述第一声音信号所对应的所述第一标识信息;或者,Extracting the first sound signal from the first added contact request; determining the first identification information corresponding to the first sound signal based on a correspondence between the sound signal and the identification information; or
从所述第一添加联系人请求中提取出所述第一标识信息,其中,所述第二电子设备在从所述第一电子设备接听到所述第一声音信号之后,基于所述第一声音信号解析出所述第一标识信息。Extracting the first identification information from the first added contact request, wherein the second electronic device is based on the first after receiving the first sound signal from the first electronic device The sound signal parses out the first identification information.
可选的,所述可读存储介质还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
在获得所述第二电子设备的确认信号之后,将所述第二用户添加为所述第一用户的联系人。After obtaining the confirmation signal of the second electronic device, the second user is added as the contact of the first user.
可选的,所述可读存储介质还经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:Optionally, the readable storage medium is further configured to execute, by the one or more processors, the one or more programs to include instructions for:
接收所述第一电子设备发送的关联第二声音信号的第二添加联系人请求,所述第二声音信号对应所述第二标识信息,所述第一电子设备通过接听方式获得所述第二电子设备播放的所述第二声音信号;Receiving, by the first electronic device, a second added contact request that is associated with the second sound signal, where the second sound signal corresponds to the second identification information, and the first electronic device obtains the second by answering The second sound signal played by the electronic device;
在接收到所述第一添加联系人请求和所述第二添加联系人请求之后,将所述第一用户和所述第二用户彼此添加为联系人。After receiving the first add contact request and the second add contact request, the first user and the second user are added to each other as a contact.
图10示出了用于执行根据本申请的添加联系人的设备。该设备可以为电子设备或者服务器,该设备传统上包括处理器1410和以存储器1420形式的程序产品或者可读介质。存储器1420可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM或者ROM之类的电子存储器。存储器1420具有用于执行上述方法中的任何方法步骤的程序代码1431的存储空间1430。例如,用于程序代码的存储空间1430可以包括分别用于实现上面的方法中的各种步骤的各个程序代码1431。这些程序代码可以从一个或者多个程序产品中读出或者写入到这一个或者多个程序产品中。这些程序产品包括诸如存储卡之类的程序代码载体。这样的程序产品通常为如参考图11所述的便携式或者固定存储单元。该存储单元可以具有与图10的设备中的存储器1420类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括可读代码1431’,即可以由例如诸如1410之类的处理器读取的代码,这些代码当由设备运行时,导致该设备执行上面所描述的添加联系人方法中的各个步骤。FIG. 10 shows an apparatus for performing an add contact according to the present application. The device can be an electronic device or server that traditionally includes a processor 1410 and a program product or readable medium in the form of a memory 1420. The memory 1420 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, or a ROM. Memory 1420 has a memory space 1430 for program code 1431 for performing any of the method steps described above. For example, storage space 1430 for program code may include various program code 1431 for implementing various steps in the above methods, respectively. These program codes can be read from or written to one or more program products. These program products include program code carriers such as memory cards. Such a program product is typically a portable or fixed storage unit as described with reference to FIG. The storage unit may have a storage section, a storage space, and the like arranged similarly to the storage 1420 in the apparatus of FIG. The program code can be compressed, for example, in an appropriate form. Typically, the storage unit includes readable code 1431', ie, code that can be read by a processor, such as, for example, 1410, which when executed by the device causes the device to perform each of the methods of adding contacts described above. step.
本申请一个或多个实施例,至少具有以下有益效果:One or more embodiments of the present application have at least the following beneficial effects:
由于在本申请实施例中,第一电子设备可以通过播放第一声音信号的方式将其第一标识信息提供给第二电子设备,从而第二电子设备直接基于接听到的 第一声音信号就可以将第一电子设备的第一用户添加为第二电子设备的第二用户的联系人,而不需要额外的功能模块(例如:蓝牙模块、WIFI模块等等),故而达到了降低添加联系人的成本的技术效果。并且,通常情况下采集声音信号的方式都较为方便,不需要用户手动对麦克风进行调整,也不需要用户手动进行一些其他输入,故而能够提高添加联系人的效率。In the embodiment of the present application, the first electronic device can provide the first identification information to the second electronic device by playing the first sound signal, so that the second electronic device can directly be based on the first sound signal received. Adding the first user of the first electronic device as the contact of the second user of the second electronic device without additional functional modules (eg, Bluetooth module, WIFI module, etc.), thereby achieving the reduction of adding contacts The technical effect of cost. Moreover, the method of collecting the sound signal is generally convenient, and the user does not need to manually adjust the microphone, and the user does not need to manually perform some other input, thereby improving the efficiency of adding the contact.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的设备。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. A device that implements the functions specified in one or more processes and/or block diagrams of one or more blocks of the flowchart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令设备的制造品,该指令设备实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. A device implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of a flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。While the preferred embodiment of the present application has been described, it will be apparent that those skilled in the art can make further changes and modifications to the embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。It will be apparent to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit and scope of the application. Thus, it is intended that the present invention cover the modifications and variations of the present invention.

Claims (24)

  1. 一种添加联系人方法,其特征在于,包括:A method for adding a contact, comprising:
    接收第二电子设备发送的关联第一声音信号的第一添加联系人请求,所述第一声音信号对应第一电子设备的第一标识信息,所述第二电子设备通过接听方式获得所述第一电子设备播放的所述第一声音信号;Receiving, by the first electronic device, a first added contact request that is associated with the first sound signal, where the first sound signal corresponds to the first identification information of the first electronic device, and the second electronic device obtains the first The first sound signal played by an electronic device;
    基于所述第一添加联系人请求确定出所述第一标识信息、以及所述第二电子设备的第二标识信息;Determining, according to the first adding contact request, the first identification information, and the second identification information of the second electronic device;
    基于所述第一标识信息和所述第二标识信息,将所述第一电子设备的第一用户添加为所述第二电子设备的第二用户的联系人。And adding, by the first identifier information and the second identifier information, a first user of the first electronic device as a contact of a second user of the second electronic device.
  2. 如权利要求1所述的方法,其特征在于,所述基于所述第一添加联系人请求确定出所述第一标识信息,包括:The method of claim 1, wherein the determining the first identification information based on the first added contact request comprises:
    从所述第一添加联系人请求中提取出所述第一声音信号;基于声音信号与标识信息的对应关系,确定出所述第一声音信号所对应的所述第一标识信息;或者,Extracting the first sound signal from the first added contact request; determining the first identification information corresponding to the first sound signal based on a correspondence between the sound signal and the identification information; or
    从所述第一添加联系人请求中提取出所述第一标识信息,其中,所述第二电子设备在从所述第一电子设备接听到所述第一声音信号之后,基于所述第一声音信号解析出所述第一标识信息。Extracting the first identification information from the first added contact request, wherein the second electronic device is based on the first after receiving the first sound signal from the first electronic device The sound signal parses out the first identification information.
  3. 如权利要求1所述的方法,其特征在于,所述基于所述第一标识信息和所述第二标识信息,将所述第一电子设备的第一用户添加为所述第二电子设备的第二用户的联系人,包括:The method according to claim 1, wherein the adding the first user of the first electronic device as the second electronic device based on the first identification information and the second identification information The contact of the second user, including:
    在获得所述第一电子设备的确认信号之后,将所述第一用户添加为所述第二用户的联系人。After obtaining the confirmation signal of the first electronic device, adding the first user as a contact of the second user.
  4. 如权利要求1-3任一所述的方法,其特征在于,所述基于所述第一标识信息和所述第二标识信息,将所述第一电子设备的第一用户添加为所述第二电子设备的第二用户的联系人,包括:The method according to any one of claims 1-3, wherein the first user of the first electronic device is added as the first number based on the first identification information and the second identification information The contact of the second user of the second electronic device, including:
    接收所述第一电子设备发送的关联第二声音信号的第二添加联系人请求,所述第二声音信号对应所述第二标识信息,所述第一电子设备通过接听方式获得所述第二电子设备播放的所述第二声音信号;Receiving, by the first electronic device, a second added contact request that is associated with the second sound signal, where the second sound signal corresponds to the second identification information, and the first electronic device obtains the second by answering The second sound signal played by the electronic device;
    在接收到所述第一添加联系人请求和所述第二添加联系人请求之后,将所述第一用户和所述第二用户彼此添加为联系人。After receiving the first add contact request and the second add contact request, the first user and the second user are added to each other as a contact.
  5. 一种添加联系人方法,其特征在于,包括:A method for adding a contact, comprising:
    确定第一电子设备的第一标识信息所对应的第一声音信号;Determining a first sound signal corresponding to the first identification information of the first electronic device;
    播放所述第一声音信号。Playing the first sound signal.
  6. 如权利要求5所述的方法,其特征在于,所述确定第一电子设备的第一标识信息所对应的第一声音信号,包括:The method of claim 5, wherein the determining the first sound signal corresponding to the first identification information of the first electronic device comprises:
    从标识信息与声音信号的对应关系中,基于所述第一标识信息确定所述第一声音信号;或者,Determining, according to the correspondence information between the identification information and the sound signal, the first sound signal based on the first identification information; or
    对所述第一标识信息按照预设规则进行编码,从而生成所述第一声音信号。The first identification information is encoded according to a preset rule, thereby generating the first sound signal.
  7. 如权利要求5所述的方法,其特征在于,在所述播放所述第一声音信号之后,所述方法进一步包括:The method of claim 5, after the playing the first sound signal, the method further comprising:
    如果检测到所述第二电子设备产生的确认信号,停止播放所述第一声音信号。If the confirmation signal generated by the second electronic device is detected, the playing of the first sound signal is stopped.
  8. 如权利要求5所述的方法,其特征在于,所述方法进一步包括:The method of claim 5, wherein the method further comprises:
    检测第二电子设备所播放的第二声音信号;Detecting a second sound signal played by the second electronic device;
    在接听到所述第二声音信号之后,基于所述第二声音信号所对应的第二标识信息将所述第二用户添加为所述第一用户的联系人。After receiving the second sound signal, the second user is added as the contact of the first user based on the second identification information corresponding to the second sound signal.
  9. 如权利要求8所述的方法,其特征在于,所述方法进一步包括:The method of claim 8 wherein the method further comprises:
    每隔第一随机时间间隔,启动播放所述第一声音信号的过程;Starting the process of playing the first sound signal every first random time interval;
    在播放所述第一声音信号之外的其他时间,启动检测所述第二声音信号的过程。At a time other than playing the first sound signal, a process of detecting the second sound signal is initiated.
  10. 一种添加联系人方法,其特征在于,包括:A method for adding a contact, comprising:
    检测获得第一声音信号,所述第一声音信号对应第一电子设备的第一标识信息;Detecting that the first sound signal is obtained, where the first sound signal corresponds to the first identification information of the first electronic device;
    基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人。And adding, according to the first sound signal, the first user of the first electronic device as a contact of a second user of the second electronic device.
  11. 如权利要求10所述的方法,其特征在于,所述基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人,包括:The method of claim 10, wherein the adding the first user of the first electronic device as the contact of the second user of the second electronic device based on the first sound signal comprises:
    基于所述第一声音信号确定出所述第一标识信息;Determining the first identification information based on the first sound signal;
    将所述第一标识信息、以及所述第二电子设备的第二标识信息发送至服务器,以供所述服务器基于所述第一标识信息和所述第二标识信息将所述第一用户添加为所述第二用户的联系人。Transmitting the first identifier information and the second identifier information of the second electronic device to a server, where the server adds the first user based on the first identifier information and the second identifier information Is the contact of the second user.
  12. 如权利要求10所述的方法,其特征在于,所述基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人,包括:The method of claim 10, wherein the adding the first user of the first electronic device as the contact of the second user of the second electronic device based on the first sound signal comprises:
    将所述第一声音信号、以及所述第二电子设备的第二标识信息发送至服务器,以供所述服务器基于所述第一声音信号确定出所述第一标识信息,并基于所述第一标识信息和所述第二标识信息将所述第一用户添加为所述第二用户的联系人。Transmitting the first sound signal and the second identification information of the second electronic device to a server, where the server determines the first identification information based on the first sound signal, and based on the An identification information and the second identification information add the first user as a contact of the second user.
  13. 如权利要求10-12任一所述的方法,其特征在于,所述方法进一步包括:The method of any of claims 10-12, wherein the method further comprises:
    确定与所述第二电子设备的第二标识信息对应的第二声音信号;Determining a second sound signal corresponding to the second identification information of the second electronic device;
    播放所述第二声音信号,以使所述第一电子设备在接听到所述第二声音信号时,基于所述第二标识信息将所述第二用户添加为所述第一用户的联系人。Playing the second sound signal, so that when the first electronic device receives the second sound signal, the second user is added as the contact of the first user based on the second identification information. .
  14. 如权利要求13所述的方法,其特征在于,所述方法进一步包括:The method of claim 13 wherein the method further comprises:
    每隔第二随机时间间隔,启动播放所述第二声音信号的过程;Initiating a process of playing the second sound signal every second random time interval;
    在播放所述第二声音信号时,停止检测获得第一声音信号的过程。When the second sound signal is played, the process of detecting the first sound signal is stopped.
  15. 如权利要求10-12任一所述的方法,其特征在于,所述基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人,包括:The method according to any one of claims 10-12, wherein the adding the first user of the first electronic device as the contact of the second user of the second electronic device based on the first sound signal People, including:
    如果所述第一声音信号包含对应至少两个电子设备的标识信息的声音信号,基于所述第一声音信号将所述至少两个电子设备的用户添加为所述第二用户的联系人。If the first sound signal includes a sound signal corresponding to the identification information of the at least two electronic devices, the user of the at least two electronic devices is added as the contact of the second user based on the first sound signal.
  16. 一种服务器,其特征在于,包括:A server, comprising:
    接收模块,用于接收第二电子设备发送的关联第一声音信号的第一添加联系人请求,所述第一声音信号对应第一电子设备的第一标识信息,所述第二电子设备通过接听方式获得所述第一电子设备播放的所述第一声音信号;a receiving module, configured to receive a first added contact request that is sent by the second electronic device, where the first sound signal corresponds to the first identification information of the first electronic device, and the second electronic device answers Obtaining the first sound signal played by the first electronic device;
    第一确定模块,用于基于所述第一添加联系人请求确定出所述第一标识信息、以及所述第二电子设备的第二标识信息;a first determining module, configured to determine, according to the first add contact request, the first identifier information, and second identifier information of the second electronic device;
    第一添加模块,用于基于所述第一标识信息和所述第二标识信息,将所述第一电子设备的第一用户添加为所述第二电子设备的第二用户的联系人。a first adding module, configured to add, by using the first identifier information and the second identifier information, a first user of the first electronic device as a contact of a second user of the second electronic device.
  17. 一种第一电子设备,其特征在于,包括:A first electronic device, comprising:
    第二确定模块,用于确定第一电子设备的第一标识信息所对应的第一声音信号;a second determining module, configured to determine a first sound signal corresponding to the first identification information of the first electronic device;
    第一播放模块,用于播放所述第一声音信号。a first playing module, configured to play the first sound signal.
  18. 一种第二电子设备,其特征在于,包括:A second electronic device, comprising:
    第二检测模块,用于检测获得第一声音信号,所述第一声音信号对应第一电子设备的第一标识信息;a second detecting module, configured to detect that the first sound signal is obtained, where the first sound signal corresponds to the first identification information of the first electronic device;
    第三添加模块,用于基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人。a third adding module, configured to add a first user of the first electronic device as a contact of a second user of the second electronic device based on the first sound signal.
  19. 一种服务器,其特征在于,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:A server, comprising: a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to execute the one or more programs by one or more processors Contains instructions for doing the following:
    接收第二电子设备发送的关联第一声音信号的第一添加联系人请求,所述第一声音信号对应第一电子设备的第一标识信息,所述第二电子设备通过接听方式获得所述第一电子设备播放的所述第一声音信号;Receiving, by the first electronic device, a first added contact request that is associated with the first sound signal, where the first sound signal corresponds to the first identification information of the first electronic device, and the second electronic device obtains the first The first sound signal played by an electronic device;
    基于所述第一添加联系人请求确定出所述第一标识信息、以及所述第二电子设备的第二标识信息;Determining, according to the first adding contact request, the first identification information, and the second identification information of the second electronic device;
    基于所述第一标识信息和所述第二标识信息,将所述第一电子设备的第一用户添加为所述第二电子设备的第二用户的联系人。And adding, by the first identifier information and the second identifier information, a first user of the first electronic device as a contact of a second user of the second electronic device.
  20. 一种第一电子设备,其特征在于,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:A first electronic device, comprising: a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to execute the one or more by one or more processors More than one program contains instructions for doing the following:
    确定第一电子设备的第一标识信息所对应的第一声音信号;Determining a first sound signal corresponding to the first identification information of the first electronic device;
    播放所述第一声音信号。Playing the first sound signal.
  21. 一种第二电子设备,其特征在于,包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行所述一个或者一个以上程序包含用于进行以下操作的指令:A second electronic device, comprising: a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to execute the one or more by one or more processors More than one program contains instructions for doing the following:
    检测获得第一声音信号,所述第一声音信号对应第一电子设备的第一标识信息;Detecting that the first sound signal is obtained, where the first sound signal corresponds to the first identification information of the first electronic device;
    基于所述第一声音信号,将所述第一电子设备的第一用户添加为第二电子设备的第二用户的联系人。And adding, according to the first sound signal, the first user of the first electronic device as a contact of a second user of the second electronic device.
  22. 一个或多个机器可读介质,其上存储有指令,当由一个或多个处理器执行时,使得服务器执行如权利要求1-4中一个或多个所述的方法。One or more machine-readable media having stored thereon instructions that, when executed by one or more processors, cause the server to perform the method of one or more of claims 1-4.
  23. 一个或多个机器可读介质,其上存储有指令,当由一个或多个处理器执行时,使得电子设备执行如权利要求5-9中一个或多个所述的方法。One or more machine-readable media having stored thereon instructions that, when executed by one or more processors, cause the electronic device to perform the method of one or more of claims 5-9.
  24. 一个或多个机器可读介质,其上存储有指令,当由一个或多个处理器执行时,使得电子设备执行如权利要求10-15中一个或多个所述的方法。One or more machine-readable medium having stored thereon instructions that, when executed by one or more processors, cause the electronic device to perform the method of one or more of claims 10-15.
PCT/CN2017/116845 2017-01-13 2017-12-18 Contact adding method, electronic device and server WO2018130048A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710025426.6 2017-01-13
CN201710025426.6A CN106686184A (en) 2017-01-13 2017-01-13 Contact person adding method, electronic devices and server

Publications (1)

Publication Number Publication Date
WO2018130048A1 true WO2018130048A1 (en) 2018-07-19

Family

ID=58860651

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/116845 WO2018130048A1 (en) 2017-01-13 2017-12-18 Contact adding method, electronic device and server

Country Status (3)

Country Link
CN (1) CN106686184A (en)
TW (1) TWI725270B (en)
WO (1) WO2018130048A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686184A (en) * 2017-01-13 2017-05-17 北京搜狗科技发展有限公司 Contact person adding method, electronic devices and server
CN107770384B (en) * 2017-10-31 2021-04-23 广东小天才科技有限公司 Friend adding method, device and system and intelligent equipment
CN108712729B (en) * 2018-05-30 2021-03-02 福州米鱼信息科技有限公司 Active social type wearable device and implementation method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006097598A1 (en) * 2005-03-16 2006-09-21 France Telecom Method for automatically producing voice labels in an address book
CN103678605A (en) * 2013-12-16 2014-03-26 小米科技有限责任公司 Information transmission method and device and terminal device
CN104104764A (en) * 2013-04-08 2014-10-15 上海斐讯数据通信技术有限公司 Audio receiving end, audio sending end, number saving system and number saving method
CN106686184A (en) * 2017-01-13 2017-05-17 北京搜狗科技发展有限公司 Contact person adding method, electronic devices and server

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080037720A1 (en) * 2006-07-27 2008-02-14 Speechphone, Llc Voice Activated Communication Using Automatically Updated Address Books
JP2010226575A (en) * 2009-03-25 2010-10-07 Nec Corp Mobile communication terminal, current location notification method, current location notification program, and program recording medium
CN102611799A (en) * 2012-03-21 2012-07-25 上海车音网络科技有限公司 Method, device and system for acquiring contact person numbers
US8934886B2 (en) * 2012-12-31 2015-01-13 Via Technologies, Inc. Mobile apparatus and method of voice communication
KR102052699B1 (en) * 2013-03-21 2019-12-05 삼성전자주식회사 Method for displaying contact information in electronic device
CN104216896B (en) * 2013-05-31 2018-11-16 腾讯科技(深圳)有限公司 A kind of method and device for searching contact information
CN104427109B (en) * 2013-08-30 2017-04-19 联想(北京)有限公司 Method for establishing contact item by voices and electronic equipment
CN104394255A (en) * 2014-10-20 2015-03-04 贵阳朗玛信息技术股份有限公司 A method and device for adding a friend
CN105049319B (en) * 2015-05-25 2018-09-18 腾讯科技(深圳)有限公司 Good friend's adding method and system, client and server
CN110855807A (en) * 2015-06-30 2020-02-28 华为终端有限公司 Method and equipment for adding contact person
CN105515946B (en) * 2015-12-02 2019-12-13 广东小天才科技有限公司 Method and system for adding contact person
CN105635452B (en) * 2015-12-28 2019-05-10 努比亚技术有限公司 Mobile terminal and its identification of contacts method
CN105812530A (en) * 2016-03-08 2016-07-27 北京小米移动软件有限公司 Method and device for adding contact means by using fingerprint information
CN105704319A (en) * 2016-03-18 2016-06-22 深圳市轱辘软件开发有限公司 Method of adding friend and intelligent devices
CN106209604A (en) * 2016-08-26 2016-12-07 北京小米移动软件有限公司 Add the method and device of good friend

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006097598A1 (en) * 2005-03-16 2006-09-21 France Telecom Method for automatically producing voice labels in an address book
CN104104764A (en) * 2013-04-08 2014-10-15 上海斐讯数据通信技术有限公司 Audio receiving end, audio sending end, number saving system and number saving method
CN103678605A (en) * 2013-12-16 2014-03-26 小米科技有限责任公司 Information transmission method and device and terminal device
CN106686184A (en) * 2017-01-13 2017-05-17 北京搜狗科技发展有限公司 Contact person adding method, electronic devices and server

Also Published As

Publication number Publication date
TWI725270B (en) 2021-04-21
CN106686184A (en) 2017-05-17
TW201826776A (en) 2018-07-16

Similar Documents

Publication Publication Date Title
EP3070905B1 (en) Method and apparatus for binding device
EP3276910B1 (en) Bluetooth-based identity recognition method and device
WO2019095140A1 (en) Period information indication method for common control resource set of remaining key system information
WO2017161857A1 (en) Virtual desktop access method and mobile terminal
EP2938054B1 (en) Method, device and system for handling busy line
CN111246283B (en) Video playing method and device, electronic equipment and storage medium
WO2016155231A1 (en) Network access method and device
WO2016015403A1 (en) Method and apparatus for accessing wi-fi network
CN108495168B (en) Bullet screen information display method and device
CN107094094B (en) Application networking method and device and terminal
WO2019157657A1 (en) Information configuration method and apparatus, and base station and user equipment
WO2018130048A1 (en) Contact adding method, electronic device and server
CN109521918A (en) A kind of information sharing method, device, electronic equipment and storage medium
CN113098629B (en) Network distribution method, device and storage medium
KR20190016671A (en) Communication device, server and communication method thereof
CN105677023B (en) Information demonstrating method and device
CN107819740B (en) Terminal device verification method, terminal device, sound box, server and medium
CN105491518A (en) Method and device for social reminding based on wearable devices
WO2017118044A1 (en) Group message displaying method and device
JP2016534473A (en) Method and device for controlling router plug-ins
CN104967966B (en) A kind of method and device of binding bluetooth equipment
CN109379200B (en) Message treatment method, device, electronic equipment and storage medium
US11297626B2 (en) Information indication method and apparatus, base station and user equipment
CN105577653B (en) Establish the method and device of video calling
CN109150901A (en) A kind of reminding method, device, electronic equipment and the storage medium in information source

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17891312

Country of ref document: EP

Kind code of ref document: A1