CN110855807A - Method and equipment for adding contact person - Google Patents

Method and equipment for adding contact person Download PDF

Info

Publication number
CN110855807A
CN110855807A CN201910943369.9A CN201910943369A CN110855807A CN 110855807 A CN110855807 A CN 110855807A CN 201910943369 A CN201910943369 A CN 201910943369A CN 110855807 A CN110855807 A CN 110855807A
Authority
CN
China
Prior art keywords
terminal
user
identification information
contact
request
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.)
Pending
Application number
CN201910943369.9A
Other languages
Chinese (zh)
Inventor
彭万宝
张桂洪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201910943369.9A priority Critical patent/CN110855807A/en
Publication of CN110855807A publication Critical patent/CN110855807A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/40Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
    • H04B5/48Transceivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/274Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc
    • H04M1/2745Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips
    • H04M1/2753Devices whereby a plurality of signals may be stored simultaneously with provision for storing more than one subscriber number at a time, e.g. using toothed disc using static electronic memories, e.g. chips providing data content

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention discloses a method and equipment for adding a contact person, which are applied to the field of wireless communication. The method comprises the following steps: when a first terminal receives an operation command of adding a contact person by a first user, acquiring equipment identification information of a second terminal; the method comprises the steps that a first terminal sends a request for adding a second user as a first user contact to network equipment; when the network equipment receives the request sent by the first terminal, judging whether a request for adding the first user as a second user contact sent by a second terminal is received before the preset time is over; if so, the contact person is successfully added; and if not, the network equipment eliminates the request of adding the second user as the first user contact person, which is sent by the first terminal. The situation of input errors when a user manually adds the contact is avoided, the operation process of adding the contact is simplified, the experience of the user is improved, and meanwhile, the process of processing the contact adding request flow by the network equipment is simplified.

Description

