CN106331301B - A kind of method and apparatus adding contact person - Google Patents
A kind of method and apparatus adding contact person Download PDFInfo
- Publication number
- CN106331301B CN106331301B CN201510379197.9A CN201510379197A CN106331301B CN 106331301 B CN106331301 B CN 106331301B CN 201510379197 A CN201510379197 A CN 201510379197A CN 106331301 B CN106331301 B CN 106331301B
- Authority
- CN
- China
- Prior art keywords
- user
- terminal
- contact person
- instant messaging
- messaging application
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 230000006854 communication Effects 0.000 claims abstract description 154
- 238000004891 communication Methods 0.000 claims abstract description 152
- 238000012790 confirmation Methods 0.000 claims abstract description 100
- 230000005540 biological transmission Effects 0.000 claims description 34
- 230000008569 process Effects 0.000 abstract description 15
- 238000012545 processing Methods 0.000 abstract description 12
- 230000006870 function Effects 0.000 description 28
- 239000000284 extract Substances 0.000 description 13
- 238000001514 detection method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000000605 extraction Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 238000010295 mobile communication Methods 0.000 description 3
- 241001062009 Indigofera Species 0.000 description 2
- 238000013459 approach Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002045 lasting effect Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/26—Devices for calling a subscriber
- H04M1/27—Devices whereby a plurality of signals may be stored simultaneously
- H04M1/274—Devices 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/2745—Devices 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/2753—Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/40—Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
- H04B5/48—Transceivers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/26—Devices for calling a subscriber
- H04M1/27—Devices whereby a plurality of signals may be stored simultaneously
- H04M1/274—Devices 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/2745—Devices 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/27453—Directories allowing storage of additional subscriber data, e.g. metadata
- H04M1/27457—Management thereof, e.g. manual editing of data
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of method and apparatus for adding contact person, the method for the addition contact person is applied to technical field of mobile terminals.Include: that first terminal receives the order that the first user adds contact person, obtain the contact information of second user, the contact information includes contact person's instant messaging application account and confirmation code;Terminal sends addition contact person's request to the network equipment, when the timely communication applications account of second user and corresponding confirmation code that pre-save in instant messaging application the account and corresponding confirmation code and the network equipment that the network equipment confirms the second user in the addition contact person request are consistent, addition contact person.The case where addition contact person's scheme of the embodiment of the present invention avoids input error when user adds contact person manually simplifies user and adds the operating process of contact person, and improve the experience of user;The process of network device processing addition contact person's request is simplified simultaneously.
Description
Technical field
The present embodiments relate to technical field of mobile terminals, in particular to a kind of method and apparatus for adding contact person.
Background technique
With the development of mobile terminal, so that the communication of people is more and more convenient.By using the instant messaging in terminal
Software can mutually send text, speech message or real-time perfoming voice, video communication between user.User using it is this kind of i.e.
When the premise that is in communication with each other of communication software be addition contact information into the contact person's corresponding relationship of itself.It is avoided with this
Rubbish broadcast message is spread unchecked.
After the method for prior art addition contact person is generally the function that user selects addition contact person, a kind of mode is to use
Family is manually entered the mode of contact information and then is added;Another way is to shoot two dimensional code by terminal camera
Mode adds contact person into the contact person's corresponding relationship of itself, wherein saves contact information in two dimensional code.
The prior art adds the process of contact person, such as Fig. 1:
First terminal is the equipment that the first user uses;Second terminal is the equipment that second user uses;
ID-A is the instant messaging application account of the first user, operates in first terminal;ID-B is the instant of second user
Communication applications account, operates in second terminal;
Step 101: first terminal receives the order of the first Client-initiated addition contact information;
Step 102: first terminal receives the instant messaging application account ID-B that the first user inputs second user;
Input mode can be to be manually entered, can also be two-dimentional by shooting the instant messaging application account of second user
Code;
Step 103: first terminal sends the request for the account contact person that addition ID-B is ID-A to the network equipment;
Step 104: after the network equipment receives the request of account contact person that the addition ID-B of first terminal transmission is ID-A,
Send the request to second terminal;
Step 105: second terminal receives the request, and second user is prompted to confirm whether or not, and will confirm that result is sent out
Give the network equipment;
Step 106: the network equipment judges whether second user agrees to the addition ID-B of the first user transmission for the account of ID-A
The request of family contact person;
When second user agrees to the request of account contact person that the addition ID-B that the first user sends is ID-A, network is set
It is standby that ID-B and ID-A is mutually added to account contact person, and sent to first terminal, second terminal and successfully add contact person's
Message;
When second user disagrees the request of account contact person that the addition ID-B of the first user transmission is ID-A, network
Equipment is optional to send addition contact person's failure news to first terminal, second terminal;
Step 107: ID-B and ID-A is mutually added to account contact person by the network equipment.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
Terminal receives the manual inputting contact information of user or in such a way that shooting two dimensional code obtains contact information,
It is be easy to cause input operating mistake and not convenient problem, and the operating process for shooting two dimensional code is cumbersome, does not in addition image
The terminal of head is not available then.Meanwhile the network equipment receives the account that the addition ID-B of first terminal transmission is ID-A and contacts
It after the request of people, needs to send the request to second terminal, wait and receives the confirmation of second terminal as a result, according to second
The request for the account contact person that the addition ID-B that first terminal described in the confirmation result treatment that terminal is sent is sent is ID-A, and will
Processing result is sent to first terminal, second terminal;The network equipment needs repeatedly to handle addition contact person with terminal interaction information
The process of request is many and diverse.
Summary of the invention
It is easy to cause user to input operating mistake, not convenient to solve to add the mode of contact person manually in the prior art
And many and diverse problem of process of network device processing addition contact person's request, the embodiment of the present invention use following technical side
Case:
In a first aspect, the embodiment of the present invention provides a kind of method for adding contact person, which comprises
First terminal receives the operational order that the first user adds contact person, obtains the contact information of second user;
The contact information of the second user includes the instant messaging application account and the second user of second user
The corresponding confirmation code of instant messaging application account;
First terminal sends addition contact person's request to the network equipment;
Instant messaging application account, second use of first user are included at least in the addition contact person request
Instant messaging application account, the corresponding confirmation code of instant messaging application account of the second user at family;
The instant messaging application of first user operates on the first terminal, the instant messaging of the second user
Using operating in second terminal.
With reference to first aspect, in the first possible implementation of the first aspect, the first terminal receives
The operational order that one user adds contact person is that first terminal detects the crash-active with second terminal.
With reference to first aspect, in the second possible implementation of the first aspect, the connection for obtaining second user
It is that people's information includes: first terminal judges whether the contact person comprising second user believes in the Bluetooth communication mark of second terminal
Breath, when including the contact information of second user in the Bluetooth communication of second terminal mark, the bluetooth for extracting second terminal is logical
Beacon is known, and the contact information for obtaining second user is identified according to the Bluetooth communication of extracted second terminal.
With reference to first aspect, in a third possible implementation of the first aspect, the connection for obtaining second user
Be people's information include: first terminal by contact information of the bluetooth communication to second terminal request second user, receives
The contact information for the second user that second terminal is sent.
The third possible implementation with reference to first aspect, in the 4th kind of possible implementation of first aspect
In, the first terminal passes through contact information of the bluetooth communication to second terminal request second user, comprising: adjustment the
The transmission power of one terminal Bluetooth, in a certain range by Bluetooth communication distance controlling.
With reference to first aspect, in the fifth possible implementation of the first aspect, the first terminal receives
After one user adds the operational order of contact person, before the contact information for obtaining second user, the method also includes: the
One terminal uses the original Bluetooth communication of Bluetooth communication mark replacement first terminal comprising presetting feature string to identify.
Second aspect, the embodiment provides a kind of methods for adding contact person, which comprises
The network equipment receives the addition contact person request of first terminal transmission, the addition connection that the first terminal is sent
The instant messaging application account of the first user, the timely communication applications account of second user and described are included at least in people's request
The corresponding confirmation code of instant messaging application account of second user;
The instant messaging application of first user operates on the first terminal, the instant messaging of the second user
Using operating in the second terminal;
Confirm the instant messaging application account and corresponding confirmation code of the second user in the addition contact person request
It is whether consistent with the timely communication applications account of second user and corresponding confirmation code pre-saved in the network equipment;
When the instant messaging application account and corresponding confirmation for confirming the second user in the addition contact person request
Code and the timely communication applications account of second user and the corresponding confirmation code network equipment one pre-saved in the network equipment
When cause, the instant messaging application account of the first user, the instant messaging application account of second user are mutually added to contact person.
In conjunction with second aspect, in the first possible implementation of the second aspect, the network equipment receives
After the addition contact person request that one terminal is sent, the instant messaging application of the first user in the addition contact person request is extracted
Account, the corresponding confirmation of instant messaging application account of the instant messaging application account and the second user of second user
Code.
The third aspect, the embodiment of the present invention provide a kind of device for adding contact person, and described device includes:
Receiving module adds the operational order of contact person for receiving the first user;
Module is obtained, for obtaining the contact information of second user;
The contact information of the second user includes the instant messaging application account and the second user of second user
The corresponding confirmation code of instant messaging application account;
Sending module, for sending addition contact person's request to the network equipment;
Instant messaging application account, second use of first user are included at least in the addition contact person request
Instant messaging application account, the corresponding confirmation code of instant messaging application account of the second user at family;
The instant messaging application of first user operates on first terminal, the instant messaging application of the second user
It operates in second terminal.
In conjunction with the third aspect, in the first possible implementation of the third aspect, the acquisition module, comprising:
Judging unit, for judging whether the contact person comprising second user believes during the Bluetooth communication of second terminal identifies
Breath;
Extraction unit, for mentioning when including the contact information of second user in the Bluetooth communication of second terminal mark
The Bluetooth communication of second terminal is taken to identify;
Acquiring unit, the contact person for obtaining second user for the Bluetooth communication mark according to the second terminal of extraction believe
Breath.
In conjunction with the third aspect, in the second possible implementation of the third aspect, the acquisition module, comprising:
Adjustment unit, for passing through contact person of the bluetooth communication to second terminal request second user when first terminal
When information, the transmission power of first terminal bluetooth is adjusted, in a certain range by Bluetooth communication distance controlling.
In conjunction with the third aspect, in the third possible implementation of the third aspect, described device further include:
Replacement module: for obtaining after the receiving module receives the first user and adds the operational order of contact person
It is former using the Bluetooth communication mark replacement first terminal comprising presetting feature string before taking the contact information of second user
Some Bluetooth communication marks.
Fourth aspect, the embodiment of the present invention provide a kind of device for adding contact person, and described device includes:
Receiving module, for receiving the addition contact person request of first terminal transmission;
Included at least in addition contact person's request that the first terminal is sent the first user instant messaging application account,
The corresponding confirmation code of instant messaging application account of the timely communication applications account and the second user of second user;
The instant messaging application of first user operates on the first terminal, the instant messaging of the second user
Using operating in the second terminal;
Confirmation module: for confirm it is described addition contact person request in second user instant messaging application account and
Corresponding confirmation code, with the timely communication applications account and corresponding confirmation code of the second user pre-saved in the network equipment
It is whether consistent;
Contact module is added, for confirming the instant of the second user in the addition contact person request when confirmation module
The timely communication applications account of the second user pre-saved in communication applications account and corresponding confirmation code and the network equipment
And corresponding confirmation code it is consistent when, by the instant messaging application account of the first user, the instant messaging application account of second user
Family is mutually added to account contact person.
In conjunction with fourth aspect, in the first possible implementation of the fourth aspect, described device further include:
Extraction module extracts after for receiving the addition contact person request of first terminal transmission when the receiving module
The instant messaging application account of the first user in the addition contact person request, the instant messaging application account of second user with
And the corresponding confirmation code of instant messaging application account of the second user.
The embodiment of the present invention is by using packet when first terminal receives the first user and adds the operational order of contact person
Bluetooth function is opened in the original Bluetooth communication mark of Bluetooth communication mark replacement first terminal containing default feature string, search
Terminal, in the Bluetooth communication mark of the second terminal for the unlatching Bluetooth function for judging to search whether include second user connection
It is people's information, the contact information includes instant messaging application account and the corresponding confirmation of the instant messaging application account
Code;When including the contact information of second user in the Bluetooth communication of second terminal mark, first terminal extracts second terminal
Bluetooth communication mark, according to the Bluetooth communication identify obtain second user contact information;When the bluetooth of second terminal
When not including the contact information of second user in communication identifier, first terminal passes through bluetooth communication to second terminal request
The contact information of second user receives the contact information for the second user that second terminal is sent;Get second user
After contact information, first terminal sends addition contact person's request to the network equipment, at least wraps in the addition contact person request
Instant messaging application account ID-A containing first user, the instant messaging application account ID-B of the second user, second
The corresponding confirmation code KEY-B of instant messaging application account of user;When the network equipment receives the addition connection of first terminal transmission
When being people's request, the instant messaging application account ID-B of the second user in the addition contact person request is confirmed, and corresponding
Confirmation code KEY-B and the network equipment in the instant messaging application account ID-B and second user of the second user that pre-save
The corresponding confirmation code of instant messaging application account it is whether consistent;If it is confirmed that it is consistent, ID-B and ID-A are mutually added to account
Family contact person updates the account contact person's corresponding relationship of ID-A, ID-B in the network device, optional to send out to the first, second terminal
Terminal side is updated after sending the addition successful message of contact person, the first, second terminal to receive the addition successful message of contact person
Account contact person's corresponding relationship;If it is confirmed that inconsistent, optional first terminal sends the addition unsuccessful message of contact person;This hair
The case where technical solution that bright embodiment provides avoids input error when user adds contact person manually simplifies user's addition
The operating process of contact person, and improve the experience of user;The stream of network device processing addition contact person's request is simplified simultaneously
Journey.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment
Attached drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill of field, without creative efforts, it can also be obtained according to these attached drawings others
Attached drawing.
Fig. 1 is the method flow diagram that the prior art adds contact person;
Fig. 2 is the flow chart of the embodiment of the present invention one;
Fig. 3 is the schematic diagram of the embodiment of the present invention two;
Fig. 4 is the schematic diagram of the embodiment of the present invention three;
Fig. 5 is the schematic diagram of the embodiment of the present invention four;
Fig. 6 is the schematic diagram of the embodiment of the present invention five.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiment is only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
His embodiment, shall fall within the protection scope of the present invention.
It should be noted that in the embodiment of the present invention:
First terminal is the equipment that the first user uses;Second terminal is the equipment that second user uses;
ID-A is the instant messaging application account of the first user, operates in first terminal;ID-B is the instant of second user
Communication applications account, operates in second terminal.
KEY-A is the corresponding confirmation code of ID-A;KEY-B is the corresponding confirmation code of ID-B;
The instant messaging application account and the confirmation code correspond, and are stored in instant messaging application account and are logged in
Terminal and the network equipment in;
The confirmation code is that have the string data of certain length, and the login different from instant messaging application account is close
Code, further, the confirmation code can be updated by terminal user in terminal, are synchronized to network by communication network after update and set
It is standby;
Instant messaging application account, the corresponding confirmation code of the instant messaging application account and institute are stored in the network equipment
State contact person's corresponding relationship of instant messaging application account.
Embodiment one:
The embodiment of the invention provides a kind of methods for adding contact person, referring to fig. 2.
It should be noted that terminal can by bluetooth, infrared, near-field communication (Near Field Communication,
) etc. NFC communication modes obtain, addition contact information;For ease of description, the embodiment of the present invention is obtained with terminal by bluetooth approach
It takes, add the process for illustrating terminal acquisition for contact information, adding contact information;
Method flow includes:
Step 201: first terminal receives the operational order that the first user adds contact person;
The operational order of the addition contact person can be the mutual crash-active between terminal, and it is manual to be also possible to user
The execution order of operation addition contact person;
When the operational order of the addition contact person is the mutual crash-active between terminal, terminal passes through collision detection
Module detects the mutual crash-active between terminal, and the collision detection module can be accelerometer sensor.
Optionally, when first terminal, which receives the first user, adds the operational order of contact person, using including default spy
Levy the original Bluetooth communication mark of Bluetooth communication mark replacement first terminal of character string;Correspondingly, second terminal is receiving
When second user adds the operational order of contact person, eventually using the Bluetooth communication mark replacement second comprising presetting feature string
Original Bluetooth communication is held to identify.The terminal that contact person is mutually added can be enabled to obtain contact person's letter of opposite end in this way
Breath.
When receiving the operational order of addition contact person, if the Bluetooth function of terminal is to close, automatically turn on
It replaces original Bluetooth communication using the Bluetooth communication mark comprising presetting feature string after Bluetooth function to identify, further
Ground can generate Bluetooth pairing password simultaneously;If the Bluetooth function of terminal is to open, use comprising presetting characteristic character
The Bluetooth communication mark of string replaces original Bluetooth communication mark;
The unlatching Bluetooth function can detect that the mutual collision between terminal is dynamic by the collision detection module of terminal
Bluetooth function is automatically turned on after work, the collision detection module can be accelerometer sensor;It can also be opened manually by user
Open Bluetooth function;
The default feature string is the character string with the characteristic information for embodying operation intention of user, described comprising pre-
If the Bluetooth communication of feature string is identified as visible to other users, Bluetooth functions are opened numerous convenient for other users
Quickly identify that the Bluetooth communication for the terminal for needing to add contact person identifies according to the characteristic information in the character string in terminal;
Optionally, Bluetooth communication is identified as addfriend_ [xxxx], and addfriend is default feature string,
[xxxx] can be arbitrary data, optionally can be contact information, the Bluetooth MAC address data of user;The bluetooth is matched
It is optional to password to be set as particular value (such as 20142015);
System default setting, is generally initially set to end when the original Bluetooth communication mark of terminal can dispatch from the factory for terminal
The model name at end;Or the personalized Bluetooth communication mark modified for user;
Optionally, after the process for completing addition contact person, the Bluetooth communication mark comprising default feature string can
To be reduced to the original Bluetooth communication mark of terminal.
Step 202: the terminal of Bluetooth function is opened in first terminal search;
The process of this search can be duration.Such as in public places in traveling process or in the whole of a certain rally
During a, contact person's terminal of Bluetooth function is opened in lasting search;
The Bluetooth communication mark of the contact person's terminal searched, the first user are shown in a manner of list in first terminal
Bluetooth communication in list can be identified and be chosen, sorted, screened;Exclude the bluetooth of contact person's terminal without addition
Communication identifier.
Preferably, the Bluetooth communication mark of All Contacts' terminal is all the state being selected in list, and user need to only take
Disappear and be selected state without what the Bluetooth communication of contact person's terminal of addition identified, is excluded.
Optionally, in the Bluetooth communication identification list of the contact person's terminal searched, the first user is searched comprising default
The Bluetooth communication of feature string identifies.
Optionally, first terminal can go out to need the Bluetooth communication mark of contact person's terminal to be added with automatic fitration, such as
Whether there is the default feature string in Bluetooth communication mark by identifying second terminal, if having the default spy
Character string is levied, then N after the default feature string (N is the integer more than or equal to 1) is the contact person of second user
Information.First terminal is subsequent, extracts the Bluetooth communication mark of second terminal, obtains N conducts after the default feature string
The contact information of second user.
Optionally, by adjusting the transmission power of first terminal bluetooth, in a certain range by Bluetooth communication distance controlling
(such as 1 meter) avoids accidentally searching the contact person without addition;The Bluetooth transmission power of the adjustment first terminal can pass through
First terminal adjust automatically can also be manually adjusted by the first user.
Step 203: the contact information of first terminal acquisition second user;
The contact information of the available all terminal users searched of first terminal;
Preferably, first terminal obtains the contact person of the terminal user of the Bluetooth communication mark comprising default feature string
Information;
The contact information includes instant messaging application account and the corresponding confirmation code of the instant messaging application account,
It can be stored in the terminal and the network equipment that instant messaging application account is logged in;The instant messaging application account and institute
The corresponding confirmation code of instant messaging application account is stated to correspond;
The confirmation code is that have the string data of certain length, and the login different from instant messaging application account is close
Code, further, the confirmation code can be synchronized to the network equipment by communication network after terminal update by terminal user;
The first terminal can be by bluetooth, and infrared, the communication modes such as NFC obtain the contact information of second user,
For ease of description, the embodiment of the present invention by first terminal by bluetooth approach obtain second user contact information for, in detail
Describe the method flow that bright first terminal obtains the contact information of second user in detail, it may be assumed that step 203 specifically may include step 2031
~2036:
Step 2031: first terminal judge second terminal Bluetooth communication mark in whether include second user contact person
Information;If comprising executing step 2032;If do not included, first terminal passes through bluetooth communication to second terminal request
The contact information of second user receives the contact information for the second user that second terminal is sent, referring to execution step 2033
~2036;
Step 2032: first terminal extracts the Bluetooth communication mark of second terminal, is identified and is obtained according to the Bluetooth communication
The contact information of second user;Step 204 is executed after step 2032.
Step 2033: first terminal is connect and is communicated by Bluetooth pairing with second terminal;
Optionally, before first terminal and second terminal establish connection, second terminal reminds second user to input bluetooth
Password is matched, when correctly then the pairing of the first, second terminal is connected and communicated the Bluetooth pairing password that second user inputs;When first
The Bluetooth pairing password of terminal be particular value, and second terminal it is pre-set Bluetooth pairing password it is consistent with the particular value
When, the first, second terminal can be matched directly, not need to remind second user input Bluetooth pairing password.
Step 2034: contact information of the first terminal to second terminal request second user;
Step 2035: second terminal sends the contact information of second user to first terminal;
Step 2036: first terminal receives the contact information for the second user that second terminal is sent;Step 2036 terminates
Step 204 is executed afterwards;
Optionally, instant messaging application account and first user of the second terminal to first terminal the first user of request
The corresponding confirmation code of instant messaging application account, after first terminal receives the request, send the first user instant messaging
Using account ID-A and confirmation code KEY-A to second terminal.
Optionally, to avoid mistakenly adding the instant of other opened bluetooth function and the users for thering is instant messaging to apply
Communication applications account is good friend, before first terminal requests contact information to second terminal by bluetooth module, prompts first
User inputs user's check code, and sends the check code to second terminal by bluetooth module;Second terminal is whole to first
End sends the corresponding confirmation code of instant messaging application account of the instant messaging application account and the second user of second user
Before, prompt second user inputs user's check code, when user's check code of second user input and received from first terminal
When check code is consistent, second terminal sends the instant messaging application account ID-B of second user and described second to first terminal and uses
The corresponding confirmation code KEY-B of instant messaging application account at family.
Step 204: first terminal sends the request for the account contact person that addition ID-B is ID-A to the network equipment 22;
The first terminal sends in request of the addition ID-B for the account contact person of ID-A to the network equipment 22 and at least wraps
Containing the corresponding confirmation code KEY-B information of ID-A, ID-B and ID-B;
Step 205: the network equipment 22 receives the addition contact person request of first terminal transmission, and confirmation first terminal is sent
Addition ID-B be ID-A account contact person request in second user instant messaging application account, and correspondence really
Whether timely communication applications account and the corresponding confirmation code for recognizing the second user pre-saved in code and the network equipment are consistent;
The network equipment 22 receives the addition contact person request of first terminal transmission, extracts ID-A, ID- in the request
B and KEY-B information;The network equipment is by identifying that the request is that the account that the first terminal request addition ID-B is ID-A joins
It is the addition contact person request of people, confirms the ID-B and KEY-B letter that add in contact person's request that the first terminal is sent
Whether breath and confirmation code corresponding to the ID-B and ID-B that pre-save in the network equipment are consistent;
If it is confirmed that it is consistent, execute step 206;
If it is confirmed that inconsistent, the network equipment is optional to send the addition unsuccessful message of contact person to first terminal, terminates.
Step 206: ID-A is added to the account contact person of ID-B by the network equipment 22;ID-B is added to the account of ID-A
Contact person;
Contact person's corresponding relationship of ID-A in the more new network device of the network equipment 22;
Contact person's corresponding relationship of ID-B in the more new network device of the network equipment 22;Optionally, the network equipment 22 to first,
Second terminal sends the addition successful message of contact person, optionally, if first terminal and second terminal locally respectively have connection
People's corresponding relationship, then the contact person of the addition successful information updating local of contact person sent according to the network equipment 22 is corresponding to close
System;
The embodiment of the present invention be when first terminal receive the first user add contact person operational order when, using comprising
Bluetooth function is opened in the original Bluetooth communication mark of Bluetooth communication mark replacement first terminal of default feature string, search
Terminal, in the Bluetooth communication mark of the second terminal for the unlatching Bluetooth function for judging to search whether include second user connection
People's information, the contact information include instant messaging application account and the corresponding confirmation code of the instant messaging application account;
When including the contact information of second user in the Bluetooth communication of second terminal mark, first terminal extracts the indigo plant of second terminal
Tooth communication identifier identifies the contact information for obtaining second user according to the Bluetooth communication;When the Bluetooth communication of second terminal
When not including the contact information of second user in mark, first terminal passes through bluetooth communication to second terminal request second
The contact information of user receives the contact information for the second user that second terminal is sent;Get the connection of second user
After people's information, first terminal sends addition contact person's request to the network equipment, includes at least institute in the addition contact person request
State the instant messaging application account ID-A of the first user, the instant messaging application account ID-B of the second user, second user
The corresponding confirmation code KEY-B of instant messaging application account;When the network equipment receives the addition contact person of first terminal transmission
When request, the instant messaging application account ID-B of the second user in the addition contact person request is confirmed, and correspond to really
Recognize the second user pre-saved in yard KEY-B and the network equipment instant messaging application account ID-B and second user i.e.
When the corresponding confirmation code of communication applications account it is whether consistent;If it is confirmed that it is consistent, ID-B and ID-A is mutually added to account connection
It is people, updates the account contact person's corresponding relationship of ID-A, ID-B in the network device, it is optional to add to the transmission of the first, second terminal
Add the successful message of contact person, the first, second terminal receives the account of update terminal side after the addition successful message of contact person
Contact person's corresponding relationship;If it is confirmed that inconsistent, optional first terminal sends the addition unsuccessful message of contact person;The present invention is real
The case where technical solution that example provides avoids input error when user adds contact person manually is applied, user is simplified and adds connection
The operating process of people, and improve the experience of user;The process of network device processing addition contact person's request is simplified simultaneously.
Embodiment two:
Second embodiment of the present invention provides a kind of terminal, it can be used for executing method described in the embodiment of the present invention one.Fig. 3 shows
The structure of terminal 300 provided by Embodiment 2 of the present invention is gone out.
The terminal can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, individual digital
Assistant), POS (Point of Sales, point-of-sale terminal), the terminal devices such as vehicle-mounted computer, taking the terminal as an example, Fig. 3 shows
Out be terminal 300 relevant to terminal provided in an embodiment of the present invention part-structure block diagram.With reference to Fig. 3, terminal 300 is wrapped
Include radio frequency unit 310, memory 320, input unit 330, display unit 340, sensor 350, voicefrequency circuit 360, WiFi
(wireless fidelity, Wireless Fidelity) module 370, bluetooth module 395, processor 380, microphone 362, loudspeaker 361
And the equal components of power supply 390.It will be understood by those skilled in the art that handset structure shown in Fig. 3 only does the act of implementation
Example, does not constitute the restriction to mobile phone, may include than illustrating more or fewer components, perhaps combine certain components or
Different component layouts.
It is specifically introduced below with reference to each component parts of the Fig. 3 to terminal 300:
Radio frequency unit 310 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
Downlink information receive after, to processor 380 handle;In addition, the data for designing uplink are sent to base station.In general, RF circuit
Including but not limited to antenna, at least one amplifier, transceiver, coupler, LNA (Low Noise Amplifier, low noise
Acoustic amplifier), duplexer etc..In addition, radio frequency unit 310 can also be logical with the network equipment and other equipment by wireless communication
Letter.Any communication standard or agreement, including but not limited to GSM (Global System of can be used in the wireless communication
Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, it is general
Be grouped wireless service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband
Code Division Multiple Access, wideband code division multiple access), (Long Term Evolution, is drilled LTE for a long time
Into), Email, SMS (Short Messaging Service, short message service) etc..In embodiments of the present invention, radio frequency
Unit 310 can be used as a kind of transceiver and be used for and network device communications.
Memory 320 can be used for store instruction and data, and memory 320 can mainly include store instruction area and storing data
Area, wherein store instruction area can instruction needed for storage program area, at least one function etc.;Described instruction can make processor
380 execute following methods, and specific method includes: the operational order for receiving the first user and adding contact person, obtain second user
Contact information, the contact information of the second user include: the instant messaging application account ID-B of second user, described
The corresponding confirmation code KEY-B of instant messaging application account of two users;In the operation life for receiving the first user addition contact person
After order, before the contact information for obtaining second user, replacement is identified using the Bluetooth communication comprising presetting feature string
The original Bluetooth communication mark of first terminal;The contact information step for obtaining second user includes: that bluetooth is opened in judgement
The second terminal of function Bluetooth communication mark in whether include second user contact information, if the bluetooth of second terminal
Include the contact information of second user in communication identifier, extracts the Bluetooth communication mark of second terminal, it is logical according to the bluetooth
Beacon knows the contact information for obtaining second user;If not including the connection of second user in the Bluetooth communication mark of second terminal
It is people's information, instruction bluetooth module communicates the contact information that second user is obtained to second terminal, receives second terminal and sends
Second user contact information;The instruction bluetooth module communicates contact person's letter that second user is obtained to second terminal
Breath, comprising: the transmission power for adjusting bluetooth, in a certain range by Bluetooth communication distance controlling;Get the connection of second user
It is after people's information, instruction radio frequency unit 310 sends the addition connection for the account contact person that addition ID-B is ID-A to the network equipment
People's request, include at least in the addition contact person request first user instant messaging application account ID-A, described the
The corresponding confirmation code KEY-B of instant messaging application account of the instant messaging application account ID-B of two users, the second user.
Memory 320 may include high-speed random access memory, can also include nonvolatile memory, for example, at least a disk
Memory device, flush memory device or other volatile solid-state parts.
Input unit 330 can be used for receiving the number or character information of input, and generate the user setting with terminal 300
And the related key signals input of function control.Specifically, input unit 330 may include touch panel 331 and other inputs
Equipment 332.Touch panel 331, also referred to as touch screen, collecting the touch operation of user on it or nearby, (for example user makes
With the operation of any suitable object or attachment such as finger, stylus on touch panel 331 or near touch panel 331), and
Corresponding attachment device is driven according to preset formula.Optionally, touch panel 331 may include touch detecting apparatus and touching
Touch two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring letter
Number, transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into
Contact coordinate, then give processor 380, and order that processor 380 is sent can be received and executed.Furthermore, it is possible to using
The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave realize touch panel 331.It is defeated in addition to touch panel 331
Entering unit 330 can also include other input equipments 332.Specifically, other input equipments 332 can include but is not limited to physics
One of keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 340 can be used for showing information input by user or the information and terminal 300 that are supplied to user
Various menus.Display unit 340 may include display panel 341, optionally, can use LCD (Liquid Crystal
Display, liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) come
Configure display panel 341.Further, touch panel 331 can cover display panel 341, when touch panel 331 is detected at it
On or near touch operation after, send processor 380 to determine the type of touch event, be followed by subsequent processing device 380 according to touching
The type for touching event provides corresponding visual output on display panel 341.Although in Fig. 3, touch panel 331 and display surface
Plate 341 is the input and input function for realizing terminal 300 as two independent components, but in certain embodiments, it can
That terminal 300 is realized so that touch panel 331 and display panel 341 is integrated outputs and inputs function.
Terminal 300 may also include the sensor 350 of at least one detection mutual crash-active of terminal room, for example accelerometer passes
Sensor, the sensor 350 can detect in all directions the size of (generally three axis) acceleration, can be used to identify between terminal
Mutual crash-active specifically, can be by collision accident when accelerometer sensor detects the mutual crash-active between terminal
The operational order for adding contact person as the first user reports processor 380 or other communication modules;Meanwhile accelerometer sensor
Can also be used to detecting terminal it is static when gravity size and direction, can be used to identify the application of mobile phone posture, (for example horizontal/vertical screen is cut
Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as terminal 300
The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared sensor, ambient light sensor and connect
Nearly sensor, details are not described herein.
Voicefrequency circuit 360, loudspeaker 361, microphone 362 can provide the audio interface between user and terminal 300.Audio
Electric signal after the audio data received conversion can be transferred to loudspeaker 361, be converted to sound by loudspeaker 361 by circuit 360
Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 362, after being received by voicefrequency circuit 360
Audio data is converted to, then by after the processing of audio data output processor 380, is sent to through radio frequency unit 310 such as another
Terminal, or audio data is exported to memory 320 to be further processed.
WiFi belongs to short range wireless transmission technology, and terminal 300 can help user's transceiver electronics by WiFi module 370
Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 3 is shown
WiFi module 370, but it is understood that, and it is not belonging to must be configured into for terminal 300, it can according to need completely
Do not change in the range of the essence of invention and omits.
Bluetooth is a kind of short-distance wireless communication technology.Using Bluetooth technology, it can effectively simplify palm PC, notes
Communication between the mobile communication terminal devices such as this computer and mobile phone also can successfully simplify the above equipment and internet
(Internet) communication between, terminal 300 become the transmission of the data between terminal 300 and internet by bluetooth module 695
Must be more efficient rapidly, to wirelessly communicate widening road.Bluetooth technology is that by the opening of voice-and-data wireless transmission
Property scheme.In embodiments of the present invention, bluetooth module 395 is used to search for the terminal for opening Bluetooth function, with unlatching Bluetooth function
Second terminal establish connection and communicate, obtain the contact information of second user.
Processor 380 is the control centre of terminal 300, utilizes each portion of various interfaces and connection whole mobile phone
Point, by running or executing the instruction being stored in memory 320 and calling is stored in data in memory 320, execute
The various functions and processing data of terminal 300, to carry out integral monitoring to mobile phone.Optionally, processor 380 may include one
Or multiple processing units;Preferably, processor 380 can integrate application processor and modem processor, wherein application processing
The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage
Solution, above-mentioned modem processor can not also be integrated into processor 380.In embodiments of the present invention, processor 380
It is also used to call the instruction in memory to realize the operational order for receiving the first user and adding contact person, obtains second user
Contact information, the contact information of the second user include: the instant messaging application account ID-B of second user, described
The corresponding confirmation code KEY-B of instant messaging application account of two users;In the operation life for receiving the first user addition contact person
After order, before the contact information for obtaining second user, replacement is identified using the Bluetooth communication comprising presetting feature string
The original Bluetooth communication mark of first terminal;The contact information step for obtaining second user includes: that bluetooth is opened in judgement
The second terminal of function Bluetooth communication mark in whether include second user contact information, if the bluetooth of second terminal
Include the contact information of second user in communication identifier, extracts the Bluetooth communication mark of second terminal, it is logical according to the bluetooth
Beacon knows the contact information for obtaining second user;If not including the connection of second user in the Bluetooth communication mark of second terminal
It is people's information, instruction bluetooth module communicates the contact information that second user is obtained to second terminal, receives second terminal and sends
Second user contact information;The instruction bluetooth module communicates contact person's letter that second user is obtained to second terminal
Breath, comprising: the transmission power for adjusting bluetooth, in a certain range by Bluetooth communication distance controlling;Get the connection of second user
It is after people's information, instruction radio frequency unit 310 sends the addition connection for the account contact person that addition ID-B is ID-A to the network equipment
People's request, include at least in the addition contact person request first user instant messaging application account ID-A, described the
The corresponding confirmation code KEY-B of instant messaging application account of the instant messaging application account ID-B of two users, the second user.
Terminal 300 further includes the power supply 390 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity
Management system and processor 380 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system
The functions such as management.
Although being not shown, terminal 300 can also include camera, flash lamp etc., and details are not described herein.
Embodiment three:
The embodiment of the invention provides a kind of devices for adding contact person, and referring to fig. 4, described device includes:
Receiving module 401 adds the operational order of contact person for receiving the first user, can be reception and needs to add connection
It is the module of the mutual crash-active between the terminal of people, is also possible to receive the manually opened addition contact person's operational order of user
Module;
Module 402 is obtained, for obtaining the contact information of second user;
The contact information of the second user includes the instant messaging application account and the second user of second user
The corresponding confirmation code of instant messaging application account;
Wherein, in a specific embodiment, the acquisition module 402, comprising:
First indicating unit 4021 is used to indicate the terminal that Bluetooth function is opened in bluetooth module search;
Judging unit 4022, for judge second terminal Bluetooth communication identify in whether include second user contact person
Information;
Extraction unit 4023, for when the contact information in the Bluetooth communication of second terminal mark including second user
When, extract the Bluetooth communication mark of second terminal;
Acquiring unit 4024 obtains the contact person of second user for the Bluetooth communication mark according to the second terminal of extraction
Information;
Wherein, in a specific embodiment, the acquisition module 402, further includes:
Second indicating unit 4025, for as the contact person for not including second user in the Bluetooth communication of second terminal mark
When information, the contact information of the bluetooth module connecting communication acquisition second user of bluetooth module and second terminal is indicated;
Adjustment unit 4026, for passing through connection of the bluetooth communication to second terminal request second user when first terminal
When being people's information, the transmission power of first terminal bluetooth is adjusted, in a certain range by Bluetooth communication distance controlling;
Sending module 403, for sending addition contact person's request to the network equipment 22;
Included at least in the addition contact person request first user instant messaging application account ID-A, described the
The corresponding confirmation code KEY-B of instant messaging application account of the instant messaging application account ID-B of two users, the second user;
Contact module 404 is added, for inciting somebody to action after the addition contact person for receiving network equipment transmission successful message
ID-B and ID-A is mutually added to account contact person;
Wherein, in a specific embodiment, the addition contact module 404, comprising:
Update module 4041, for after receiving the addition contact person successful message of network equipment transmission, more new terminal
Contact person's corresponding relationship of the instant messaging application account of side.
Wherein, in a specific embodiment, described device further include:
Replacement module 4011, for when the receiving module receive the first user add contact person operational order it
Afterwards, before the contact information for obtaining second user, the Bluetooth communication mark replacement first comprising presetting feature string is used
The original Bluetooth communication mark of terminal.
Example IV:
The embodiment of the invention provides a kind of network equipment, it can be used for executing method described in the embodiment of the present invention one.
Fig. 5 shows the structure chart of the relevant part-structure of the network equipment provided in an embodiment of the present invention.Those skilled in the art can be with
Understand, the network equipment infrastructure shown in Fig. 5 only does the citing of implementation, do not constitute the restriction to the network equipment, can wrap
It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.Below with reference to Fig. 5 to net
Each component parts of network equipment is specifically introduced:
The network equipment includes: transceiver 502, memory 503, processor 504;
Transceiver 502 can be used for receiving the addition contact person request of terminal transmission, can be used for receiving terminal transmission
Update instant messaging application account confirmation code message.It can be used for working as and confirm that the addition ID-B of first terminal transmission is
The instant messaging application account and corresponding confirmation code and the network equipment of second user in the account contact person request of ID-A
In pre-save second user timely communication applications account and consistent corresponding confirmation code when, to the first, second terminal
Send the addition successful message of contact person;It is also used for adding the account contact person that ID-B is ID-A when what confirmation first terminal was sent
Second pre-saved in the instant messaging application account and corresponding confirmation code and the network equipment of second user in request
When the timely communication applications account and inconsistent corresponding confirmation code of user, it is unsuccessful that addition contact person is sent to first terminal
Message;
Memory 503 can be used for storage program area program and application program, can also store instant messaging application account,
Contact person's corresponding relationship of the corresponding confirmation code of instant messaging application account and the instant messaging application account;Storage
Device 503 may include read-only memory and random access memory;It, can be by being solidificated in read-only deposit when needing operational network equipment
Basic input output system (Basic Input Output System, BIOS) guidance system in reservoir is started, guidance
The network equipment enters normal operating condition.After the network equipment enters normal operating condition, runs the application program and to locate
It manages device 504 and executes following methods, specific method includes: to receive the account contact person that the addition ID-B of first terminal transmission is ID-A
Request, include at least in addition contact person's request that the first terminal is sent the first user instant messaging application account,
The corresponding confirmation code of instant messaging application account of the timely communication applications account and the second user of second user;It extracts
The instant messaging application account of the first user in the addition contact person request, the instant messaging application account of second user with
And the corresponding confirmation code of instant messaging application account of the second user;, confirm second in the addition contact person request
The timely of the second user pre-saved in the instant messaging application account and corresponding confirmation code and the network equipment of user is led to
Whether news are consistent using account and corresponding confirmation code;If it is confirmed that it is consistent, by the instant messaging application account of the first user
ID-A, second user instant messaging application account ID-B be mutually added to contact person, update ID-A, ID-B in memory 503
In account contact person's corresponding relationship;It is optional to send the addition successful message of contact person to the first, second terminal;If it is confirmed that not
Unanimously, the addition unsuccessful message of contact person is sent to first terminal;It can also be used for sending more when receiver receives terminal
When the message of the confirmation code of new instant messaging application account, the confirmation code of instant messaging application account in device 503 is updated storage;
Processor 504 is used to receive the request for the account contact person that the addition ID-B of first terminal transmission is ID-A, described
Included at least in addition contact person's request that first terminal is sent the instant messaging application account of the first user, second user and
When communication applications account and the second user the corresponding confirmation code of instant messaging application account;Extract the addition connection
The instant messaging application account of the first user in people's request, the instant messaging application account of second user and second use
The corresponding confirmation code of instant messaging application account at family;Confirm the instant messaging of the second user in the addition contact person request
Using the second user pre-saved in account and corresponding confirmation code and the network equipment timely communication applications account and
Whether corresponding confirmation code is consistent;If it is confirmed that consistent, by the instant messaging application account ID-A of the first user, second user
Instant messaging application account ID-B is mutually added to contact person, updates the account contact person couple of ID-A, ID-B in memory 503
It should be related to;It is optional to send the addition successful message of contact person to the first, second terminal;If it is confirmed that it is inconsistent, to first terminal
Send the addition unsuccessful message of contact person;It can also be used for receiving the update instant messaging application account of terminal transmission when receiver
When the message of the confirmation code at family, the confirmation code of instant messaging application account in device 503 is updated storage;
Although being not shown, the network equipment can also be including power supply etc., and details are not described herein.
Embodiment five:
The embodiment of the invention provides a kind of devices, and referring to Fig. 6, described device includes:
Receiving module 601, for receiving the addition contact person request of first terminal transmission;
Included at least in addition contact person's request that the first terminal is sent the first user instant messaging application account,
The corresponding confirmation code of instant messaging application account of the timely communication applications account and the second user of second user;
Wherein, in a specific embodiment, the receiving module 601, further includes:
Extraction module 6011, for receiving the instant of the addition second user that first terminal is sent when the receiving module
Communication applications account ID-B is the addition contact person request of the account contact person of the instant messaging application account ID-A of the first user
When, extract the instant messaging application account ID-A of the first user in the addition contact person request, the Instant Messenger of second user
News are using account ID-B, the corresponding confirmation code KEY-B of instant messaging application account ID-B of second user;
Confirmation module 602, the Instant Messenger for adding the second user in contact person's request sent for confirming first terminal
News are using the instant messaging application account pre-saved in account ID-B and corresponding confirmation code KEY-B and the network equipment
Whether ID-B and corresponding confirmation code are consistent;
Contact module 603 is added, for confirming the second user in the addition contact person request when confirmation module
The timely communication applications of the second user pre-saved in instant messaging application account and corresponding confirmation code and the network equipment
When account and consistent corresponding confirmation code, the instant messaging of instant messaging the application account, second user of the first user is answered
Account contact person is mutually added to account;
Second indicating module 604, for when confirmation module confirm it is described addition contact person request in second user i.e.
When communication applications account and corresponding confirmation code and the network equipment in the timely communication applications account of second user that pre-saves
When family and inconsistent corresponding confirmation code, instruction transceiver 502 sends the addition unsuccessful message of contact person to first terminal;
Second update module 605, for receiving the update instant messaging application account that terminal is sent when transceiver 502
When the message of confirmation code, the confirmation code of the instant messaging application account saved in more new network device.
Wherein, in a specific embodiment, the addition contact module can also include:
First update module 6031, for when confirmation module confirm it is described addition contact person request in second user i.e.
When communication applications account and corresponding confirmation code and the network equipment in the timely communication applications account of second user that pre-saves
When family and consistent corresponding confirmation code, the timely communication applications account ID-A of the first user is updated, the timely of second user is led to
News apply the account contact person's corresponding relationship of account ID-B in the network device;
First indicating module 6032, for when confirmation module confirm it is described addition contact person request in second user i.e.
When communication applications account and corresponding confirmation code and the network equipment in the timely communication applications account of second user that pre-saves
When family and consistent corresponding confirmation code, instruction transceiver 502 sends addition contact person to the first, second terminal and successfully disappears
Breath;
The embodiment of the present invention be when first terminal receive the first user add contact person operational order when, using comprising
Bluetooth function is opened in the original Bluetooth communication mark of Bluetooth communication mark replacement first terminal of default feature string, search
Terminal, in the Bluetooth communication mark of the second terminal for the unlatching Bluetooth function for judging to search whether include second user connection
People's information, the contact information include instant messaging application account and the corresponding confirmation code of the instant messaging application account;
When including the contact information of second user in the Bluetooth communication of second terminal mark, first terminal extracts the indigo plant of second terminal
Tooth communication identifier identifies the contact information for obtaining second user according to the Bluetooth communication;When the Bluetooth communication of second terminal
When not including the contact information of second user in mark, first terminal is connect with second terminal by bluetooth and communicates acquisition the
The contact information of two users;After getting the contact information of second user, first terminal sends addition connection to the network equipment
It is people's request, the instant messaging application account ID-A of the first user, second user is included at least in the addition contact person request
Instant messaging application account ID-B, the corresponding confirmation code KEY-B of instant messaging application account of second user;Work as the network equipment
When receiving the addition contact person request of first terminal transmission, the instant of the second user in the addition contact person request is confirmed
The timely communication applications account of the second user pre-saved in communication applications account and corresponding confirmation code and the network equipment
And whether corresponding confirmation code is consistent;If it is confirmed that it is consistent, ID-B and ID-A is mutually added to account contact person, is updated
It is successful to send addition contact person to the first, second terminal for the account contact person's corresponding relationship of ID-A, ID-B in the network device
Message, the first, second terminal receive account contact person's corresponding relationship of update terminal side after message;If it is confirmed that it is inconsistent,
The addition unsuccessful message of contact person is sent to first terminal;It is manual that technical solution provided in an embodiment of the present invention avoids user
When adding contact person the case where input error, simplifies user and add the operating process of contact person, and improve the experience of user;
The process of network device processing addition contact person's request is simplified simultaneously.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
Above-described specific embodiment has carried out further in detail the purpose of the present invention, technical solution beneficial effect
Describe in detail it is bright, it should be understood that different embodiments can be combined, described above and then a specific embodiment of the invention
, it is not intended to limit the scope of protection of the present invention, all within the spirits and principles of the present invention, any combination for being done,
Modification, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (5)
1. a kind of method for adding contact person, which is characterized in that the described method includes:
First terminal receives the operational order that the first user adds contact person, obtains the contact information of second user;
The contact information of the second user include second user instant messaging application account and the second user i.e.
When the corresponding confirmation code of communication applications account;
First terminal sends addition contact person's request to the network equipment;
The instant messaging application account of first user, the second user are included at least in the addition contact person request
Instant messaging application account, the corresponding confirmation code of instant messaging application account of the second user;
The instant messaging application of first user operates on the first terminal, the instant messaging application of the second user
It operates in second terminal;
The contact information for obtaining second user, comprising: the transmission power of the first terminal adjustment first terminal bluetooth,
Within a preset range by Bluetooth communication distance controlling, by bluetooth communication to the contact person of second terminal request second user
Information receives the contact information for the second user that second terminal is sent.
2. the method according to claim 1, wherein the first terminal, which receives the first user, adds contact person
Operational order be first terminal detect the crash-active with second terminal.
3. the method according to claim 1, wherein the first terminal, which receives the first user, adds contact person
Operational order after, before the contact information for obtaining second user, the method also includes: first terminal use is comprising pre-
If the original Bluetooth communication mark of Bluetooth communication mark replacement first terminal of feature string.
4. a kind of device for adding contact person, which is characterized in that described device includes:
Receiving module adds the operational order of contact person for receiving the first user;
Module is obtained, for obtaining the contact information of second user;
The contact information of the second user include second user instant messaging application account and the second user i.e.
When the corresponding confirmation code of communication applications account;
Sending module, for sending addition contact person's request to the network equipment;
The instant messaging application account of first user, the second user are included at least in the addition contact person request
Instant messaging application account, the corresponding confirmation code of instant messaging application account of the second user;
The instant messaging application of first user operates on first terminal, the instant messaging application operation of the second user
In second terminal;
Adjustment unit, for passing through contact information of the bluetooth communication to second terminal request second user when first terminal
When, the transmission power of first terminal bluetooth is adjusted, within a preset range by Bluetooth communication distance controlling.
5. device according to claim 4, which is characterized in that described device further include:
Replacement module: for obtaining the after the receiving module receives the first user and adds the operational order of contact person
It is original using the Bluetooth communication mark replacement first terminal comprising presetting feature string before the contact information of two users
Bluetooth communication mark.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510379197.9A CN106331301B (en) | 2015-06-30 | 2015-06-30 | A kind of method and apparatus adding contact person |
PCT/CN2015/095800 WO2017000496A1 (en) | 2015-06-30 | 2015-11-27 | Method and device for adding contact |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510379197.9A CN106331301B (en) | 2015-06-30 | 2015-06-30 | A kind of method and apparatus adding contact person |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106331301A CN106331301A (en) | 2017-01-11 |
CN106331301B true CN106331301B (en) | 2019-08-27 |
Family
ID=57607613
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510379197.9A Active CN106331301B (en) | 2015-06-30 | 2015-06-30 | A kind of method and apparatus adding contact person |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106331301B (en) |
WO (1) | WO2017000496A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108055655A (en) * | 2017-12-12 | 2018-05-18 | 广东小天才科技有限公司 | Method, device and equipment for adding friend to voice equipment and storage medium |
CN112738738B (en) * | 2020-12-30 | 2022-05-31 | 南方科技大学 | Friend adding method, device, equipment and storage medium |
CN114301871B (en) * | 2022-01-05 | 2023-08-15 | 土巴兔集团股份有限公司 | Method for adding communication object and related device |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8024431B2 (en) * | 2007-12-21 | 2011-09-20 | Domingo Enterprises, Llc | System and method for identifying transient friends |
CN102238491A (en) * | 2010-04-21 | 2011-11-09 | 卢业力 | Mobile friends-making system and method |
CN103024688A (en) * | 2011-09-22 | 2013-04-03 | 北京神州泰岳软件股份有限公司 | Method and system for adding good friends in instant messaging platform |
CN103108326A (en) * | 2011-11-10 | 2013-05-15 | 腾讯科技(深圳)有限公司 | Session relationship establishing method and device and system |
CN103516581B (en) * | 2012-06-28 | 2016-09-28 | 北京奇虎科技有限公司 | Add the method and device of instant messaging good friend |
CN103841253B (en) * | 2012-11-22 | 2017-10-27 | 腾讯科技(深圳)有限公司 | A kind of method and terminal for adding contact person |
TWI475819B (en) * | 2013-02-01 | 2015-03-01 | 寶貝安科技股份有限公司 | A pairing method for bluetooth devices, a bluetooth system applying the method, a bluetooth client applying the method and a bluetooth server applying the method |
CN104333643B (en) * | 2013-07-22 | 2016-07-06 | 腾讯科技(深圳)有限公司 | Add the method for contact person, system and terminal |
CN103634308A (en) * | 2013-11-19 | 2014-03-12 | 北京奇虎科技有限公司 | Safety detection method and device for instant messaging tool |
CN104202729B (en) * | 2014-08-30 | 2016-10-26 | 腾讯科技(深圳)有限公司 | The adding method of a kind of contact person, Apparatus and system |
-
2015
- 2015-06-30 CN CN201510379197.9A patent/CN106331301B/en active Active
- 2015-11-27 WO PCT/CN2015/095800 patent/WO2017000496A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2017000496A1 (en) | 2017-01-05 |
CN106331301A (en) | 2017-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105915527B (en) | It is a kind of to control the method and apparatus of mobile terminal, mobile terminal | |
CN106791892A (en) | It is a kind of to take turns the live methods, devices and systems of wheat | |
CN103489303B (en) | A kind of remote control thereof and device | |
CN106331370B (en) | A kind of data transmission method and terminal device | |
CN104284001B (en) | The incoming information display methods and device of terminal | |
CN106507482B (en) | A kind of network locating method and terminal device | |
CN106302938B (en) | Communication event processing method and device | |
CN107592615B (en) | Positioning method and device | |
CN109937583A (en) | The method and terminal of data sharing | |
CN106775323A (en) | Method, device and the mobile communication terminal of application program have been adjusted in communication process | |
CN106445596B (en) | Method and device for managing setting items | |
CN105808043B (en) | A kind of setting method and mobile terminal of terminal applies | |
CN106454976B (en) | A kind of switching method of wireless network, device and terminal | |
CN105933209B (en) | Position sharing method and device | |
CN108834132A (en) | A kind of data transmission method and equipment and related media production | |
CN106331302B (en) | A kind of method and apparatus adding contact person | |
CN107889112B (en) | A kind of recognition methods of pseudo-base station and mobile terminal | |
CN106331301B (en) | A kind of method and apparatus adding contact person | |
CN105553718B (en) | Guidance information display methods and device | |
CN106506296A (en) | A kind of control method of smart machine and control system | |
CN109189397A (en) | The method, apparatus of mobile terminal and intelligent display hiden application | |
CN106603650B (en) | Method for sharing position information and terminal equipment | |
CN109309659A (en) | Mobile terminal and its method and apparatus for logging in application | |
CN107566366A (en) | Selection obtains method, terminal and the system of configuration information | |
CN108989536A (en) | A kind of user terminal locking means, device and user terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province Applicant after: Huawei Device Co., Ltd. Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province Applicant before: HUAWEI terminal (Dongguan) Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |