CN106331302A - Method and equipment for adding contact - Google Patents
Method and equipment for adding contact Download PDFInfo
- Publication number
- CN106331302A CN106331302A CN201510379254.3A CN201510379254A CN106331302A CN 106331302 A CN106331302 A CN 106331302A CN 201510379254 A CN201510379254 A CN 201510379254A CN 106331302 A CN106331302 A CN 106331302A
- Authority
- CN
- China
- Prior art keywords
- terminal
- user
- account
- instant messaging
- contact person
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 230000006854 communication Effects 0.000 claims abstract description 80
- 238000004891 communication Methods 0.000 claims abstract description 79
- 230000005540 biological transmission Effects 0.000 claims description 18
- 239000000284 extract Substances 0.000 claims description 9
- 241001062009 Indigofera Species 0.000 claims description 5
- 238000000605 extraction Methods 0.000 claims description 3
- 230000008569 process Effects 0.000 abstract description 28
- 238000012545 processing Methods 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 18
- 238000001514 detection method Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 5
- 230000004044 response Effects 0.000 description 5
- 238000013459 approach Methods 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 240000007711 Peperomia pellucida Species 0.000 description 1
- 235000012364 Peperomia pellucida Nutrition 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 210000004556 brain Anatomy 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
- 238000000151 deposition Methods 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
- 230000007774 longterm Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000009527 percussion Methods 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
-
- H04B5/48—
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
-
- 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/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
Abstract
The embodiment of the invention discloses a method and a device for adding a contact. The method for adding the contact is applied to the field of wireless communication. The method comprises the following steps that: a first terminal acquires equipment identification information of a second terminal when a contact adding operation command of a first user is received; the first terminal sends a request of adding a second user to serve as a contact of the first user to the network equipment; the network equipment judges whether a request of adding the first user to serve as a contact of the second user sent by the second terminal is received or not before ending of preset time when the request sent by the first terminal is received; if so, the contact is added successfully; otherwise, the network equipment eliminates the request of adding the second user to serve as the contact of the first user sent by the first terminal. Through adoption of the method and the device, the situation of input errors caused by manual adding of the contact by the users is avoided; an operation process of adding the contact is simplified for the users; the user experience is improved; and meanwhile, the processing flow of the contact adding request of the network equipment is simplified.
Description
Technical field
The present embodiments relate to technical field of mobile terminals, particularly to a kind of method adding contact person and
Equipment.
Background technology
Development along with mobile terminal so that the communication of people is more and more convenient.By use in terminal i.e.
Time bitcom, can mutually send word, speech message between user, or carry out voice, video in real time
Communication.The premise that user uses this kind of MSN to carry out being in communication with each other is to add associated person information to certainly
In contact person's corresponding relation of body.Rubbish broadcast message is avoided to spread unchecked with this.
After the method for prior art interpolation contact person is generally the function that user selects to add contact person, Yi Zhongfang
Formula is that user is manually entered the pattern of associated person information and is then added;Another way is for take the photograph by terminal
As the mode of head shooting Quick Response Code, in interpolation contact person to the contact person's corresponding relation of self, wherein Quick Response Code
In save associated person information.
Prior art adds the flow process of contact person, such as Fig. 1:
First terminal is the equipment that first user uses;Second terminal is the equipment that the second user uses;
ID-A is the instant messaging application account of first user, operates in first terminal;ID-B is the second user
Instant messaging application account, operate in the second terminal;
Step 101: first terminal receives the order adding associated person information that first user is initiated;
Step 102: first terminal receives first user and inputs instant messaging application account ID-B of the second user;
Input mode can be to be manually entered, it is also possible to by shooting the instant messaging application account of the second user
Quick Response Code;
Step 103: first terminal sends the request adding the account contact person that ID-B is ID-A to the network equipment;
Step 104: the network equipment receives the account contact person that interpolation ID-B is ID-A that first terminal sends
After request, send the request to the second terminal;
Step 105: the second terminal receives described request, points out the second user to be confirmed whether to agree to, and will confirm that
Result is sent to the network equipment;
Step 106: the network equipment judges that the interpolation ID-B whether the second user agrees to that first user sends is
The request of the account contact person of ID-A;
When the second user agrees to the request of account contact person that interpolation ID-B is ID-A that first user sends,
ID-B and ID-A is mutually added to account contact person by the network equipment, and sends out to first terminal, the second terminal
Send the message successfully adding contact person;
When the second user disagrees the request of the account contact person that interpolation ID-B is ID-A that first user sends
Time, the network equipment is optional to be sent add contact person's failure to first terminal, the second terminal;
Step 107: ID-B and ID-A is mutually added to account contact person by the network equipment.
During realizing the present invention, inventor finds that prior art at least there is problems in that
Terminal receives user and is manually entered associated person information or obtains associated person information by shooting Quick Response Code
Mode, easily causes input operation mistake and not convenient problem, and the operating process of shooting Quick Response Code is numerous
Trivial, additionally do not have the terminal of photographic head then cannot use.Meanwhile, the network equipment receives first terminal transmission
The request of account contact person that interpolation ID-B is ID-A after, need to send the request to the second terminal,
Wait and receive the confirmation result of the second terminal, according to described in the confirmation result treatment that the second terminal sends first
The request of the account contact person that interpolation ID-B is ID-A that terminal sends, and result is sent to first
Terminal, the second terminal;The network equipment need repeatedly with terminal interaction information, process add contact person request
Flow process is numerous and diverse.
Summary of the invention
In order to solve in prior art manually to add the mode of contact person easily cause user's input operation mistake,
The problem that not convenient and network device processing interpolation contact person's request flow process is numerous and diverse, embodiments of the invention
Adopt the following technical scheme that
First aspect, embodiments of the invention provide a kind of method adding contact person, and described method includes:
First terminal receives first user corresponding to first terminal and adds the operational order of contact person, obtains the
The device identifying information of two terminals;
The instant messaging application account that first terminal sends interpolation the second user to the network equipment is first user
The request of the account contact person of instant messaging application account;
The instant messaging application of described first user operates on described first terminal, and described second user is
Time communication applications operate in described second terminal;
The instant messaging application account that described first terminal sends interpolation the second user to the network equipment is the first use
Including at least the IMU of described first user in the request of the account contact person of the instant messaging application account at family
News application account, the device identifying information of described first terminal, the device identifying information of described second terminal.
In conjunction with first aspect, in the first possible implementation of first aspect, described acquisition second is eventually
The device identifying information of end, including: first terminal passes through bluetooth, and infrared or NFC short distance communication mode obtains
Take the device identifying information of the second terminal.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, described acquisition second is eventually
The device identifying information of end, judges whether to comprise in the Bluetooth communication mark of the second terminal the including: first terminal
The device identifying information of two terminals, the equipment comprising the second terminal in the Bluetooth communication of the second terminal identifies is known
During other information, extract the Bluetooth communication mark of the second terminal, according to the Bluetooth communication of the second terminal extracted
Mark obtains the device identifying information of the second terminal.
In conjunction with the implementation that the second of first aspect is possible, in the third possible realization of first aspect
In mode, the device identifying information of described acquisition the second terminal farther includes: when the bluetooth of the second terminal is led to
Beacon does not comprise the device identifying information of the second terminal in knowing time, first terminal is by bluetooth communication to second eventually
The device identifying information of end acquisition request the second terminal, the equipment receiving the second terminal that the second terminal sends is known
Other information.
In conjunction with first aspect and first, second and third kind of possible implementation of first aspect, in first party
In the 4th kind of possible implementation in face, the device identifying information of described terminal is specially capable of identify that terminal
The unique information of identity.
Second aspect, The embodiment provides a kind of method adding contact person, and described method includes:
It is first that the network equipment receives the instant messaging application account of interpolation the second user that first terminal sends
The request of the account contact person of the instant messaging application account of user;
Judge before Preset Time terminates, whether receive the instant messaging adding first user that the second terminal sends
Application account is the request of the account contact person of the instant messaging application account of the second user;Described first user
Instant messaging application operate on described first terminal, the instant messaging of described second user application operates in
In described second terminal;
When the network equipment receives the IMU adding first user that the second terminal sends before Preset Time terminates
When news application account is the request of the account contact person of the instant messaging application account of the second user, use first
The instant messaging application account at family, the instant messaging application account of the second user are mutually added to account contact person.
In conjunction with second aspect, in the first possible implementation of second aspect, described first terminal is sent out
The account of the instant messaging application account that instant messaging application account is first user of interpolation the second user sent
Including at least the instant messaging application account of described first user, described first terminal in the request of contact person
Device identifying information, the device identifying information of described second terminal;
The most described network equipment judges whether receive the interpolation first that the second terminal sends before Preset Time terminates
The account contact person's of the instant messaging application account that instant messaging application account is the second user of user please
Ask, particularly as follows: the network equipment judges that whether receiving one before Preset Time terminates includes setting of first terminal
For identification information, the interpolation account contact person request of the device identifying information of the second terminal.
In conjunction with the first possible implementation of second aspect and second aspect, in the second of second aspect
Planting in possible implementation, the device identifying information of described terminal is specially capable of identify that the identity of terminal only
The information of one.
In conjunction with second aspect, in the third possible implementation of second aspect, described by first user
Instant messaging application account, the instant messaging application account of the second user be mutually added to account contact person bag
Include:, update the instant messaging application account of described first, second user account contact person in the network device
Corresponding relation.
In conjunction with second aspect, in the 4th kind of possible implementation of second aspect, described method is further
Including: when the network equipment does not receive the interpolation described that described second terminal sends before Preset Time terminates
The account contact person of the instant messaging application account that instant messaging application account is described second user of one user
Request time, eliminating the instant messaging application account of interpolation the second user that described first terminal sends is first
The request of the account contact person of the instant messaging application account of user.
The third aspect, embodiments of the invention provide a kind of device adding contact person, and described device includes:
Receiver module, adds the operational order of contact person for receiving first user corresponding to first terminal;
Acquisition module, for obtaining the device identifying information of the second terminal;
Sending module, is first for sending the instant messaging application account adding the second user to the network equipment
The request of the account contact person of the instant messaging application account of user;The instant messaging application of described first user
Operating on described first terminal, the instant messaging application of described second user operates in described second terminal;
Including at least the instant messaging application account of described first user, the equipment of described first terminal in described request
Identification information, the device identifying information of described second terminal.
In conjunction with the third aspect, in the first possible implementation of the third aspect, described acquisition module,
Including:
Whether judging unit, comprise the equipment of the second terminal in the Bluetooth communication mark judge the second terminal
Identification information;
Extraction unit, for when the equipment identification letter comprising the second terminal in the Bluetooth communication of the second terminal mark
During breath, extract the Bluetooth communication mark of the second terminal;
Acquiring unit, obtains the equipment of the second terminal for the Bluetooth communication mark according to the second terminal extracted
Identification information.
In conjunction with the third aspect, in the implementation that the second of the third aspect is possible, described acquisition module is used
In being obtained the device identifying information of the second terminal to the second terminal request by bluetooth communication, receive the second terminal
The device identifying information of the second terminal sent.
Fourth aspect, embodiments of the invention provide a kind of device adding contact person, and described device includes:
Receiver module, for receiving the instant messaging application account of interpolation the second user that first terminal sends be
The request of the account contact person of the instant messaging application account of first user;
The instant messaging application of described first user operates on described first terminal, and described second user is
Time communication applications operate in the second terminal;
Judge module, for judging whether to receive the interpolation by the second terminal transmission the before Preset Time terminates
The account contact person's of the instant messaging application account that instant messaging application account is the second user of one user please
Ask;
Add contact module, for when receiving before Preset Time terminates by adding that described second terminal sends
Add the account contact person of the instant messaging application account that instant messaging application account is the second user of first user
Request time, by the instant messaging application account of first user, the instant messaging application account phase of the second user
It is added to account contact person mutually.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, described interpolation contact person
Module, including:
More new module, for updating the instant messaging application account of described first, second user at the network equipment
In account contact person's corresponding relation.
In conjunction with fourth aspect, in the implementation that the second of fourth aspect is possible, described device also includes:
Remove module, for not receiving the interpolation the sent by described second terminal before Preset Time terminates
The account contact person's of the instant messaging application account that instant messaging application account is the second user of one user please
When asking, the instant messaging application account eliminating interpolation the second user that described first terminal sends is first user
The request of account contact person of instant messaging application account.
In conjunction with fourth aspect, in the third possible implementation of fourth aspect, described interpolation second is used
In the request of the account contact person of the instant messaging application account that instant messaging application account is first user at family
Including at least the instant messaging application account of described first user, the device identifying information of described first terminal,
The device identifying information of described second terminal;Described judge module is specifically for judging before Preset Time terminates
Whether receive a device identifying information interpolation account including the device identifying information of first terminal, the second terminal
Family contact person asks.
Method and apparatus in the embodiment of the present invention discloses first terminal and obtains by short distance communication mode
The device identifying information ID-B-Device of two terminals, sends the instant messaging adding the second user to the network equipment
Application account is the request of the account contact person of the instant messaging application account of first user, when the network equipment connects
After receiving the interpolation contact person request that first terminal sends, it is judged that whether receive before Preset Time terminates by the
The instant messaging application account that instant messaging application account is the second user adding first user that two terminals send
The request of the account contact person at family, when the network equipment receives by the second terminal transmission before Preset Time terminates
Add the account contact of the instant messaging application account that instant messaging application account is the second user of first user
The request of people, adds contact person.The technical scheme that the embodiment of the present invention provides avoids user and manually adds connection
The situation of input error when being people, simplifies user and adds the operating process of contact person, and improve user's
Experience;Simplify network device processing simultaneously and add the flow process of contact person's request.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, required in embodiment being described below
Accompanying drawing to be used is briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention's
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work,
Other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart that prior art adds the method for contact person;
Fig. 2 is the flow chart of the embodiment of the present invention one;
Fig. 3 is the structure chart of the embodiment of the present invention two;
Fig. 4 is the structure chart of the embodiment of the present invention three;
Fig. 5 is the structure chart of the embodiment of the present invention four;
Fig. 6 is the structure chart of the embodiment of the present invention five;
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, it is fully described by, it is clear that described embodiment is only a part of embodiment of the present invention, and not
It it is whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making wound
The every other embodiment obtained under the property made work premise, broadly falls into the scope of protection of the invention.
It should be noted that in the embodiment of the present invention:
First terminal is the equipment that first user uses;Second terminal is the equipment that the second user uses;
ID-A-Device is the device identifying information of first terminal;ID-B-Device is the equipment of the second terminal
Identification information;
ID-A is the instant messaging application account of first user, operates in first terminal;ID-B is the second user
Instant messaging application account, operate in the second terminal.
The contact person's correspondence depositing instant messaging application account and instant messaging application account in the network equipment is closed
System;
The process adding contact person of the embodiment of the present invention, adding ID-B for first user is the account of ID-A
The process of contact person, it is also possible to be the second user process of adding the account contact person that ID-A is ID-B.Add
The mode of contact person can also be the process mutually added between colony, is not merely defined to man-to-man adding
Add mode, it is also possible to simultaneously add the mistake that multiple user's instant messaging application account is account contact person for user
Journey, and multiple user adds the process that multiple user's instant messaging application account is account contact person.
Embodiment one:
Embodiments provide a kind of method adding contact person, see Fig. 2.
It should be noted that terminal can pass through bluetooth, infrared, near-field communication (Near Field
Communication, NFC) etc. communication modes obtain, add associated person information;For ease of describing, the present invention
Embodiment illustrates that as a example by terminal is passed through bluetooth approach acquisition, added associated person information terminal obtains, interpolation joins
It it is the process of people's information;
Method flow includes:
Step 201: first terminal receives first user and adds the operational order of contact person;
The described operational order adding contact person can be the mutual crash-active between terminal, it is also possible to be to use
The execution order of contact person is added in family manual operation.
When the described operational order adding contact person is the mutual crash-active between terminal, terminal is by touching
Hitting the mutual crash-active between detection module detection terminal, described collision detection module can be that accelerometer passes
Sensor;
Step 202: first terminal obtains the device identifying information of the second terminal;
First terminal, after the operational order receiving first user interpolation contact person, passes through short distance with the second terminal
Setting up from communication modes and connect, described short distance communication mode can be bluetooth, infrared, near-field communication (Near
Field Communication, NFC) etc., first terminal obtains second eventually by described short distance communication mode
The device identifying information of end;For ease of describing, with bluetooth approach, the embodiment of the present invention illustrates that first terminal obtains
The process of the device identifying information of the second terminal:
The device identifying information of described terminal is the unique information of identity being capable of identify that terminal, such as: IMSI,
IMEI, MAC Address etc.;
Step 202 specifically can include step 2021-2024:
Step 2021: the terminal of Bluetooth function is opened in first terminal search;
When first terminal receives the operational order that first user adds contact person, if the indigo plant of first terminal
Tooth function is to close, then after opening Bluetooth function, the terminal of Bluetooth function is opened in search;If first terminal
Bluetooth function be on, then the terminal of Bluetooth function is opened in first terminal direct search;
Described unlatching Bluetooth function, can work as the phase that the collision detection module of first terminal detects between terminal
During crash-active, Bluetooth function automatically turns on mutually;The manually opened Bluetooth function of user can also be passed through, described in touch
Hitting detection module can be accelerometer sensor;
Step 2022: first terminal judges whether the Bluetooth communication of the second terminal comprises the second terminal in identifying
Device identifying information;If the Bluetooth communication mark of the second terminal comprises the device identifying information of the second terminal,
Perform step 2023;If the Bluetooth communication mark of the second terminal does not comprise the equipment identification letter of the second terminal
Breath, performs step 2024;
The Bluetooth communication mark of the second terminal can be previously provided with the device identifying information of the second terminal, this
Individual can automatically be arranged after being collided by the second terminal, manually can be arranged by user.First terminal is sentenced
Whether the Bluetooth communication mark of disconnected second terminal comprises the device identification of the second terminal, can by first eventually
End detects whether have specific character string in the Bluetooth communication of the second terminal identifies, such as addfriend, if
There is described characteristic character string, N position (N is the integer more than or equal to 1) after the most described specific character string
The device identifying information for the second terminal.First terminal is follow-up, extracts the Bluetooth communication mark of the second terminal,
Obtain after described specific character string N position as the device identifying information of the second terminal;
Optionally, when the device identifying information of described terminal is Bluetooth MAC address, first terminal is by indigo plant
Automatically the Bluetooth MAC address of the second terminal is obtained when tooth communication modes searches the second terminal;
Step 2023: first terminal extracts the Bluetooth communication mark of the second terminal, according to described Bluetooth communication mark
Know the device identifying information ID-B-Device obtaining the second terminal;Step 2023 performs step 203 after terminating;
Step 2024: the equipment that first terminal obtains the second terminal by bluetooth communication to the second terminal request is known
Other Information ID-B-Device, receives the device identifying information of the second terminal that the second terminal is sent by bluetooth
ID-B-Devie;Step 2024 performs step 203 after terminating;
Step 203: first terminal sends to the network equipment 22 and adds the account contact person that ID-B is ID-A
Request;
Step 204: it is the account of ID-A that the network equipment 22 receives the interpolation ID-B of described first terminal transmission
The request of contact person;
Step 205: the network equipment 22 judges whether receive before Preset Time terminates by the second terminal transmission
Add the request of the account contact person that ID-A is ID-B;
The network equipment 22 judges whether receive the interpolation ID-A sent by the second terminal before Preset Time terminates
A kind of embodiment for the request of the account contact person of ID-B includes: the network equipment 22 creates first terminal
Adding the wait event of the request of the account contact person that ID-B is ID-A, and start timer t, t is opened by 0
Beginning timing, timing terminates to T, 0≤t≤T;Described first terminal adds the account contact that ID-B is ID-A
The wait event of the request of people is particularly as follows: the equipment that described wait event such as is specially at the first terminal to be included is known
Other information, the interpolation account contact person request of device identifying information of the second terminal, it may be assumed that wait by second eventually
The request of the account contact person that interpolation ID-A is ID-B that end sends.
What the second terminal that the network equipment 22 is received by judgement sent adds the information and the during contact person asks
Whether correspondence judges information in the request of the account contact person that interpolation ID-B is ID-A that one terminal sends
Whether receive is the request of the account contact person that interpolation ID-A is ID-B sent by the second terminal.
Alternatively, the network equipment can add the form of account contact person request with terminal agreement and add account
Information in family contact person request.As arranged, add account contact person request carries to send successively and ask
Instant messaging application account in the terminal asked, sends the device identifying information of terminal of request, requested adds
The device identifying information of the terminal at the instant messaging account place added.The interpolation account connection sent with first terminal
It is, as a example by people asks, request to include successively: instant messaging account ID-A of first user, first terminal
Device identifying information ID-A-Device, the device identifying information ID-B-Device of the second terminal.This area skill
Art personnel are it should be understood that add the order of three information in account contact person request and can adjust.
The interpolation ID-B sent to the network equipment 22 with the described first terminal account contact person's as ID-A please
Ask including at least as a example by following information: instant messaging application account ID-A of first user, setting of first terminal
Standby identification Information ID-A-Device, the device identifying information ID-B-Device of the second terminal;
Correspondingly, in the described request of account contact person that interpolation ID-A is ID-B sent by the second terminal
Including at least following information: instant messaging application account ID-B of the second user, the equipment identification letter of the second terminal
Breath ID-B-Device, the device identifying information ID-A-Device of first terminal.
Because the network equipment and terminal have arranged to add in the information in the form of account contact person request and request
Hold, so the interpolation contact person request that the network equipment can identify first terminal transmission includes first terminal
Device identifying information ID-A-Device, the device identifying information ID-B-Device of the second terminal, and also may be used
To identify the device identifying information also including first terminal in interpolation contact person's request that the second terminal sends
ID-A-Device, the device identifying information ID-B-Device of the second terminal.The network equipment is by confirming second eventually
The interpolation account contact person request that end sends comprises in the interpolation account contact person request that first terminal sends
The device identifying information of first terminal and the device identifying information of the second terminal, determine that the second terminal sends
Add contact person's request and interpolation contact person that first terminal sends asks corresponding, thereby determine that second eventually
What end sent adds contact person's request is the request adding the account contact person that ID-A is ID-B.
When any instant of 0≤t≤T, the network equipment 22 judge the interpolation contact person received request comprises with
Lower information: the device identifying information ID-B-Device of the second terminal, the device identifying information of first terminal
ID-A-Device;It is considered as the request of the account contact person that interpolation ID-B is ID-A that described first terminal sends
Certification is passed through, and performs step 206;
When t timing terminates, the network equipment 22 still without receiving the described interpolation ID-A sent by the second terminal is
The request of the account contact person of ID-B, is considered as the interpolation ID-B that described first terminal sends to the network equipment 22
Request authentification failure for the account contact person of ID-A;Perform step 207;
Step 206: ID-A is added to the account contact person of ID-B by the network equipment 22;ID-B is added
Account contact person for ID-A;
Contact person's corresponding relation of ID-A in the network equipment 22 more new network device;
Contact person's corresponding relation of ID-B in the network equipment 22 more new network device;
Optionally, the network equipment 22 sends to first, second terminal and adds the successful message of contact person, optional
Ground, if first terminal and the second terminal local each have contact person's corresponding relation, then according to the network equipment 22
Send adds contact person's corresponding relation that the successful information updating of contact person is local;
Step 207: the network equipment 22 is removed described first terminal and added the account contact person that ID-B is ID-A
The wait event of request;Optionally, the network equipment 22 sends to first terminal and adds disappearing of contact person's failure
Breath.
The embodiment of the present invention obtains the device identifying information ID-B-Device of the second terminal by first terminal, to
The network equipment sends the request adding the account contact person that ID-B is ID-A, including at least institute in described request
State the instant messaging application account of first user, the device identifying information of described first terminal, described second end
The device identifying information of end, is the account of ID-A when the network equipment receives the interpolation ID-B of first terminal transmission
After family contact person request, it is judged that whether receive the interpolation ID-A sent by the second terminal before Preset Time terminates
For the request of the account contact person of ID-B, send out by the second terminal when the network equipment receives before Preset Time terminates
The request of the account contact person that interpolation ID-A is ID-B sent, mutually adding ID-A and ID-B is account connection
It is people, alternatively, sends to first, second terminal and add the successful message of contact person, alternatively, if the
One, the second terminal local each has contact person's corresponding relation, then the interpolation contact sent according to the network equipment
Contact person's corresponding relation that the successful information updating of people is local;When the network equipment does not has before Preset Time terminates
Receiving the request of the account contact person that interpolation ID-A is ID-B sent by the second terminal, the network equipment is removed
Described first terminal adds the wait event of the request of the account contact person that ID-B is ID-A;Alternatively, to
First terminal sends and adds contact person's failure.The technical scheme that the embodiment of the present invention provides avoids use
The situation of input error when contact person is manually added at family, simplifies user and adds the operating process of contact person, and
Improve the experience of user;Simplify network device processing simultaneously and add the flow process of contact person's request.
Embodiment two:
The embodiment of the present invention two provides a kind of terminal, can be used for performing the method described in the embodiment of the present invention one.
Fig. 3 shows the structure of the terminal 300 that the embodiment of the present invention two provides.
Described terminal can be mobile phone, panel computer, PDA (Personal Digital Assistant, individual number
Word assistant), POS (Point of Sales, point-of-sale terminal), the terminal unit such as vehicle-mounted computer, with terminal as hands
As a example by machine, Fig. 3 is illustrated that the part-structure of the terminal 300 relevant to the terminal of embodiment of the present invention offer
Structure chart.With reference to Fig. 3, terminal 300 include radio frequency unit 310, memorizer 320, input block 330,
Display unit 340, sensor 350, voicefrequency circuit 360, Wireless Fidelity (Wireless Fidelity, WiFi)
Module 370, bluetooth module 395, processor 380, speaker 361, microphone 362 and power supply 390
Deng parts.It will be understood by those skilled in the art that the handset structure shown in Fig. 3 only does the act of implementation
Example, is not intended that the restriction to mobile phone, can include that ratio illustrates more or less of parts, or combine certain
A little parts, or different parts layouts.
Below in conjunction with Fig. 3 each component parts of terminal 300 carried out concrete introduction:
Radio frequency unit 310 is used as the one of terminal transceiver, receives and sends messages or in communication process, letter
Number reception and transmission, especially, after the downlink information of base station is received, process to processor 380;Separately
Outward, it is sent to base station by designing up data.Generally, RF circuit include but not limited to antenna, at least one
Individual amplifier, transceiver, bonder, LNA (Low Noise Amplifier, low-noise amplifier),
Duplexer etc..Additionally, radio frequency unit 310 can also be led to the network equipment and other equipment by radio communication
Letter.Described radio communication can use arbitrary communication standard or agreement, includes but not limited to global system for mobile telecommunications
System (Global System of Mobile communication, GSM), general packet radio service
(General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access,
CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), length
Phase evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging
Service, SMS) etc..In embodiments of the invention, radio frequency unit may be used for and network device communications.
Memorizer 320 can be used for store instruction and data, memorizer 320 can mainly include store instruction area and
Storage data field, wherein, storage instruction area can store the instruction etc. needed for operating system, at least one function;
Described instruction can make processor 380 perform following methods, and concrete grammar includes: receives first user and adds connection
It is the operational order of people, when receiving the operational order that first user adds contact person, it is judged that open bluetooth
Whether the Bluetooth communication mark of the second terminal of function comprises the device identifying information of the second terminal, described end
The device identifying information of end is specially capable of identify that the unique information of identity of terminal, when the bluetooth of the second terminal
When communication identifier comprises the device identifying information of the second terminal, extract the Bluetooth communication mark of the second terminal,
The device identifying information ID-B-Device of the second terminal is obtained according to described Bluetooth communication mark;When the second terminal
Bluetooth communication mark in when not comprising the device identifying information of the second terminal, instruction bluetooth module is to second eventually
End obtains the associated person information of the second user, receives the associated person information of the second user that the second terminal sends;
After getting the device identifying information of the second terminal, sending interpolation ID-B to the network equipment is the account of ID-A
The interpolation contact person request of contact person, include at least described first user in the described contact person of interpolation request is
Time communication applications account, the device identifying information of described terminal 300, described second terminal described equipment know
Other information.When receiving the operational order adding contact person, bluetooth module is not turned on, and processor also may be used
Open for instruction bluetooth module.Additionally, memorizer 320 can include high-speed random access memory,
Can also include nonvolatile memory, for example, at least one disk memory, flush memory device or other
Volatile solid-state part.
Input block 330 can be used for receiving numeral or the character information of input, and produces and terminal 300
User setup and function control relevant key signals input.Specifically, input block 330 can include touch-control
Panel 331 and other input equipments 332.Contact panel 331, also referred to as touch screen, can collect user and exist
(such as user uses any applicable object such as finger, stylus or adnexa to exist in touch operation on or near it
Operation on contact panel 331 or near contact panel 331), and drive phase according to formula set in advance
The attachment means answered.Optionally, contact panel 331 can include touch detecting apparatus and touch controller two
Part.Wherein, the touch orientation of touch detecting apparatus detection user, and detect the signal that touch operation brings,
Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and will
It is converted into contact coordinate, then gives processor 380, and can receive order that processor 380 sends in addition
Perform.Furthermore, it is possible to use the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize
Contact panel 331.Except contact panel 331, input block 330 can also include other input equipments 332.
Specifically, other input equipments 332 can include but not limited to physical keyboard, function key (such as volume control
Button processed, switch key etc.), trace ball, mouse, one or more in action bars etc..
Display unit 340 can be used for showing the information inputted by user or the information being supplied to user and terminal
The various menus of 300.Display unit 340 can include display floater 341, optionally, can use
LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode,
Organic Light Emitting Diode) etc. form configure display floater 341.Further, contact panel 331 can cover
Display floater 341, when contact panel 331 detects thereon or after neighbouring touch operation, sends process to
Device 380 is to determine the type of touch event, with preprocessor 380 according to the type of touch event at display surface
Corresponding visual output is provided on plate 341.Although in figure 3, contact panel 331 and display floater 341
It is to realize input and the input function of terminal 300 as two independent parts, but in some embodiment
In, can be by integrated to contact panel 331 and display floater 341 and realize input and the output work of terminal 300
Energy.
Terminal 300 may also include the sensor 350 of at least one detection mutual crash-active of terminal room, such as adds
Speed flowmeter sensor, described sensor 350 can detect the size of (generally three axles) acceleration in all directions,
Can be used for detecting the mutual crash-active between terminal, specifically, accelerometer sensor detects between terminal
Mutual crash-active time, collision accident can be reported processor 380 or other communication modules;Meanwhile, add
Speed flowmeter sensor can be additionally used in detection terminal static time the size of gravity and direction, can be used for identifying mobile phone attitude
Application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (ratio
Such as pedometer, percussion) etc.;The gyroscope that can also configure as terminal 300, barometer, drimeter, temperature
Other sensors, ambient light sensor and the proximity transducers such as degree meter, infrared ray sensor, the most superfluous at this
State.
Voicefrequency circuit 360, speaker 361, microphone 362 can provide the audio frequency between user and terminal 300
Interface.The signal of telecommunication after the voice data conversion that voicefrequency circuit 360 can will receive, is transferred to speaker 361,
Acoustical signal output is converted to by speaker 361;On the other hand, the acoustical signal that microphone 362 will be collected
Be converted to the signal of telecommunication, voicefrequency circuit 360 after receiving, be converted to voice data, then by voice data output
After reason device 380 processes, it is sent to such as another mobile phone through radio frequency unit 310, or voice data is exported
To memorizer 320 to process further.
WiFi belongs to short range wireless transmission technology, and terminal 300 can help user by WiFi module 370
Sending and receiving e-mail, browse webpage and access streaming video etc., it has provided the user wireless broadband interconnection
Net accesses.Although Fig. 3 shows WiFi module 370, but it is understood that, it is also not belonging to terminal
300 must be configured into, can omit completely as required in not changing the scope of essence of invention.
Bluetooth is a kind of short-distance wireless communication technology.Utilize Bluetooth technology, it is possible to effectively simplify palm electricity
Communication between the mobile communication terminal devices such as brain, notebook computer and mobile phone, it is also possible to successfully simplify with
Upper communication between these equipment and the Internet (Internet), terminal 300 makes end by bluetooth module 395
Data transmission between end 300 and the Internet becomes more rapidly efficiently, for radio communication widening road.Blue
Tooth technology is that by the open scheme that voice-and-data is wirelessly transferred.In embodiments of the present invention, blue
Tooth module 395 opens the terminal of Bluetooth function for searching for.Do not wrap in the Bluetooth communication of the second terminal identifies
During associated person information containing the second user, obtain second by described bluetooth module 395 to the second terminal request
The associated person information of user, receives the associated person information of the second user that the second terminal sends.
Processor 380 is the control centre of terminal 300, utilizes various interface and the whole mobile phone of connection
Various piece, by running or perform to be stored in the software program in memorizer 320 and/or module, and adjusts
By the data being stored in memorizer 320, perform the various functions of terminal 300 and process data, thus right
Mobile phone carries out integral monitoring.Optionally, processor 380 can include one or more processing unit;Preferably,
Processor 380 can integrated application processor and modem processor, wherein, application processor mainly processes
Operating system, user interface and application program etc., modem processor mainly processes radio communication.Permissible
Being understood by, above-mentioned modem processor can not also be integrated in processor 380.Implement in the present invention
In example, the instruction and data that processor 380 is additionally operable to call in memorizer is to realize receiving first user interpolation
The operational order of contact person, when receiving the operational order that first user adds contact person, it is judged that opens indigo plant
Whether the Bluetooth communication mark of the second terminal of tooth function comprises the device identifying information of the second terminal, described
The device identifying information of terminal is specially capable of identify that the unique information of identity of terminal, when the indigo plant of the second terminal
When tooth communication identifier comprises the device identifying information of the second terminal, extract the Bluetooth communication mark of the second terminal,
The device identifying information ID-B-Device of the second terminal is obtained according to described Bluetooth communication mark;When the second terminal
Bluetooth communication mark in when not comprising the device identifying information of the second terminal, instruction bluetooth module is to second eventually
End obtains the associated person information of the second user, receives the associated person information of the second user that the second terminal sends;
After getting the device identifying information of the second terminal, sending interpolation ID-B to the network equipment is the account of ID-A
The interpolation contact person request of contact person, include at least described first user in the described contact person of interpolation request is
Time communication applications account, the device identifying information of described terminal 300, described second terminal described equipment know
Other information.If terminal is when receiving the operational order adding contact person, bluetooth module is not turned on, and processes
Device may be used to indicate that bluetooth module is opened.
Terminal 300 also includes the power supply 390 (such as battery) powered to all parts, it is preferred that power supply can
With logically contiguous with processor 380 by power-supply management system, thus realize management by power-supply management system
The functions such as charging, electric discharge and power managed.
Although not shown, terminal 300 can also include photographic head, flash lamp etc., does not repeats them here.
Embodiment three:
Embodiments providing a kind of device, for terminal, see Fig. 4, described device includes:
Receiver module 401, for receiving the operational order adding contact person, can be to receive to need to add contact
The module of the mutual crash-active of the terminal room of people, it is also possible to be to receive user manually opened interpolation contact person behaviour
Make the module ordered;
Acquisition module 402, for obtaining the device identifying information of the second terminal;
Sending module 403, is for sending the instant messaging application account adding the second user to the network equipment
The request of the account contact person of the instant messaging application account of one user;
Wherein, in a specific embodiment, described acquisition module 402, including:
Whether judging unit 4021, comprise the equipment of terminal in the Bluetooth communication mark judge the second terminal
Identification information;
Extraction unit 4022: for when the equipment identification letter comprising terminal in the Bluetooth communication of the second terminal mark
During breath, extract the Bluetooth communication mark of terminal;
Acquiring unit 4023: for obtaining the device identifying information of terminal according to the Bluetooth communication mark extracted.
Embodiment four:
Embodiments provide a kind of network equipment, can be used for performing described in the embodiment of the present invention one
Method.Fig. 5 shows the structure chart of the part-structure that the network equipment that the embodiment of the present invention provides is relevant.This
Skilled person is appreciated that the network equipment infrastructure shown in Fig. 5 only does the citing of implementation, not
Constitute the restriction to the network equipment, can include that ratio illustrates more or less of parts, or combine some portion
Part, or different parts layouts.Below in conjunction with Fig. 5, each component parts of the network equipment is carried out specifically
Introduction:
The described network equipment includes: transceiver 502, memorizer 503, processor 504;
Transceiver 502, for communicating with terminal, may be used for receiving adding of first, second terminal transmission
Add contact person's request;Can be used for after adding contact person's success when processor 504, to first, the
Two terminals send adds the successful message of contact person;When processor 504 receives the interpolation that first terminal sends
ID-B is the request of the contact person of ID-A, and does not receive the interpolation sent by the second terminal in Preset Time
ID-A is contact person's request of ID-B, sends interpolation contact person's mistake by transceiver 502 is optional to first terminal
The message lost.
Memorizer 503 can be used for storing operating system program and application program, it is possible to storage instant messaging should
With account and contact person's corresponding relation of described instant messaging application account;Memorizer 503 can include read-only
Memorizer and random access memory;When needs operational network equipment, can be by being solidificated in read only memory
In basic input output system (Basic Input Output System, BIOS) guiding system start, draw
Lead the network equipment and enter normal operating condition.After the network equipment enters normal operating condition, run application journey
Sequence, instruction processor 504 performs following methods: the interpolation ID-B receiving first terminal transmission is ID-A's
The request of account contact person, the account contact person's that interpolation ID-B is ID-A that described first terminal sends please
Include at least in asking: instant messaging application account ID-A of first user, the device identifying information of first terminal
ID-A-Device, the device identifying information ID-B-Device of the second terminal;Described processor 504 judges in advance
If the time terminate before whether receive by second terminal send the account contact person that interpolations ID-A is ID-B ask
Ask;Described processor 504 judges whether receive the interpolation sent by the second terminal before Preset Time terminates
ID-A is that a kind of embodiment of the request of the account contact person of ID-B includes: described processor 504 creates
One terminal adds the wait event of the request of the account contact person that ID-B is ID-A;Described first terminal adds
ID-B be the request of the account contact person of ID-A wait event particularly as follows: etc. the equipment of first terminal to be included
Identification information, the second terminal device identifying information interpolation account contact person request, it may be assumed that wait by second
The request of the account contact person that interpolation ID-A is ID-B that terminal sends.Described by adding that the second terminal sends
Add in the request of the account contact person that ID-A is ID-B and include at least: the instant messaging application account of the second user
Family ID-B, the device identifying information ID-B-Device of the second terminal, the device identifying information of first terminal
ID-A-Device.The interpolation ID-B that processor 504 sends by identifying first terminal is the account of ID-A
Contact person's request includes the device identifying information ID-A-Device of first terminal, the equipment identification of the second terminal
In Information ID-B-Device, and the account contact person that interpolation ID-A the is ID-B request of the second terminal transmission
Also the device identifying information ID-A-Device of first terminal, the device identifying information of the second terminal are included
ID-B-Device, determines the interpolation connection adding contact person's request and first terminal transmission that the second terminal sends
It is corresponding to be that people asks, and thereby determines that the interpolation contact person request that the second terminal sends is that to add ID-A be ID-B
The request of account contact person.When processor 504 judges to receive before Preset Time terminates by described second eventually
The request of the account contact person that interpolation ID-A is ID-B that end sends, ID-A is added to by processor 504
The account contact person of ID-B, is added to ID-B the account contact person of ID-A, updates simultaneously and be saved in storage
Account contact person's corresponding relation of ID-A, the ID-B in device 503, alternatively, sends out to first, second terminal
Send the interpolation successful message of contact person;When processor 504 judges to terminate still without receiving by institute at Preset Time
Stating the request of the account contact person that interpolation ID-A is ID-B that the second terminal sends, institute removed by processor 504
State the wait event that first terminal adds the request of the account contact person that ID-B is ID-A;Alternatively, to
One terminal sends adds contact person's failure.
The account contact person's that interpolation ID-B is ID-A that processor 504 sends for receiving first terminal please
Ask, the request of the account contact person that interpolation ID-B is ID-A that described first terminal sends include at least:
Instant messaging application account ID-A of first user, the device identifying information ID-A-Device of first terminal, second
The device identifying information ID-B-Device of terminal;Whether described processor 504 judges before Preset Time terminates
Receive the request of the account contact person that interpolation ID-A is ID-B sent by the second terminal;Described processor 504
Judge before Preset Time terminates, whether receive the account that interpolation ID-A the is ID-B connection sent by the second terminal
It is that a kind of embodiment of the request of people includes: described processor 504 creates first terminal to be added ID-B and be
The wait event of the request of the account contact person of ID-A;It is the account of ID-A that described first terminal adds ID-B
The wait event of the request of contact person particularly as follows: etc. the device identifying information of first terminal to be included, second eventually
The interpolation account contact person request of the device identifying information of end, it may be assumed that wait the interpolation ID-A sent by the second terminal
Request for the account contact person of ID-B.The described interpolation ID-A sent by the second terminal is the account of ID-B
The request of contact person includes at least: instant messaging application account ID-B of the second user, setting of the second terminal
Standby identification Information ID-B-Device, the device identifying information ID-A-Device of first terminal.Processor 504 leads to
Cross identify first terminal send the account contact person that interpolations ID-B is ID-A ask include first terminal
Device identifying information ID-A-Device, the device identifying information ID-B-Device of the second terminal, and second
The account contact person that interpolation ID-A the is ID-B request that terminal sends also includes the equipment identification of first terminal
Information ID-A-Device, the device identifying information ID-B-Device of the second terminal, determine that the second terminal sends
Add contact person's request and interpolation contact person that first terminal sends asks corresponding, thereby determine that second eventually
What end sent adds contact person's request is the request adding the account contact person that ID-A is ID-B.Work as processor
504 judge that receiving the interpolation ID-A sent by described second terminal before Preset Time terminates is the account of ID-B
The request of contact person, ID-A is added to the account contact person of ID-B, is added to by ID-B by processor 504
The account contact person of ID-A, updates the account contact of ID-A, ID-B of being saved in memorizer 503 simultaneously
People's corresponding relation, alternatively, sends to first, second terminal and adds the successful message of contact person;Work as process
Device 504 judges to terminate still without receiving the interpolation ID-A sent by described second terminal to be ID-B at Preset Time
The request of account contact person, it is the account of ID-A that processor 504 remove described first terminal to add ID-B
The wait event of the request of contact person;Alternatively, interpolation contact person's failure is sent to first terminal.
Although not shown, the network equipment can also include power supply etc., does not repeats them here.
Embodiment five:
Embodiments providing a kind of device, see Fig. 6, described device includes:
Receiver module 601, for receiving the account contact person that interpolation ID-B is ID-A that first terminal sends
Request;
Judge module 602, for judging whether receive the interpolation sent by the second terminal before Preset Time terminates
ID-A is the request of the account contact person of ID-B;
Wherein, in a specific embodiment, described judge module 602, may include that
Creation module 6021, for receiving the interpolation ID-B of first terminal transmission when receiver module 601 be
During the request of the account contact person of ID-A, create first terminal and add the account contact person that ID-B is ID-A
The wait event of request;Described wait event be specially etc. the device identifying information of first terminal to be included, the
The interpolation account contact person request of the device identifying information of two terminals, it may be assumed that wait by adding that the second terminal sends
Add the request of the account contact person that ID-A is ID-B.
Add contact module 603, for when receiving the interpolation sent by the second terminal before Preset Time terminates
When ID-A is the request of account contact person of ID-B, ID-A is added to the account contact person of ID-B;Will
ID-B is added to the account contact person of ID-A;
Remove module 604, do not receive by the second terminal for working as receiver module 601 before Preset Time terminates
During the request of account contact person that interpolation ID-A is ID-B sent, remove described first terminal and add ID-B
The wait event of request for the account contact person of ID-A;
Wherein, in a specific embodiment, described interpolation contact module 603, including:
More new module 6031, for updating account contact person's corresponding relation of ID-A, ID-B.For when receiving
Module 601 receives the request of the account contact person that interpolation ID-B is ID-A that first terminal sends, and
Preset Time receives the request of the account contact person that interpolation ID-A is ID-B sent by the second terminal before terminating
Time, update ID-A, ID-B account contact person's corresponding relation in the network device;
The embodiment of the present invention obtains the device identifying information ID-B-Device of the second terminal by first terminal, to
The network equipment sends the request adding the account contact person that ID-B is ID-A, including at least institute in described request
State the instant messaging application account of first user, the device identifying information of described first terminal, described second end
The device identifying information of end, is the account of ID-A when the network equipment receives the interpolation ID-B of first terminal transmission
After family contact person request, it is judged that whether receive the interpolation ID-A sent by the second terminal before Preset Time terminates
For the request of the account contact person of ID-B, send out by the second terminal when the network equipment receives before Preset Time terminates
The request of the account contact person that interpolation ID-A is ID-B sent, mutually adding ID-A and ID-B is account connection
It is people, alternatively, sends to first, second terminal and add the successful message of contact person, alternatively, if the
One, the second terminal local each has contact person's corresponding relation, then the interpolation contact sent according to the network equipment
Contact person's corresponding relation that the successful information updating of people is local;When the network equipment does not has before Preset Time terminates
Receiving the request of the account contact person that interpolation ID-A is ID-B sent by the second terminal, the network equipment is removed
Described first terminal adds the wait event of the request of the account contact person that ID-B is ID-A;Alternatively, to
First terminal sends and adds contact person's failure.The technical scheme that the embodiment of the present invention provides avoids use
The situation of input error when contact person is manually added at family, simplifies user and adds the operating process of contact person, and
Improve the experience of user;Simplify network device processing simultaneously and add the flow process of contact person's request.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be passed through
Hardware completes, it is also possible to instructing relevant hardware by program and complete, described program can be stored in
In a kind of computer-readable recording medium, storage medium mentioned above can be read only memory, disk or
CD etc..
Above-described detailed description of the invention, is carried out the purpose of the present invention, technical scheme beneficial effect
Further describing, be it should be understood that different embodiments can be combined, the above enters
And the detailed description of the invention of the present invention, the protection domain being not intended to limit the present invention, all in the present invention
Spirit and principle within, any combination of being made, amendment, equivalent, improvement etc., should be included in
Within protection scope of the present invention.
Claims (17)
1. the method adding contact person, it is characterised in that described method includes:
First terminal receives first user corresponding to first terminal and adds the operational order of contact person, obtains
The device identifying information of the second terminal;
The instant messaging application account that first terminal sends interpolation the second user to the network equipment is first user
The request of account contact person of instant messaging application account;
The instant messaging application of described first user operates on described first terminal, described second user's
Instant messaging application operates in described second terminal;
The instant messaging application account that described first terminal sends interpolation the second user to the network equipment is first
In the request of the account contact person of the instant messaging application account of user including at least described first user i.e.
Time communication applications account, the device identifying information of described first terminal, the equipment identification of described second terminal
Information.
Method the most according to claim 1, it is characterised in that the equipment of described acquisition the second terminal is known
Other information, including: first terminal passes through bluetooth, and infrared or NFC short distance communication mode obtains second eventually
The device identifying information of end.
Method the most according to claim 2, it is characterised in that the equipment of described acquisition the second terminal is known
Other information, including: first terminal judges whether the Bluetooth communication of the second terminal comprises the second terminal in identifying
Device identifying information, the device identifying information comprising the second terminal in the Bluetooth communication of the second terminal identifies
Time, extract the Bluetooth communication mark of the second terminal, identify according to the Bluetooth communication of the second terminal extracted
Obtain the device identifying information of the second terminal.
Method the most according to claim 3, it is characterised in that the equipment of described acquisition the second terminal is known
Other information farther includes: the equipment not comprising the second terminal in the Bluetooth communication of the second terminal identifies is known
During other information, first terminal obtains the equipment identification of the second terminal by bluetooth communication to the second terminal request
Information, receives the device identifying information of the second terminal that the second terminal sends.
5. according to the method described in any one of claim 1-4, it is characterised in that the equipment of described terminal is known
The unique information of identity that other information is specially capable of identify that terminal.
6. the method adding contact person, it is characterised in that described method includes:
It is that the network equipment receives the instant messaging application account of interpolation the second user that first terminal sends
The request of the account contact person of the instant messaging application account of one user;
Judge before Preset Time terminates, whether receive the IMU adding first user that the second terminal sends
News application account is the request of the account contact person of the instant messaging application account of the second user;Described first
The instant messaging application of user operates on described first terminal, the instant messaging application of described second user
Operate in described second terminal;
When the network equipment receives the instant of the interpolation first user of the second terminal transmission before Preset Time terminates
When communication applications account is the request of the account contact person of the instant messaging application account of the second user, by
The instant messaging application account of one user, the instant messaging application account of the second user are mutually added to account
Contact person.
Method the most according to claim 6, it is characterised in that the interpolation that described first terminal sends
The account contact person of the instant messaging application account that instant messaging application account is first user of two users
In request, the equipment including at least the instant messaging application account of described first user, described first terminal is known
Other information, the device identifying information of described second terminal;
The most described network equipment judges whether to receive interpolation that the second terminal sends the before Preset Time terminates
The account contact person of the instant messaging application account that instant messaging application account is the second user of one user
Request, particularly as follows: the network equipment judges that whether receiving one before Preset Time terminates includes first terminal
Device identifying information, the second terminal device identifying information interpolation account contact person request.
8. according to the method described in claim 6-7, it is characterised in that the device identifying information of described terminal
Specially it is capable of identify that the unique information of identity of terminal.
Method the most according to claim 6, it is characterised in that described by the instant messaging of first user
Application account, the instant messaging application account of the second user are mutually added to account contact person and include:, update
The instant messaging application account of described first, second user account contact person's correspondence in the network device is closed
System.
Method the most according to claim 6, it is characterised in that described method farther includes: when
The network equipment does not receive the described first user of interpolation that described second terminal sends before Preset Time terminates
The instant messaging application account that instant messaging application account is described second user account contact person please
When asking, the instant messaging application account eliminating interpolation the second user that described first terminal sends is the first use
The request of the account contact person of the instant messaging application account at family.
11. 1 kinds of devices adding contact person, it is characterised in that described device includes:
Receiver module, adds the operational order of contact person for receiving first user corresponding to first terminal;
Acquisition module, for obtaining the device identifying information of the second terminal;
Sending module, is for sending the instant messaging application account adding the second user to the network equipment
The request of the account contact person of the instant messaging application account of one user;The instant messaging of described first user
Application operates on described first terminal, and the instant messaging application of described second user operates in described second
In terminal;In described request including at least the instant messaging application account of described first user, described first
The device identifying information of terminal, the device identifying information of described second terminal.
12. devices according to claim 11, it is characterised in that described acquisition module, including:
Whether judging unit, comprise setting of the second terminal in the Bluetooth communication mark judge the second terminal
Standby identification information;
Extraction unit, for when the equipment identification comprising the second terminal in the Bluetooth communication of the second terminal mark
During information, extract the Bluetooth communication mark of the second terminal;
Acquiring unit, obtains setting of the second terminal for the Bluetooth communication mark according to the second terminal extracted
Standby identification information.
13. devices according to claim 11, it is characterised in that described acquisition module is for by indigo plant
Tooth communication obtains the device identifying information of the second terminal to the second terminal request, receives what the second terminal sent
The device identifying information of the second terminal.
14. 1 kinds of devices adding contact person, it is characterised in that described device includes:
Receiver module, for receiving the instant messaging application account of interpolation the second user that first terminal sends
The request of account contact person for the instant messaging application account of first user;
The instant messaging application of described first user operates on described first terminal, described second user's
Instant messaging application operates in the second terminal;
Judge module, for judging whether receive the interpolation sent by the second terminal before Preset Time terminates
The account contact person of the instant messaging application account that instant messaging application account is the second user of first user
Request;
Add contact module, for when receiving before Preset Time terminates by described second terminal transmission
Add the account connection of the instant messaging application account that instant messaging application account is the second user of first user
When being the request of people, the instant messaging of the instant messaging application account of first user, the second user is applied
Account is mutually added to account contact person.
15. devices according to claim 14, it is characterised in that described interpolation contact module, bag
Include:
More new module, sets at network for updating the instant messaging application account of described first, second user
Account contact person's corresponding relation in Bei.
16. devices according to claim 14, it is characterised in that also include:
Remove module, for not receiving the interpolation sent by described second terminal before Preset Time terminates
The account contact person of the instant messaging application account that instant messaging application account is the second user of first user
Request time, eliminating the instant messaging application account of interpolation the second user that described first terminal sends is the
The request of the account contact person of the instant messaging application account of one user.
17. devices according to claim 14, it is characterised in that described interpolation the second user's is instant
Communication applications account be the account contact person of the instant messaging application account of first user request at least wrap
Instant messaging application account containing described first user, the device identifying information of described first terminal, described
The device identifying information of the second terminal;Described judge module is specifically for judging before Preset Time terminates to be
No receive one include the device identifying information of first terminal, the second terminal device identifying information add account
Family contact person asks.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510379254.3A CN106331302B (en) | 2015-06-30 | 2015-06-30 | A kind of method and apparatus adding contact person |
CN201910943369.9A CN110855807A (en) | 2015-06-30 | 2015-06-30 | Method and equipment for adding contact person |
PCT/CN2015/095799 WO2017000495A1 (en) | 2015-06-30 | 2015-11-27 | Method and device for adding contacts |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510379254.3A CN106331302B (en) | 2015-06-30 | 2015-06-30 | A kind of method and apparatus adding contact person |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910943369.9A Division CN110855807A (en) | 2015-06-30 | 2015-06-30 | Method and equipment for adding contact person |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106331302A true CN106331302A (en) | 2017-01-11 |
CN106331302B CN106331302B (en) | 2019-10-22 |
Family
ID=57607584
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910943369.9A Pending CN110855807A (en) | 2015-06-30 | 2015-06-30 | Method and equipment for adding contact person |
CN201510379254.3A Active CN106331302B (en) | 2015-06-30 | 2015-06-30 | A kind of method and apparatus adding contact person |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910943369.9A Pending CN110855807A (en) | 2015-06-30 | 2015-06-30 | Method and equipment for adding contact person |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN110855807A (en) |
WO (1) | WO2017000495A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107770384A (en) * | 2017-10-31 | 2018-03-06 | 广东小天才科技有限公司 | A kind of good friend's adding method, device, system and smart machine |
TWI725270B (en) * | 2017-01-13 | 2021-04-21 | 大陸商北京搜狗科技發展有限公司 | Add contact method, electronic equipment and server |
CN112738738A (en) * | 2020-12-30 | 2021-04-30 | 南方科技大学 | Friend adding method, device, equipment and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109120743B (en) * | 2018-09-06 | 2021-08-24 | 腾讯科技(深圳)有限公司 | Contact adding method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025655A (en) * | 2010-12-08 | 2011-04-20 | 百度在线网络技术(北京)有限公司 | Method and device for realizing instant messaging between mobile devices based on short distance communication |
CN102209156A (en) * | 2010-03-31 | 2011-10-05 | 阿里巴巴集团控股有限公司 | Method of synchronizing contact person information, apparatus thereof and system thereof |
CN102859962A (en) * | 2010-04-07 | 2013-01-02 | 苹果公司 | Establishing online communication sessions between client computing devices |
CN103781031A (en) * | 2012-10-24 | 2014-05-07 | 腾讯科技(深圳)有限公司 | Method and mobile terminal for establishing friend relationship |
CN103813322A (en) * | 2012-11-06 | 2014-05-21 | 上海心动企业发展有限公司 | Method for mutually authenticating users between mobile terminals by using collision manner |
CN104660494A (en) * | 2015-02-11 | 2015-05-27 | 任宝刚 | Communication system |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101808090A (en) * | 2010-03-09 | 2010-08-18 | 上海华探通讯技术有限公司 | On-site intelligent mobile information service system |
CN102238491A (en) * | 2010-04-21 | 2011-11-09 | 卢业力 | Mobile friends-making system and method |
CN103108326A (en) * | 2011-11-10 | 2013-05-15 | 腾讯科技(深圳)有限公司 | Session relationship establishing method and device and system |
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 |
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 CN201910943369.9A patent/CN110855807A/en active Pending
- 2015-06-30 CN CN201510379254.3A patent/CN106331302B/en active Active
- 2015-11-27 WO PCT/CN2015/095799 patent/WO2017000495A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102209156A (en) * | 2010-03-31 | 2011-10-05 | 阿里巴巴集团控股有限公司 | Method of synchronizing contact person information, apparatus thereof and system thereof |
CN102859962A (en) * | 2010-04-07 | 2013-01-02 | 苹果公司 | Establishing online communication sessions between client computing devices |
CN102025655A (en) * | 2010-12-08 | 2011-04-20 | 百度在线网络技术(北京)有限公司 | Method and device for realizing instant messaging between mobile devices based on short distance communication |
CN103781031A (en) * | 2012-10-24 | 2014-05-07 | 腾讯科技(深圳)有限公司 | Method and mobile terminal for establishing friend relationship |
CN103813322A (en) * | 2012-11-06 | 2014-05-21 | 上海心动企业发展有限公司 | Method for mutually authenticating users between mobile terminals by using collision manner |
CN104660494A (en) * | 2015-02-11 | 2015-05-27 | 任宝刚 | Communication system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI725270B (en) * | 2017-01-13 | 2021-04-21 | 大陸商北京搜狗科技發展有限公司 | Add contact method, electronic equipment and server |
CN107770384A (en) * | 2017-10-31 | 2018-03-06 | 广东小天才科技有限公司 | A kind of good friend's adding method, device, system and smart machine |
CN107770384B (en) * | 2017-10-31 | 2021-04-23 | 广东小天才科技有限公司 | Friend adding method, device and system and intelligent equipment |
CN112738738A (en) * | 2020-12-30 | 2021-04-30 | 南方科技大学 | Friend adding method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110855807A (en) | 2020-02-28 |
WO2017000495A1 (en) | 2017-01-05 |
CN106331302B (en) | 2019-10-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103475996B (en) | Method for connecting network, network share method and device | |
CN104657105B (en) | A kind of method and apparatus of the speech voice input function opening terminal | |
CN106507482B (en) | A kind of network locating method and terminal device | |
CN103458408A (en) | Network connection method and network sharing method and device | |
CN104135728B (en) | Method for connecting network and device | |
CN106068020A (en) | Hinting abnormal states method and device | |
CN106454976B (en) | A kind of switching method of wireless network, device and terminal | |
CN104581993A (en) | Wireless connection building method, data transmission method and terminal | |
CN103546632B (en) | A kind of quarter-bell ringing method for mobile terminal, device and mobile terminal | |
CN106302603A (en) | The method and apparatus remotely deleting information | |
CN105306760A (en) | Method and device for controlling terminal | |
CN106331302A (en) | Method and equipment for adding contact | |
CN105808043B (en) | A kind of setting method and mobile terminal of terminal applies | |
CN106454975A (en) | Hotspot network switching method and terminal equipment | |
CN103200077B (en) | The method of data interaction during a kind of voice call, Apparatus and system | |
CN103561155B (en) | Send the method for note, device and terminal | |
CN105744600B (en) | Communication network cut-in method and user equipment | |
CN105847408A (en) | Data synchronization method and device and equipment | |
CN106331301A (en) | Method and equipment for adding contact | |
CN105282330B (en) | The method and device of automatic connection network | |
CN108989536A (en) | A kind of user terminal locking means, device and user terminal | |
CN106250175A (en) | The upgrade method of a kind of application and terminal unit | |
CN106060289A (en) | Method, apparatus and system for communication | |
CN106713386A (en) | Projection equipment binding communication method, projection equipment and intelligent terminal | |
CN105208057A (en) | Association method of network account and device |
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 |