Method and equipment for adding contact person
Technical Field
The embodiment of the invention relates to the technical field of mobile terminals, in particular to a method and equipment for adding a contact person.
Background
With the development of mobile terminals, people can communicate more and more conveniently. By using the instant communication software on the terminal, users can send characters and voice messages to each other or carry out voice and video communication in real time. The premise of the mutual communication of the users by using the instant messaging software is that the contact information is added into the corresponding relation of the own contacts. Thereby avoiding flooding of the spam broadcast information.
In the prior art, a method for adding a contact person generally comprises the steps of after a user selects a function of adding the contact person, manually inputting a mode of contact person information for the user and then adding the contact person information; the other mode is a mode of shooting the two-dimensional code through a terminal camera, and adding the contact person to the corresponding relation of the contact person, wherein the contact person information is stored in the two-dimensional code.
The prior art adds a contact person, as shown in fig. 1:
the first terminal is equipment used by a first user; the second terminal is equipment used by a second user;
the ID-A is an instant messaging application account of the first user and runs at the first terminal; the ID-B is an instant messaging application account of the second user and runs at the second terminal;
step 101: the method comprises the steps that a first terminal receives a command of adding contact information initiated by a first user;
step 102: the method comprises the steps that a first terminal receives an instant messaging application account ID-B input by a first user to a second user;
the input mode can be manual input, and the two-dimensional code of the instant messaging application account of the second user can also be shot;
step 103: the method comprises the steps that a first terminal sends a request for adding an account contact with ID-B as ID-A to network equipment;
step 104: after receiving a request of adding an account contact with ID-B as ID-A sent by a first terminal, network equipment sends the request to a second terminal;
step 105: the second terminal receives the request, prompts the second user to confirm whether to agree or not, and sends a confirmation result to the network equipment;
step 106: the network equipment judges whether the second user agrees to a request of adding an account contact person with ID-B as ID-A sent by the first user;
when the second user agrees to the request of adding the account contact with the ID-B as the ID-A sent by the first user, the network equipment mutually adds the ID-B and the ID-A as the account contact and sends a message of successfully adding the contact to the first terminal and the second terminal;
when the second user disagrees with the request of adding the account contact person with the ID-B being ID-A sent by the first user, the network equipment can optionally send a message of failure in adding the contact person to the first terminal and the second terminal;
step 107: the network device adds ID-B and ID-a to each other as account contacts.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
the terminal receives the mode that a user manually inputs contact information or obtains the contact information by shooting the two-dimensional code, so that the problems of input operation errors and inconvenience are easily caused, the operation process of shooting the two-dimensional code is complicated, and the terminal without a camera cannot be used. Meanwhile, after receiving a request of adding an account contact person with ID-B as ID-A sent by a first terminal, the network equipment needs to send the request to a second terminal, waits for receiving a confirmation result of the second terminal, processes the request of adding the account contact person with ID-B as ID-A sent by the first terminal according to the confirmation result sent by the second terminal, and sends the processing result to the first terminal and the second terminal; the network device needs to exchange information with the terminal for many times, and the process of processing the request for adding the contact person is complicated.
Disclosure of Invention
In order to solve the problems that the manual contact person adding mode in the prior art easily causes error and inconvenience in user input operation and the complicated flow of the network equipment for processing the contact person adding request, the embodiment of the invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a method for adding a contact, where the method includes:
the method comprises the steps that a first terminal receives an operation command of adding a contact person by a first user corresponding to the first terminal, and equipment identification information of a second terminal is obtained;
the method comprises the steps that a first terminal sends a request for adding an instant messaging application account of a second user as an account contact of an instant messaging application account of a first user to network equipment;
the instant messaging application of the first user runs on the first terminal, and the instant messaging application of the second user runs on the second terminal;
the method comprises the steps that a request of adding an instant messaging application account of a second user as an account contact of the instant messaging application account of the first user to network equipment by the first terminal at least comprises the instant messaging application account of the first user, equipment identification information of the first terminal and equipment identification information of the second terminal.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the acquiring device identification information of the second terminal includes: the first terminal acquires the equipment identification information of the second terminal in a Bluetooth, infrared or NFC short-distance communication mode.
With reference to the first aspect, in a second possible implementation manner of the first aspect, the acquiring device identification information of the second terminal includes: the first terminal judges whether the Bluetooth communication identifier of the second terminal contains the equipment identification information of the second terminal, extracts the Bluetooth communication identifier of the second terminal when the Bluetooth communication identifier of the second terminal contains the equipment identification information of the second terminal, and acquires the equipment identification information of the second terminal according to the extracted Bluetooth communication identifier of the second terminal.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the obtaining the device identification information of the second terminal further includes: when the Bluetooth communication identifier of the second terminal does not contain the equipment identification information of the second terminal, the first terminal requests the second terminal to acquire the equipment identification information of the second terminal through Bluetooth communication, and receives the equipment identification information of the second terminal sent by the second terminal.
With reference to the first aspect and the first, second, and third possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, the device identification information of the terminal is specifically information that can identify an identity of the terminal to be unique.
In a second aspect, an embodiment of the present invention provides a method for adding a contact, where the method includes:
the method comprises the steps that network equipment receives a request, sent by a first terminal, for adding an account contact of which an instant messaging application account of a second user is an instant messaging application account of a first user;
judging whether a request sent by a second terminal for adding an instant messaging application account of a first user as an account contact of an instant messaging application account of a second user is received before the preset time is over; the instant messaging application of the first user runs on the first terminal, and the instant messaging application of the second user runs on the second terminal;
and when the network equipment receives a request of adding the instant messaging application account of the first user as the account contact of the instant messaging application account of the second user sent by the second terminal before the preset time is over, adding the instant messaging application account of the first user and the instant messaging application account of the second user as the account contact mutually.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the request, sent by the first terminal, for adding the instant messaging application account of the second user as the account contact of the instant messaging application account of the first user at least includes the instant messaging application account of the first user, the device identification information of the first terminal, and the device identification information of the second terminal;
the network device determines whether a request sent by the second terminal to add an instant messaging application account of the first user as an account contact of an instant messaging application account of the second user is received before the preset time is over, and the specific steps are as follows: the network equipment judges whether an account contact adding request comprising the equipment identification information of the first terminal and the equipment identification information of the second terminal is received before the preset time is over.
With reference to the second aspect and the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the device identification information of the terminal is specifically information that can identify an identity of the terminal to be unique.
With reference to the second aspect, in a third possible implementation manner of the second aspect, the adding the instant messaging application account of the first user and the instant messaging application account of the second user to each other as an account contact includes: and updating the corresponding relation of the account contact persons of the instant messaging application accounts of the first user and the second user in the network equipment.
With reference to the second aspect, in a fourth possible implementation manner of the second aspect, the method further includes: and when the network equipment does not receive a request, sent by the second terminal, for adding the account contact, of which the instant messaging application account of the first user is the instant messaging application account of the second user, before the preset time is over, the request, sent by the first terminal, for adding the account contact, of which the instant messaging application account of the second user is the instant messaging application account of the first user is eliminated.
In a third aspect, an embodiment of the present invention provides an apparatus for adding a contact, where the apparatus includes:
the receiving module is used for receiving an operation command of adding a contact person by a first user corresponding to a first terminal;
the acquisition module is used for acquiring the equipment identification information of the second terminal;
the sending module is used for sending a request for adding an instant messaging application account of a second user as an account contact of an instant messaging application account of a first user to the network equipment; the instant messaging application of the first user runs on the first terminal, and the instant messaging application of the second user runs on the second terminal; the request at least comprises the instant messaging application account of the first user, the equipment identification information of the first terminal and the equipment identification information of the second terminal.
With reference to the third aspect, in a first possible implementation manner of the third aspect, the obtaining module includes:
the judging unit is used for judging whether the Bluetooth communication identifier of the second terminal contains the equipment identification information of the second terminal;
the extraction unit is used for extracting the Bluetooth communication identifier of the second terminal when the Bluetooth communication identifier of the second terminal contains the equipment identification information of the second terminal;
and the acquisition unit is used for acquiring the equipment identification information of the second terminal according to the extracted Bluetooth communication identifier of the second terminal.
With reference to the third aspect, in a second possible implementation manner of the third aspect, the obtaining module is configured to request the second terminal to obtain the device identification information of the second terminal through bluetooth communication, and receive the device identification information of the second terminal sent by the second terminal.
In a fourth aspect, an embodiment of the present invention provides an apparatus for adding a contact, including:
the receiving module is used for receiving a request of adding an account contact person of which the instant messaging application account of the second user is the instant messaging application account of the first user, and the request is sent by the first terminal;
the instant messaging application of the first user runs on the first terminal, and the instant messaging application of the second user runs on the second terminal;
the judging module is used for judging whether a request sent by the second terminal for adding the instant messaging application account of the first user as an account contact of the instant messaging application account of the second user is received before the preset time is over;
and the contact adding module is used for adding the instant messaging application account of the first user and the instant messaging application account of the second user into an account contact when a request of adding the instant messaging application account of the first user into the account contact of the instant messaging application account of the second user, which is sent by the second terminal, is received before the preset time is finished.
With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the adding a contact module includes:
and the updating module is used for updating the corresponding relation of the account contact persons of the instant messaging application accounts of the first user and the second user in the network equipment.
With reference to the fourth aspect, in a second possible implementation manner of the fourth aspect, the apparatus further includes:
and the clearing module is used for eliminating the request of adding the account contact person of which the instant messaging application account of the second user is the instant messaging application account of the first user, which is sent by the first terminal, when the request of adding the account contact person of which the instant messaging application account of the first user is the instant messaging application account of the second user, which is sent by the second terminal, is not received before the preset time is over.
With reference to the fourth aspect, in a third possible implementation manner of the fourth aspect, the request for adding the instant messaging application account of the second user as the account contact of the instant messaging application account of the first user at least includes the instant messaging application account of the first user, the device identification information of the first terminal, and the device identification information of the second terminal; the judging module is specifically used for judging whether an account contact adding request including the equipment identification information of the first terminal and the equipment identification information of the second terminal is received before the preset time is over.
The method and the Device in the embodiment of the invention disclose that a first terminal acquires equipment identification information ID-B-Device of a second terminal in a short-distance communication mode, sends a request for adding an instant messaging application account of a second user as an account contact of the instant messaging application account of the first user to network equipment, judges whether the request for adding the instant messaging application account of the first user as the account contact of the instant messaging application account of the second user sent by the second terminal is received before the preset time is over or not after the network equipment receives the request for adding the instant messaging application account of the first user as the account contact of the instant messaging application account of the second user sent by the first terminal, and adds the contact when the network equipment receives the request for adding the instant messaging application account of the first user as the account contact of the instant messaging application account of the second user sent by the second terminal before the preset time is over. The technical scheme provided by the embodiment of the invention avoids the situation of input error when the user manually adds the contact, simplifies the operation process of adding the contact by the user and improves the user experience; meanwhile, the process of processing the request for adding the contact person by the network equipment is simplified.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow diagram of a prior art method of adding contacts;
FIG. 2 is a flowchart of a first embodiment of the present invention;
FIG. 3 is a structural diagram of a second embodiment of the present invention;
FIG. 4 is a block diagram of a third embodiment of the present invention;
FIG. 5 is a block diagram of a fourth embodiment of the present invention;
FIG. 6 is a block diagram of a fifth embodiment of the present invention;
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, in the embodiment of the present invention:
the first terminal is equipment used by a first user; the second terminal is equipment used by a second user;
the ID-A-Device is equipment identification information of the first terminal; the ID-B-Device is equipment identification information of the second terminal;
the ID-A is an instant messaging application account of the first user and runs at the first terminal; and the ID-B is an instant messaging application account of the second user and runs at the second terminal.
Storing the instant communication application account and the corresponding relation of the contact persons of the instant communication application account in the network equipment;
the process of adding the contact in the embodiment of the invention is a process of adding the account contact with the ID-B being ID-A to the first user, and can also be a process of adding the account contact with the ID-A being ID-B to the second user. The method for adding the contact person can also be a process of adding the contact persons among groups, and is not limited to a one-to-one adding method, but also can be a process of adding a plurality of user instant messaging application accounts as account contact persons for the user at the same time, and a process of adding a plurality of user instant messaging application accounts as account contact persons for a plurality of users.
The first embodiment is as follows:
an embodiment of the present invention provides a method for adding a contact, see fig. 2.
It should be noted that the terminal may acquire and add contact information through bluetooth, infrared, Near Field Communication (NFC), and other Communication methods; for convenience of description, the embodiment of the present invention takes the example that the terminal acquires and adds the contact information in a bluetooth manner as an example to describe the process of acquiring and adding the contact information by the terminal;
the method comprises the following steps:
step 201: the method comprises the steps that a first terminal receives an operation command of adding a contact person by a first user;
the operation command for adding the contact person can be mutual collision action between the terminals, or an execution command for adding the contact person through manual operation of a user.
When the operation command of adding the contact is mutual collision action between the terminals, the terminals detect the mutual collision action between the terminals through a collision detection module, wherein the collision detection module can be an accelerometer sensor;
step 202: the method comprises the steps that a first terminal obtains equipment identification information of a second terminal;
after receiving an operation command of adding a contact by a first user, a first terminal establishes connection with a second terminal in a short-distance communication mode, wherein the short-distance communication mode can be Bluetooth, infrared, Near Field Communication (NFC) and the like, and the first terminal acquires equipment identification information of the second terminal in the short-distance communication mode; for convenience of description, the embodiment of the present invention describes, in a bluetooth manner, a process in which a first terminal acquires device identification information of a second terminal:
the device identification information of the terminal is unique information capable of identifying the identity of the terminal, for example: IMSI, IMEI number, MAC address, etc.;
step 202 may specifically include steps 2021-2024:
step 2021: the first terminal searches for a terminal with a Bluetooth function;
when the first terminal receives an operation command of adding a contact by a first user, if the Bluetooth function of the first terminal is closed, searching for a terminal with the Bluetooth function opened after the Bluetooth function is opened; if the Bluetooth function of the first terminal is started, the first terminal directly searches for a terminal with the Bluetooth function;
the Bluetooth function is started, and the Bluetooth function can be automatically started when the collision detection module of the first terminal detects mutual collision actions among the terminals; the Bluetooth function can be started manually by a user, and the collision detection module can be an accelerometer sensor;
step 2022: the first terminal judges whether the Bluetooth communication identifier of the second terminal contains equipment identification information of the second terminal; if the bluetooth communication identifier of the second terminal includes the device identification information of the second terminal, execute step 2023; if the bluetooth communication identifier of the second terminal does not contain the device identification information of the second terminal, execute step 2024;
the bluetooth communication identifier of the second terminal may be preset with device identification information of the second terminal, which may be automatically set by the second terminal after the collision, or may be manually set by a user. The first terminal judges whether the bluetooth communication identifier of the second terminal contains the device identifier of the second terminal, and can detect whether a specific character string, such as addfriend, exists in the bluetooth communication identifier of the second terminal through the first terminal, and if the specific character string exists, the N bits (N is an integer greater than or equal to 1) behind the specific character string are the device identification information of the second terminal. The first terminal extracts the Bluetooth communication identifier of the second terminal subsequently, and obtains N bits after the specific character string as the equipment identification information of the second terminal;
optionally, when the device identification information of the terminal is a bluetooth MAC address, the first terminal automatically acquires the bluetooth MAC address of the second terminal when searching the second terminal in a bluetooth communication manner;
step 2023: the first terminal extracts a Bluetooth communication identifier of the second terminal, and acquires equipment identification information ID-B-Device of the second terminal according to the Bluetooth communication identifier; after the end of step 2023, go to step 203;
step 2024: the first terminal requests the second terminal to acquire the equipment identification information ID-B-Device of the second terminal through Bluetooth communication, and receives the equipment identification information ID-B-Device of the second terminal, which is sent by the second terminal through Bluetooth; after the end of step 2024, go to step 203;
step 203: the first terminal sends a request to network device 22 to add an account contact with ID-B as ID-a;
step 204: the network device 22 receives a request for adding an account contact with ID-B as ID-A sent by the first terminal;
step 205: the network device 22 determines whether a request for adding an account contact with ID-a as ID-B sent by the second terminal is received before the preset time is over;
one embodiment of the network device 22 determining whether the request for adding the account contact with ID-a being ID-B sent by the second terminal is received before the preset time is over includes: the network device 22 creates a waiting event of a request of the first terminal for adding the account contact with the ID-B as the ID-A, and starts a timer T, wherein the timer T starts to time from 0 to finish the time to T, and T is more than or equal to 0 and less than or equal to T; the waiting event of the request of the first terminal for adding the account contact with the ID-B as the ID-A is specifically as follows: specifically, the waiting event is a request for adding an account contact including the device identification information of the first terminal and the device identification information of the second terminal, that is: and waiting for a request sent by the second terminal to add an account contact with ID-A as ID-B.
The network device 22 determines whether the received request for adding an account contact with ID-a as ID-B sent by the second terminal is the request for adding an account contact with ID-B sent by the first terminal by determining whether the information in the request for adding a contact sent by the second terminal corresponds to the information in the request for adding an account contact with ID-B as ID-a sent by the first terminal.
Optionally, the network device may contract with the terminal for the format of the request for adding an account contact and information in the request for adding an account contact. If the instant messaging application account in the terminal sending the request, the equipment identification information of the terminal sending the request and the equipment identification information of the terminal where the instant messaging account requested to be added is located are carried in the account contact person adding request in sequence. Taking an account contact adding request sent by a first terminal as an example, the request sequentially comprises: the instant messaging account ID-A of the first user, the equipment identification information ID-A-Device of the first terminal and the equipment identification information ID-B-Device of the second terminal. Those skilled in the art will appreciate that the order of adding the three pieces of information in the account contact request may be adjusted.
Taking as an example that the request for adding an account contact with ID-B as ID-a sent by the first terminal to the network device 22 at least contains the following information: the method comprises the steps that an instant messaging application account ID-A of a first user, equipment identification information ID-A-Device of a first terminal and equipment identification information ID-B-Device of a second terminal are obtained;
correspondingly, the request sent by the second terminal for adding the account contact with the ID-A as the ID-B at least comprises the following information: the instant messaging application account ID-B of the second user, the Device identification information ID-B-Device of the second terminal and the Device identification information ID-A-Device of the first terminal.
Because the network Device and the terminal agree on the format of the request for adding the account contact and the information content in the request, the network Device can recognize that the request for adding the account contact sent by the first terminal includes the Device identification information ID-A-Device of the first terminal and the Device identification information ID-B-Device of the second terminal, and can also recognize that the request for adding the account contact sent by the second terminal also includes the Device identification information ID-A-Device of the first terminal and the Device identification information ID-B-Device of the second terminal. The network equipment confirms that the account contact adding request sent by the second terminal comprises the equipment identification information of the first terminal and the equipment identification information of the second terminal in the account contact adding request sent by the first terminal, and determines that the contact adding request sent by the second terminal corresponds to the contact adding request sent by the first terminal, so that the contact adding request sent by the second terminal is determined to be a request for adding an account contact of which the ID-A is the ID-B.
When T is greater than or equal to 0 and less than or equal to T, the network device 22 determines that the received contact adding request includes the following information: the Device identification information ID-B-Device of the second terminal, the Device identification information ID-A-Device of the first terminal; the request of the account contact with the added ID-B as the ID-A sent by the first terminal is regarded as passing the authentication, and step 206 is executed;
when the timing t is over, the network device 22 still does not receive the request of the account contact person with the ID-a as ID-B sent by the second terminal, and it is considered that the authentication of the request of the account contact person with the ID-B as ID-a sent by the first terminal to the network device 22 fails; step 207 is executed;
step 206: network device 22 adds ID-a as an account contact for ID-B; adding ID-B as an account contact of ID-A;
the network device 22 updates the contact person corresponding relation of the ID-A in the network device;
the network device 22 updates the contact corresponding relation of the ID-B in the network device;
optionally, the network device 22 sends a message that the addition of the contact person is successful to the first terminal and the second terminal, and optionally, if the correspondence between the contact persons exists locally in the first terminal and the second terminal, the correspondence between the contact persons is updated according to the message that the addition of the contact person is successful, which is sent by the network device 22;
step 207: the network device 22 clears the waiting event of the request of the first terminal to add the account contact with the ID-B being ID-A; optionally, the network device 22 sends a message to the first terminal that the adding of the contact fails.
The embodiment of the invention obtains the Device identification information ID-B-Device of the second terminal through the first terminal, sends the request of adding the account contact person with ID-B as ID-A to the network Device, the request at least comprises the instant messaging application account of the first user, the Device identification information of the first terminal and the Device identification information of the second terminal, when the network Device receives the account contact person request of adding ID-B as ID-A sent by the first terminal, the network Device judges whether the request of adding the account contact person with ID-A as ID-B sent by the second terminal is received before the preset time is over, when the network Device receives the request of adding the account contact person with ID-A as ID-B sent by the second terminal before the preset time is over, the ID-A and the ID-B are mutually added as the account contact person, optionally, a message that the addition of the contact person is successful is sent to the first terminal and the second terminal, and optionally, if the correspondence of the contact person exists locally in the first terminal and the second terminal, the correspondence of the local contact person is updated according to the message that the addition of the contact person is successful, which is sent by the network device; when the network equipment does not receive the request of adding the account contact person with the ID-A as the ID-B sent by the second terminal before the preset time is over, the network equipment eliminates a waiting event of the request of adding the account contact person with the ID-B as the ID-A by the first terminal; optionally, a message that the adding of the contact fails is sent to the first terminal. The technical scheme provided by the embodiment of the invention avoids the situation of input error when the user manually adds the contact, simplifies the operation process of adding the contact by the user and improves the user experience; meanwhile, the process of processing the request for adding the contact person by the network equipment is simplified.
Example two:
the second embodiment of the present invention provides a terminal, which can be used to execute the method described in the first embodiment of the present invention. Fig. 3 shows a structure of a terminal 300 according to a second embodiment of the present invention.
The terminal may be a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, and other terminal devices, taking the terminal as a mobile phone as an example, and fig. 3 shows a structural diagram of a part of a structure of the terminal 300 related to the terminal provided in the embodiment of the present invention. Referring to fig. 3, the terminal 300 includes components such as a radio frequency unit 310, a memory 320, an input unit 330, a display unit 340, a sensor 350, an audio circuit 360, a Wireless Fidelity (WiFi) module 370, a bluetooth module 395, a processor 380, a speaker 361, a microphone 362, and a power supply 390. Those skilled in the art will appreciate that the handset architecture shown in fig. 3 is by way of example only, is not intended to be limiting, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The various components of the terminal 300 will now be described in detail with reference to fig. 3:
the rf unit 310 may be used as one of the terminal transceivers, and is configured to receive and transmit signals during a message transmission and reception process or a call process, and in particular, to receive downlink information of a base station and then process the received downlink information to the processor 380; in addition, the data for designing uplink is transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, an LNA (low noise Amplifier), a duplexer, and the like. In addition, the radio unit 310 may also communicate with network devices and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like. The radio frequency unit in the embodiment of the invention can be used for communicating with the network equipment.
The memory 320 may be used to store instructions and data, and the memory 320 may mainly include an instruction storage area and a data storage area, wherein the instruction storage area may store an operating system, instructions required for at least one function, and the like; the instructions may cause the processor 380 to perform a method comprising: receiving an operation command of a first user for adding a contact person, judging whether a Bluetooth communication identifier of a second terminal for starting a Bluetooth function contains equipment identification information of the second terminal or not when the operation command of the first user for adding the contact person is received, wherein the equipment identification information of the terminal is unique information capable of identifying the terminal, extracting the Bluetooth communication identifier of the second terminal when the Bluetooth communication identifier of the second terminal contains the equipment identification information of the second terminal, and acquiring equipment identification information ID-B-Device of the second terminal according to the Bluetooth communication identifier; when the Bluetooth communication identifier of the second terminal does not contain the equipment identification information of the second terminal, indicating the Bluetooth module to acquire the contact information of the second user from the second terminal and receiving the contact information of the second user sent by the second terminal; after acquiring the device identification information of the second terminal, sending a contact adding request for adding an account contact with ID-B being ID-A to network equipment, wherein the contact adding request at least comprises the instant messaging application account of the first user, the device identification information of the terminal 300 and the device identification information of the second terminal. When the operation command of adding the contact is received, the Bluetooth module is not started, and the processor can be further used for indicating the Bluetooth module to be started. Further, the memory 320 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 330 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the terminal 300. Specifically, the input unit 330 may include a touch panel 331 and other input devices 332. The touch panel 331, also referred to as a touch screen, can collect touch operations of a user (e.g., operations of the user on the touch panel 331 or near the touch panel 331 using any suitable object or accessory such as a finger, a stylus, etc.) on or near the touch panel 331, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 331 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 380, and can receive and execute commands sent by the processor 380. In addition, the touch panel 331 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 330 may include other input devices 332 in addition to the touch panel 331. In particular, other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 340 may be used to display information input by the user or information provided to the user and various menus of the terminal 300. The display unit 340 may include a display panel 341, and optionally, the display panel 341 may be configured in the form of an LCD (Liquid crystal display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch panel 331 can cover the display panel 341, and when the touch panel 331 detects a touch operation on or near the touch panel 331, the touch panel is transmitted to the processor 380 to determine the type of the touch event, and then the processor 380 provides a corresponding visual output on the display panel 341 according to the type of the touch event. Although in fig. 3, the touch panel 331 and the display panel 341 are two separate components to implement the input and output functions of the terminal 300, in some embodiments, the touch panel 331 and the display panel 341 may be integrated to implement the input and output functions of the terminal 300.
The terminal 300 may further include at least one sensor 350, such as an accelerometer sensor, for detecting mutual collision actions between the terminals, where the sensor 350 may detect the magnitude of acceleration in each direction (generally, three axes), and may be used to detect the mutual collision actions between the terminals, and specifically, when the accelerometer sensor detects the mutual collision actions between the terminals, the accelerometer sensor may report a collision event to the processor 380 or other communication modules; meanwhile, the accelerometer sensor can also be used for detecting the size and direction of gravity when the terminal is static, and can be used for identifying the application of the gesture of the mobile phone (such as horizontal and vertical screen switching, related games and magnetometer gesture calibration), the vibration identification related functions (such as pedometer and knocking) and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, an ambient light sensor, and a proximity sensor, which are also configurable in the terminal 300, detailed descriptions thereof are omitted.
Audio circuitry 360, speaker 361, microphone 362 may provide an audio interface between a user and terminal 300. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and the audio signal is converted by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and converted into audio data, and the audio data is processed by the audio data output processor 380 and then transmitted to, for example, another mobile phone through the rf unit 310, or the audio data is output to the memory 320 for further processing.
WiFi belongs to a short-distance wireless transmission technology, and the terminal 300 can help a user send and receive e-mails, browse web pages, access streaming media, and the like through the WiFi module 370, and it provides wireless broadband internet access for the user. Although fig. 3 shows the WiFi module 370, it is understood that it does not belong to the essential constitution of the terminal 300, and may be omitted entirely as needed within the scope not changing the essence of the invention.
Bluetooth is a short-range wireless communication technology. By using the bluetooth technology, the communication between mobile communication terminal devices such as a palm computer, a notebook computer, and a mobile phone can be effectively simplified, and the communication between the above devices and the Internet (Internet) can also be successfully simplified, so that the terminal 300 can more rapidly and efficiently transmit data between the terminal 300 and the Internet through the bluetooth module 395, thereby widening the way for wireless communication. Bluetooth technology is an open solution that enables wireless transmission of voice and data. In the embodiment of the present invention, the bluetooth module 395 is used to search for a terminal that turns on the bluetooth function. When the bluetooth communication identifier of the second terminal does not contain the contact information of the second user, the bluetooth module 395 requests the second terminal to acquire the contact information of the second user, and receives the contact information of the second user sent by the second terminal.
The processor 380 is a control center of the terminal 300, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the terminal 300 and processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby integrally monitoring the handset. Optionally, processor 380 may include one or more processing units; preferably, the processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 380. In this embodiment of the present invention, the processor 380 is further configured to call instructions and data in the memory to implement receiving an operation command of adding a contact by a first user, when the operation command of adding a contact by a first user is received, determine whether a bluetooth communication identifier of a second terminal that starts a bluetooth function includes Device identification information of the second terminal, where the Device identification information of the terminal is specifically information that can identify an identity of the terminal to be unique, extract the bluetooth communication identifier of the second terminal when the bluetooth communication identifier of the second terminal includes the Device identification information of the second terminal, and obtain Device identification information ID-B-Device of the second terminal according to the bluetooth communication identifier; when the Bluetooth communication identifier of the second terminal does not contain the equipment identification information of the second terminal, indicating the Bluetooth module to acquire the contact information of the second user from the second terminal and receiving the contact information of the second user sent by the second terminal; after acquiring the device identification information of the second terminal, sending a contact adding request for adding an account contact with ID-B being ID-A to network equipment, wherein the contact adding request at least comprises the instant messaging application account of the first user, the device identification information of the terminal 300 and the device identification information of the second terminal. If the Bluetooth module is not started when the terminal receives the operation command of adding the contact person, the processor can be further used for indicating the Bluetooth module to be started.
The terminal 300 also includes a power supply 390 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 380 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown, the terminal 300 may further include a camera, a flash, and the like, which will not be described in detail herein.
Example three:
an embodiment of the present invention provides an apparatus for a terminal, and referring to fig. 4, the apparatus includes:
the receiving module 401 is configured to receive an operation command for adding a contact, and may be a module that receives a mutual collision action between terminals that need to add a contact, or a module that receives an operation command for manually starting to add a contact by a user;
an obtaining module 402, configured to obtain device identification information of the second terminal;
a sending module 403, configured to send, to the network device, a request to add an instant messaging application account of a second user as an account contact of an instant messaging application account of the first user;
in a specific embodiment, the obtaining module 402 includes:
the determining unit 4021 is configured to determine whether the bluetooth communication identifier of the second terminal includes the device identification information of the terminal;
extraction unit 4022: the Bluetooth communication identifier of the terminal is extracted when the Bluetooth communication identifier of the second terminal contains the equipment identification information of the terminal;
an acquisition unit 4023: and the terminal is used for acquiring the equipment identification information of the terminal according to the extracted Bluetooth communication identifier.
Example four:
the embodiment of the invention provides network equipment which can be used for executing the method in the first embodiment of the invention. Fig. 5 is a block diagram illustrating a partial structure related to a network device according to an embodiment of the present invention. Those skilled in the art will appreciate that the network device architecture shown in fig. 5 is merely an example of an implementation and does not constitute a limitation of network devices, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. The following describes each component of the network device in detail with reference to fig. 5:
the network device includes: a transceiver 502, a memory 503, a processor 504;
the transceiver 502 is used for communicating with the terminal, and may be used for receiving a contact adding request sent by the first and second terminals; or used for sending a message that the adding of the contact person is successful to the first and second terminals after the processor 504 successfully adds the contact person; when the processor 504 receives a request for adding a contact with an ID-B as ID-a from the first terminal and does not receive a request for adding a contact with an ID-a as ID-B from the second terminal within a preset time, a message that the adding of a contact fails may be optionally sent to the first terminal through the transceiver 502.
The memory 503 may be used to store an operating system program and an application program, and may also store an instant messaging application account and a contact corresponding relationship of the instant messaging application account; the memory 503 may include read-only memory and random access memory; when the network device needs to be operated, the network device can be booted by a Basic Input Output System (BIOS) boot System which is solidified in the rom, and the network device is booted to enter a normal operation state. After the network device enters a normal operation state, the application is run, instructing the processor 504 to perform the following method: receiving a request for adding an account contact person with ID-B as ID-A sent by a first terminal, wherein the request for adding the account contact person with ID-B as ID-A sent by the first terminal at least comprises the following steps: the method comprises the steps that an instant messaging application account ID-A of a first user, equipment identification information ID-A-Device of a first terminal and equipment identification information ID-B-Device of a second terminal are obtained; the processor 504 determines whether a request for adding an account contact with ID-a as ID-B sent by the second terminal is received before the preset time is over; one embodiment of the processor 504 determining whether the request for adding the account contact with ID-a being ID-B sent by the second terminal is received before the preset time is over includes: the processor 504 creates a waiting event for the first terminal to add a request for an account contact with ID-B as ID-a; the waiting event of the request of the first terminal for adding the account contact with the ID-B as the ID-A is specifically as follows: waiting for an account contact adding request comprising the equipment identification information of the first terminal and the equipment identification information of the second terminal, namely: and waiting for a request sent by the second terminal to add an account contact with ID-A as ID-B. The request for adding the account contact with the ID-A as the ID-B sent by the second terminal at least comprises the following steps: the instant messaging application account ID-B of the second user, the Device identification information ID-B-Device of the second terminal and the Device identification information ID-A-Device of the first terminal. The processor 504 determines that the contact adding request sent by the second terminal corresponds to the contact adding request sent by the first terminal by recognizing that the account contact request sent by the first terminal with the added ID-B as the ID-A includes the Device identification information ID-A-Device of the first terminal and the Device identification information ID-B-Device of the second terminal, and the account contact request sent by the second terminal with the added ID-A as the ID-B also includes the Device identification information ID-A-Device of the first terminal and the Device identification information ID-B-Device of the second terminal, thereby determining that the contact adding request sent by the second terminal is a request for adding an account contact with the added ID-A as the ID-B. When the processor 504 determines that the request for adding the account contact with the ID-a being the ID-B sent by the second terminal is received before the preset time is over, the processor 504 adds the ID-a as the account contact with the ID-B, adds the ID-B as the account contact with the ID-a, and updates the account contact corresponding relationship of the ID-A, ID-B stored in the memory 503, and optionally sends a message that the addition of the contact is successful to the first and second terminals; when the processor 504 determines that the request for adding the account contact with the ID-a being ID-B sent by the second terminal is not received after the preset time, the processor 504 clears the waiting event of the request for adding the account contact with the ID-B being ID-a by the first terminal; optionally, a message that the adding of the contact fails is sent to the first terminal.
The processor 504 is configured to receive a request sent by a first terminal to add an account contact with ID-B being ID-a, where the request sent by the first terminal to add an account contact with ID-B being ID-a at least includes: the method comprises the steps that an instant messaging application account ID-A of a first user, equipment identification information ID-A-Device of a first terminal and equipment identification information ID-B-Device of a second terminal are obtained; the processor 504 determines whether a request for adding an account contact with ID-a as ID-B sent by the second terminal is received before the preset time is over; one embodiment of the processor 504 determining whether the request for adding the account contact with ID-a being ID-B sent by the second terminal is received before the preset time is over includes: the processor 504 creates a waiting event for the first terminal to add a request for an account contact with ID-B as ID-a; the waiting event of the request of the first terminal for adding the account contact with the ID-B as the ID-A is specifically as follows: waiting for an account contact adding request comprising the equipment identification information of the first terminal and the equipment identification information of the second terminal, namely: and waiting for a request sent by the second terminal to add an account contact with ID-A as ID-B. The request for adding the account contact with the ID-A as the ID-B sent by the second terminal at least comprises the following steps: the instant messaging application account ID-B of the second user, the Device identification information ID-B-Device of the second terminal and the Device identification information ID-A-Device of the first terminal. The processor 504 determines that the contact adding request sent by the second terminal corresponds to the contact adding request sent by the first terminal by recognizing that the account contact request sent by the first terminal with the added ID-B as the ID-A includes the Device identification information ID-A-Device of the first terminal and the Device identification information ID-B-Device of the second terminal, and the account contact request sent by the second terminal with the added ID-A as the ID-B also includes the Device identification information ID-A-Device of the first terminal and the Device identification information ID-B-Device of the second terminal, thereby determining that the contact adding request sent by the second terminal is a request for adding an account contact with the added ID-A as the ID-B. When the processor 504 determines that the request for adding the account contact with the ID-a being the ID-B sent by the second terminal is received before the preset time is over, the processor 504 adds the ID-a as the account contact with the ID-B, adds the ID-B as the account contact with the ID-a, and updates the account contact corresponding relationship of the ID-A, ID-B stored in the memory 503, and optionally sends a message that the addition of the contact is successful to the first and second terminals; when the processor 504 determines that the request for adding the account contact with the ID-a being ID-B sent by the second terminal is not received after the preset time, the processor 504 clears the waiting event of the request for adding the account contact with the ID-B being ID-a by the first terminal; optionally, a message that the adding of the contact fails is sent to the first terminal. Although not shown, the network device may also include a power supply or the like, which is not described in detail herein.
Example five:
an embodiment of the present invention provides an apparatus, referring to fig. 6, including:
a receiving module 601, configured to receive a request for adding an account contact with ID-B as ID-a sent by a first terminal;
a judging module 602, configured to judge whether a request for adding an account contact with ID-a being ID-B sent by the second terminal is received before the preset time is over;
in a specific embodiment, the determining module 602 may include:
a creating module 6021, configured to create a waiting event of the request of the first terminal to add the account contact whose ID-B is ID-a when the receiving module 601 receives the request of adding the account contact whose ID-B is ID-a sent by the first terminal; specifically, the waiting event is a request for adding an account contact including the device identification information of the first terminal and the device identification information of the second terminal, that is: and waiting for a request sent by the second terminal to add an account contact with ID-A as ID-B.
The contact adding module 603 is configured to add the ID-a as the account contact of the ID-B when receiving the request for adding the account contact of which the ID-a is the ID-B sent by the second terminal before the preset time is over; adding ID-B as an account contact of ID-A;
a clearing module 604, configured to clear a waiting event of the request of the first terminal to add an account contact with ID-B as ID-a when the receiving module 601 does not receive the request of adding an account contact with ID-a as ID-B sent by the second terminal before the preset time is over;
in a specific embodiment, the contact adding module 603 includes:
and the updating module 6031 is used for updating the account contact corresponding relation of the ID-A, ID-B. The account contact relation updating module is used for updating the account contact corresponding relation of the ID-A, ID-B in the network equipment when the receiving module 601 receives a request of adding an account contact with the ID-B as the ID-A, which is sent by a first terminal, and receives the request of adding the account contact with the ID-A as the ID-B, which is sent by a second terminal before the preset time is over;
the embodiment of the invention obtains the Device identification information ID-B-Device of the second terminal through the first terminal, sends the request of adding the account contact person with ID-B as ID-A to the network Device, the request at least comprises the instant messaging application account of the first user, the Device identification information of the first terminal and the Device identification information of the second terminal, when the network Device receives the account contact person request of adding ID-B as ID-A sent by the first terminal, the network Device judges whether the request of adding the account contact person with ID-A as ID-B sent by the second terminal is received before the preset time is over, when the network Device receives the request of adding the account contact person with ID-A as ID-B sent by the second terminal before the preset time is over, the ID-A and the ID-B are mutually added as the account contact person, optionally, a message that the addition of the contact person is successful is sent to the first terminal and the second terminal, and optionally, if the correspondence of the contact person exists locally in the first terminal and the second terminal, the correspondence of the local contact person is updated according to the message that the addition of the contact person is successful, which is sent by the network device; when the network equipment does not receive the request of adding the account contact person with the ID-A as the ID-B sent by the second terminal before the preset time is over, the network equipment eliminates a waiting event of the request of adding the account contact person with the ID-B as the ID-A by the first terminal; optionally, a message that the adding of the contact fails is sent to the first terminal. The technical scheme provided by the embodiment of the invention avoids the situation of input error when the user manually adds the contact, simplifies the operation process of adding the contact by the user and improves the user experience; meanwhile, the process of processing the request for adding the contact person by the network equipment is simplified.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above-mentioned embodiments are further described in detail for the purpose of illustrating the invention and the advantages thereof, it is to be understood that various embodiments may be combined, and the above-mentioned embodiments of the invention are not intended to limit the scope of the invention, and any combination, modification, equivalent replacement, improvement, etc. made within the spirit and principle of the invention should be included in the scope of the invention.

Claims (11)

1. A method of adding a contact, the method comprising:
the method comprises the steps that a first terminal receives operation of adding a contact person by a first user of the first terminal;
the first terminal acquires second equipment identification information of a second terminal;
the first terminal sends a request for adding a second user of the second terminal as a contact of the first user to network equipment; wherein the request includes at least first device identification information and second device identification information of the first terminal.
2. The method according to claim 1, characterized in that it comprises:
and the first terminal sends the first equipment identification information to the second terminal.
3. The method of claim 1, wherein the obtaining second device identification information of the second terminal comprises: and the first terminal acquires the identification information of the second equipment in a short-distance communication mode.
4. The method of claim 3, wherein the short-range communication comprises Bluetooth, infrared, or near field communication.
5. The method according to any of claims 1-4, wherein the operation of the first user of the first terminal to add a contact comprises a collision between the first terminal and the second terminal.
6. The method according to any one of claims 1 to 4,
the first equipment identification information is unique information capable of identifying the identity of the first terminal;
the second device identification information is unique information of whether the second terminal can be identified.
7. A first terminal for adding a contact, the first terminal comprising:
the receiving module is used for receiving an operation command of adding a contact person by a first user of the terminal;
the acquisition module is used for acquiring second equipment identification information of the second terminal;
a sending module, configured to send, to a network device, a request to add a second user of the second terminal as a contact of the first user; the request includes at least first device identification information and second device identification information of the first terminal.
8. The first terminal of claim 7, wherein the sending module is further configured to send the first device identification information to the second terminal.
9. The first terminal of claim 7, further comprising:
and the collision detection module is used for detecting mutual collision actions of the first terminal and the second terminal.
10. The first terminal of claim 7, wherein the obtaining module comprises:
the judging unit is used for judging whether the Bluetooth communication identifier of the second terminal contains the second equipment identification information;
an extracting unit, configured to extract the bluetooth communication identifier when the bluetooth communication identifier includes the second device identification information;
and the acquisition unit is used for acquiring the identification information of the second equipment according to the extracted Bluetooth communication identifier.
11. A system for adding contacts, comprising: the system comprises a first terminal and a second terminal, wherein the first terminal is connected with the second terminal in a short-distance communication mode;
the first terminal is used for receiving an operation command of adding a contact person by a first user of the first terminal; acquiring second equipment identification information of a second terminal; sending a first request for adding a contact person of a first user, which is a second user of the second terminal, to a network device, wherein the first request at least comprises first device identification information and second device identification information of the first terminal;
the second terminal is used for acquiring the identification information of the first equipment; and sending a second request for adding the contact of the first user as the second user to network equipment, wherein the second request at least comprises the first equipment identification information and the second equipment identification information.
CN201910943369.9A 2015-06-30 2015-06-30 Method and equipment for adding contact person Pending CN110855807A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910943369.9A CN110855807A (en) 2015-06-30 2015-06-30 Method and equipment for adding contact person

Applications Claiming Priority (2)

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

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201510379254.3A Division CN106331302B (en) 2015-06-30 2015-06-30 A kind of method and apparatus adding contact person

Publications (1)

Publication Number Publication Date
CN110855807A true CN110855807A (en) 2020-02-28

Family

ID=57607584

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201510379254.3A Active CN106331302B (en) 2015-06-30 2015-06-30 A kind of method and apparatus adding contact person
CN201910943369.9A Pending CN110855807A (en) 2015-06-30 2015-06-30 Method and equipment for adding contact person

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201510379254.3A Active CN106331302B (en) 2015-06-30 2015-06-30 A kind of method and apparatus adding contact person

Country Status (2)

Country Link
CN (2) CN106331302B (en)
WO (1) WO2017000495A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106686184A (en) * 2017-01-13 2017-05-17 北京搜狗科技发展有限公司 Contact person adding method, electronic devices and server
CN107770384B (en) * 2017-10-31 2021-04-23 广东小天才科技有限公司 Friend adding method, device and system and intelligent equipment
CN109120743B (en) * 2018-09-06 2021-08-24 腾讯科技(深圳)有限公司 Contact adding method and device, electronic equipment and storage medium
CN112738738B (en) * 2020-12-30 2022-05-31 南方科技大学 Friend adding method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808090A (en) * 2010-03-09 2010-08-18 上海华探通讯技术有限公司 On-site intelligent mobile information service system
CN102025655A (en) * 2010-12-08 2011-04-20 百度在线网络技术(北京)有限公司 Method and device for realizing instant messaging between mobile devices based on short distance communication
CN103841253A (en) * 2012-11-22 2014-06-04 腾讯科技(深圳)有限公司 Method and terminal for adding contact persons
US20140220897A1 (en) * 2013-02-01 2014-08-07 Min-Chuan Wan Pairing method between bluetooth devices and bluetooth system using the same
CN104202729A (en) * 2014-08-30 2014-12-10 腾讯科技(深圳)有限公司 Method, device and system for adding contact persons
CN104333643A (en) * 2013-07-22 2015-02-04 腾讯科技(深圳)有限公司 Method and system for adding contacts, and terminal

Family Cites Families (7)

* Cited by examiner, † Cited by third party
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
US8704863B2 (en) * 2010-04-07 2014-04-22 Apple Inc. Transitioning between circuit switched calls and video calls
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
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
CN104660494B (en) * 2015-02-11 2018-11-27 深圳市奔跑科技有限公司 A kind of communication system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808090A (en) * 2010-03-09 2010-08-18 上海华探通讯技术有限公司 On-site intelligent mobile information service system
CN102025655A (en) * 2010-12-08 2011-04-20 百度在线网络技术(北京)有限公司 Method and device for realizing instant messaging between mobile devices based on short distance communication
CN103841253A (en) * 2012-11-22 2014-06-04 腾讯科技(深圳)有限公司 Method and terminal for adding contact persons
US20140220897A1 (en) * 2013-02-01 2014-08-07 Min-Chuan Wan Pairing method between bluetooth devices and bluetooth system using the same
CN104333643A (en) * 2013-07-22 2015-02-04 腾讯科技(深圳)有限公司 Method and system for adding contacts, and terminal
CN104202729A (en) * 2014-08-30 2014-12-10 腾讯科技(深圳)有限公司 Method, device and system for adding contact persons

Also Published As

Publication number Publication date
CN106331302A (en) 2017-01-11
WO2017000495A1 (en) 2017-01-05
CN106331302B (en) 2019-10-22

Similar Documents

Publication Publication Date Title
CN108255683B (en) Method for prompting message in terminal and terminal
CN110147188B (en) Information prompting method, device, equipment and storage medium
CN109195143B (en) Network access method, mobile terminal and readable storage medium
CN107566980B (en) Mobile terminal positioning method and mobile terminal
CN108834132B (en) Data transmission method and equipment and related medium product
CN106681860B (en) A kind of data back up method and data backup device
CN104683301B (en) Password storage method and device
CN106550361B (en) Data transmission method, equipment and computer readable storage medium
CN108966317B (en) Network searching method based on mobile terminal and mobile terminal
CN106961710B (en) Network access method and terminal
CN109766119B (en) Recovery partition upgrade method, terminal and computer readable storage medium
CN112691363A (en) Cross-terminal switching method and related device for cloud games
CN110855807A (en) Method and equipment for adding contact person
CN106484563B (en) Data migration method and terminal equipment
CN106020945B (en) Shortcut item adding method and device
CN110418311B (en) Interconnection method and device based on multiple terminals and terminal
CN110602766B (en) Personal hotspot identification method and method for determining association relationship between terminals
CN105871910B (en) eSIM joint registration method and related equipment and system
CN111177612B (en) Page login authentication method and related device
WO2017000496A1 (en) Method and device for adding contact
CN105306611A (en) Method and device for identifying attribution of short message port number
CN112634885A (en) Voice wake-up method and device for cross-local area network
CN115794654A (en) Test case distribution processing method, system, equipment and storage medium
CN106535229B (en) WiFi signal receiving sensitivity testing method and mobile terminal
CN110908586A (en) Keyboard display method and device and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200228