[go: up one dir, main page]

CN107770384B - A friend adding method, device, system and smart device - Google Patents

A friend adding method, device, system and smart device Download PDF

Info

Publication number
CN107770384B
CN107770384B CN201711040323.3A CN201711040323A CN107770384B CN 107770384 B CN107770384 B CN 107770384B CN 201711040323 A CN201711040323 A CN 201711040323A CN 107770384 B CN107770384 B CN 107770384B
Authority
CN
China
Prior art keywords
identification string
string code
microphone
user
processing instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711040323.3A
Other languages
Chinese (zh)
Other versions
CN107770384A (en
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201711040323.3A priority Critical patent/CN107770384B/en
Publication of CN107770384A publication Critical patent/CN107770384A/en
Application granted granted Critical
Publication of CN107770384B publication Critical patent/CN107770384B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • 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/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention is applicable to the technical field of communication, and provides a friend adding method, a friend adding device, a friend adding system and intelligent equipment, wherein the friend adding method comprises the following steps: the first microphone exchanges identification serial codes with the second microphone in a near field communication mode; the first microphone sends the first identification string code of the first microphone and the second identification string code of the second microphone to a first intelligent terminal in a wireless mode, so that a first user can confirm whether to add a friend or not according to the first intelligent terminal. By the method, the friend can be added without inputting the friend account number, and the efficiency of adding the friend is improved.

Description

Friend adding method, device and system and intelligent equipment
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a friend adding method, device and system and intelligent equipment.
Background
With the coming of touch screen era, the intelligent terminal with the touch screen brings rich and colorful life experience to people, brings convenience to the life of people, and becomes an essential electronic product in the life of modern people. Various peripheral devices for the intelligent terminal are also proposed in the existing intelligent terminal, such as a microphone, and a user can interact with the intelligent terminal through the microphone. When an intelligent terminal user wants to add other intelligent terminal users as friends, the operation of inputting an account number on the intelligent terminal to add the friends is complicated, or the user cannot effectively add the friends when forgetting the account number.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, a system and an intelligent device for adding a friend, so as to solve the problem in the prior art that the operation of adding a friend by inputting an account on an intelligent terminal is complicated, or a friend cannot be effectively added when a user forgets the account.
The invention provides a friend adding method at a microphone side, which comprises the following steps:
the first microphone exchanges identification serial codes with the second microphone in a near field communication mode;
the first microphone sends the first identification string code of the first microphone and the second identification string code of the second microphone to a first intelligent terminal in a wireless mode, so that a first user can confirm whether to add a friend or not according to the first intelligent terminal.
The second aspect of the present invention provides a method for adding a friend at an intelligent terminal side, where the method for adding a friend includes:
after the first intelligent terminal acquires a first identification string code of a first microphone and a second identification string code of a second microphone, displaying a friend adding interface;
when a processing instruction of a first user is detected on the friend adding interface, the processing instruction of the first user, the first identification string code and the second identification string code are sent to a background server, so that the background server can process friend information according to the processing instruction, the first identification string code and the second identification string code.
A third aspect of the present invention provides a friend adding apparatus on a microphone side, where the friend adding apparatus includes:
the information exchange unit is used for exchanging the identification serial codes between the first microphone and the second microphone in a near field communication mode;
and the information sending unit is used for sending the first identification string code of the first microphone and the second identification string code of the second microphone to a first intelligent terminal in a wireless mode by the first microphone so that a first user can confirm whether to add a friend or not according to the first intelligent terminal.
The fourth aspect of the present invention provides a friend adding apparatus at an intelligent terminal side, where the friend adding apparatus includes:
the interface display unit is used for displaying a friend adding interface after the first intelligent terminal acquires the first identification string code of the first microphone and the second identification string code of the second microphone;
and the information processing unit is used for sending the processing instruction of the first user, the first identification string code and the second identification string code to a background server when the processing instruction of the first user is detected on the friend adding interface, so that the background server can process friend information according to the processing instruction, the first identification string code and the second identification string code.
A fifth aspect of the present invention provides a friend adding system, where the friend adding system includes: the system comprises a first microphone, a first intelligent terminal, a second microphone, a second intelligent terminal and a background server;
the first microphone is used for exchanging identification string codes with the second microphone in a near field communication mode; sending the first identification string code of the first microphone and the second identification string code of the second microphone to a first intelligent terminal in a wireless mode;
the first intelligent terminal is used for displaying a friend adding interface after acquiring a first identification string code of a first microphone and a second identification string code of a second microphone; when a processing instruction of a first user is detected on the friend adding interface, the processing instruction of the first user, the first identification string code and the second identification string code are sent to a background server;
the second microphone is used for exchanging identification string codes with the first microphone in a near field communication mode; wirelessly sending the first identification string code of the first microphone and the second identification string code of the second microphone to a second intelligent terminal;
the second intelligent terminal is used for displaying a friend adding interface after acquiring the first identification string code of the first microphone and the second identification string code of the second microphone; when a processing instruction of a second user is detected on the friend adding interface, the processing instruction of the second user, the first identification string code and the second identification string code are sent to a background server;
the background server is used for processing friend information according to the processing instruction of the first user, the processing instruction of the second user, the first identification string code and the second identification string code.
A sixth aspect of the present invention provides an intelligent device, including: a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the buddy adding method according to the first aspect as described above when executing the computer program.
A sixth aspect of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of the buddy adding method according to the first aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: according to the embodiment of the invention, the first microphone exchanges the identification string code with the second microphone in a short-distance communication mode, the first microphone sends the first identification string code of the first microphone and the second identification string code of the second microphone to the first intelligent terminal in a wireless mode, so that a first user can confirm whether to add a friend or not according to the first intelligent terminal, user information is exchanged through the microphone, the user does not need to input a friend account number, and does not worry about forgetting the friend account number and cannot add the friend account number, the operation of adding the friend is simple, and the efficiency of adding the friend is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described 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 inventive exercise.
Fig. 1 is a system framework diagram of a friend adding system according to an embodiment of the present invention;
fig. 2 is a flowchart of an implementation of a method for adding a friend at a microphone side according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating an implementation of a method for adding a friend in an intelligent terminal according to an embodiment of the present invention;
fig. 4 is a block diagram of a friend adding apparatus applied to a microphone according to an embodiment of the present invention;
fig. 5 is a block diagram of a friend adding apparatus applied to an intelligent terminal according to an embodiment of the present invention;
fig. 6 is a schematic diagram of an intelligent device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example one
Fig. 1 is a system architecture diagram illustrating a buddy adding system according to a first embodiment of the present invention, which is detailed as follows: for convenience of explanation, only portions related to the embodiments of the present invention are shown.
Referring to fig. 1, the friend adding system includes at least two microphones, including a first microphone 1 and a second microphone 3, including a first intelligent terminal 2, and at least two intelligent terminals, including a first intelligent terminal 4, and a background server 5, where:
the first microphone 1 is used for exchanging identification string with the second microphone 3 through a close-range communication mode. Specifically, the first microphone 1 sends the first identification string of the first microphone 1 to the second microphone 3 in a near field communication manner, and similarly, the second microphone 3 sends the second identification string of the second microphone 3 to the first microphone 1 in a near field communication manner. The identification string code is used for identifying the microphone, and the identification string code comprises user information and a unique identifier of the microphone. The first microphone 1 and the second microphone 3 exchange identification strings in a near field communication mode, so that information of a first user corresponding to the first microphone 1 and information of a second user corresponding to the second microphone 3 are exchanged.
In the embodiment of the present invention, the near field communication includes NFC near field communication, and the first microphone 1 exchanges an identification string with the second microphone 3 through the NFC near field communication. The first microphone 1 may also interact with the second microphone 3 to identify the serial code through short-range communication methods such as bluetooth, wireless, IrDA (Infrared Data Association, Infrared), ZigBee, and the like.
The first microphone 1 is further configured to send the first identification string of the first microphone 1 and the second identification string of the second microphone 3 to the first intelligent terminal 2 in a wireless manner, so that the first user can confirm whether to add a friend or not according to the first intelligent terminal 2.
The first intelligent terminal 2 is used for displaying a friend adding interface after acquiring a first identification string code of the first microphone 1 and a second identification string code of the second microphone 3; when a processing instruction of a first user is detected on the friend adding interface, the processing instruction of the first user, the first identification string code and the second identification string code are sent to a background server 5, so that the background server 5 can process friend information according to the processing instruction, the first identification string code and the second identification string code.
The second microphone 3 is configured to send the first identification string of the first microphone 1 and the second identification string of the second microphone 3 to the second intelligent terminal 4 in a wireless manner, so that the second user can confirm whether to add a friend according to the second intelligent terminal 4.
The second intelligent terminal 4 is used for displaying a friend adding interface after acquiring the first identification string code of the first microphone 1 and the second identification string code of the second microphone 3; when a processing instruction of a second user is detected on the friend adding interface, the processing instruction of the second user, the first identification string code and the second identification string code are sent to a background server 5, so that the background server 5 can process friend information according to the processing instruction, the first identification string code and the second identification string code.
The background server 5 is configured to receive a processing instruction, a first identification string code, and a second identification string code of a first user sent by the first intelligent terminal 2, and is further configured to receive a processing instruction, a first identification string code, and a second identification string code of a second user sent by the second intelligent terminal 4, and perform friend information processing according to the processing instruction of the first user, the processing instruction of the second user, and the first identification string code and the second identification string code sent by the first intelligent terminal 2 and the second intelligent terminal 4, respectively.
Specifically, the background server 5 compares whether the first identification string and the second identification string sent by the first intelligent terminal 2 are the same as the first identification string and the second identification string sent by the second intelligent terminal 4, so as to verify the first intelligent terminal 2 and the second intelligent terminal 4. Further, the background server 5 determines whether the processing instruction of the first user sent by the first intelligent terminal 2 and the processing instruction of the second user sent by the second intelligent terminal 4 are addition confirmation instructions, and if the processing instruction of the first user and the processing instruction of the second user are addition confirmation instructions, the first identification string and the second identification string are related. And if at least one of the processing instructions of the first user and the second user is addition refusal, feeding back friend addition failure information to the first intelligent terminal 2 and the second intelligent terminal 4.
Specifically, the intelligent terminal includes, but is not limited to, an intelligent terminal with a communication capability, such as a mobile phone, a notebook, a tablet computer, and the like.
Preferably, the friend adding system may establish wireless connection between the intelligent terminal and the microphone by using a bluetooth technology, a WIFI technology, a 3G/4G/5G technology, or the like.
In the first embodiment of the invention, a first microphone exchanges identification string codes with a second microphone in a near field communication mode, the first microphone sends a first identification string code of the first microphone and a second identification string code of the second microphone to a first intelligent terminal in a wireless mode, and the first intelligent terminal displays a friend adding interface after acquiring the first identification string code of the first microphone and the second identification string code of the second microphone; when a processing instruction of a first user is detected on the friend adding interface, the processing instruction, the first identification string code and the second identification string code of the first user are sent to the background server, the second intelligent terminal sends the processing instruction, the first identification string code and the second identification string code of the second user to the background server in the same mode, the background server carries out friend information processing according to information sent by the first intelligent terminal and the second intelligent terminal, the user does not need to input a friend account number, and does not worry about forgetting the account number and cannot add the friend information, so that the operation of adding the friend is simple, and the efficiency of adding the friend is improved.
Example two
Fig. 2 shows a flowchart of a friend adding method according to an embodiment of the present invention, in this embodiment, an execution subject of the flowchart is the microphone 1 shown in fig. 1, which is detailed as follows:
in step S201, the first microphone exchanges the identification string with the second microphone in the near field communication manner.
The identification string code comprises user information and a unique identifier of the microphone. The first identification string code in the first microphone comprises information of a first user and the unique identification of the first microphone, the second identification string code in the second microphone comprises information of a second user and the unique identification of the second microphone, the first microphone sends the first identification string code to the second microphone in a near field communication mode, and similarly, the second microphone sends the second identification string code to the first microphone in a near field communication mode.
In the embodiment of the invention, the near field communication mode comprises NFC near field communication, and the first microphone exchanges identification string codes with the second microphone through the NFC near field communication mode. The first microphone may also interact with the second microphone to identify the serial code through short-range communication methods such as bluetooth, wireless, IrDA (Infrared Data Association, Infrared), ZigBee, and the like, which is not limited herein.
Optionally, to avoid that the microphone is inadvertently touched to cause the identification string code call, the step S201 specifically includes:
and A1, acquiring a short-range communication starting instruction of the first microphone.
And A2, when the biological characteristic information in the close range communication starting instruction of the first microphone is matched with the pre-stored biological characteristic information, starting close range communication, and exchanging the identification string code with the second microphone in a close range communication mode.
The biological characteristic information comprises fingerprint information and voiceprint information. Correspondingly, different biological characteristic information is acquired by adopting a corresponding acquisition mode. When the biometric information to be collected includes fingerprint information, a fingerprint module may be disposed in the microphone, and the fingerprint information of the user is collected and identified through the fingerprint module. The fingerprint module may be an optical fingerprint module, a semiconductor fingerprint module, a radio frequency fingerprint module, or other types of fingerprint modules, and is not limited herein. When the biological characteristic information needing to be collected comprises voiceprint information, a voice instruction of a user can be received through a microphone, and the voiceprint information in the voice instruction of the user is collected based on a voiceprint recognition technology. The specific implementation manner of collecting voiceprint information can be realized by referring to the prior art, and is not described herein again.
Optionally, to avoid information leakage and ensure data security of the user, step S201 specifically includes:
and B1, when the distance between the first microphone and the second microphone is detected to be within a preset distance range, exchanging identification strings between the first microphone and the second microphone in a near field communication mode.
In the embodiment of the present invention, the preset distance range is a safe distance range in which the first microphone and the second microphone can exchange data in a short-range communication manner, and the preset distance range is preferably within 10cm or within 15 cm. Preferably, when at least two microphones are close to each other within a predetermined distance range, such as within 10cm, within 15cm or within a certain specific distance, the communication data between the microphones is reliable, and identity information leakage caused by miscommunication with microphones out of the predetermined distance range can be prevented.
Step S202, the first microphone sends the first identification string code of the first microphone and the second identification string code of the second microphone to a first intelligent terminal in a wireless mode, so that a first user can confirm whether to add a friend or not according to the first intelligent terminal.
Specifically, the first microphone sends the first identification string code and the second identification string code of the first microphone to the first intelligent terminal in a wireless mode such as Bluetooth and WiFi.
In the embodiment of the invention, the microphone and the intelligent terminal can be two independent devices or can be bound in a matching way. If the binding is matched, the identification string code on the microphone also comprises the equipment information of the bound intelligent terminal, and the state information of the microphone can be checked on the intelligent terminal or the related operation of the microphone is controlled by the intelligent terminal. For example, if the first microphone is bound with the first intelligent terminal in a matching manner, the user can check the connection state, the power state and the like of the first microphone through the first intelligent terminal, or adjust the volume of the first microphone through operation on the first intelligent terminal.
In the second embodiment of the present invention, the near field communication is started when the biometric information in the near field communication start instruction matches the pre-stored biometric information, the first microphone exchanges the identification string with the second microphone in the near field communication manner, and the near field communication is performed only when the distance between the first microphone and the second microphone is detected to be within the preset distance range, so as to avoid data leakage and improve the security of data exchange. The first microphone sends the first identification string code of the first microphone and the second identification string code of the second microphone to the first intelligent terminal in a wireless mode, so that a first user can confirm whether to add a friend or not according to the first intelligent terminal, user information is exchanged through the microphone, the user does not need to input a friend account number, the user does not need to worry about forgetting the account number and cannot add the friend, operation of adding the friend is simple, and efficiency of adding the friend is improved.
EXAMPLE III
Fig. 3 shows a flowchart of another friend adding method according to an embodiment of the present invention, in this embodiment, an execution subject of the flowchart is the intelligent terminal 2 shown in fig. 1, which is detailed as follows:
in step S301, after the first intelligent terminal obtains the first identification string of the first microphone and the second identification string of the second microphone, a friend adding interface is displayed.
Specifically, after the first intelligent terminal receives the first identification string code and the second identification string code sent by the first intelligent terminal in a wireless manner, a friend adding interface is displayed, so that the first user of the first intelligent terminal can confirm operations such as adding or rejecting adding on the friend adding interface.
Step S302, when a processing instruction of a first user is detected on the friend adding interface, the processing instruction of the first user, the first identification string code and the second identification string code are sent to a background server, so that the background server can process friend information according to the processing instruction, the first identification string code and the second identification string code.
Optionally, when the processing instruction is a touch instruction, in order to improve privacy of adding a friend and prevent others from adding a friend at will, the step S302 includes:
and C1, acquiring the fingerprint information in the processing instruction of the first user.
And C2, when the fingerprint information in the processing instruction of the first user is matched with the fingerprint information prestored in the first intelligent terminal, sending the processing instruction of the first user, the first identification string code and the second identification string code to a background server so that the background server can process friend information according to the first identification string code and the second identification string code. In the embodiment of the invention, when the processing instruction is a touch instruction, fingerprint information in the processing instruction is acquired, the fingerprint information is compared with fingerprint information prestored in the first intelligent terminal, if the fingerprint information is matched with the fingerprint information prestored in the first intelligent terminal, the processing instruction is confirmed to be sent by a first user, and at the moment, the processing instruction of the first user, the first identification string and the second identification string are sent to a background server, so that a friend is prevented from being added by others privately.
Optionally, the processing instruction of the first user includes confirming the addition or rejecting the addition. The step S302 includes:
d1, if the processing instruction of the first user includes confirmation addition, the processing instruction of the first user, the first identification string code and the second identification string code are sent to a background server, so that the background server associates the first identification string code with the second identification string code according to the processing instruction of the confirmation addition of the first user and the processing instruction of the confirmation addition of the second user corresponding to the second identification string code. Specifically, after associating the first identification string with the second identification string, the background server sends information of successful addition of the friend to the first intelligent terminal and the second intelligent terminal, and the first intelligent terminal and the second intelligent terminal respectively display an interface of successful addition of the friend.
D2, if the processing instruction of the first user includes addition refusal, sending the processing instruction of the first user, the first identification string code and the second identification string code to a background server, so that the background server feeds back friend addition failure information according to the first identification string code and the second identification string code.
It should be noted that, in the embodiment of the present invention, when the processing instruction of at least one user includes refusing to add, the backend server feeds back the friend addition failure information, and when the processing instruction of each user includes confirming to add, the backend server associates the identification string code sent by the intelligent terminal of each user, and successfully adds a friend.
In the third embodiment of the invention, after the first identification string code of the first microphone and the second identification string code of the second microphone are acquired by the first intelligent terminal, the friend adding interface is displayed, and when the processing instruction of the first user is detected on the friend adding interface, the processing instruction of the first user, the first identification string code and the second identification string code are sent to the background server, so that the background server processes friend information according to the processing instruction, the first identification string code and the second identification string code, and the user does not need to input a friend account number, worry about forgetting the account number and cannot add the friend information, so that the operation of adding the friend is simple, and the efficiency of adding the friend is improved. If the processing instruction is a touch instruction, whether the fingerprint information in the processing instruction is matched with the fingerprint information prestored in the first intelligent terminal or not is judged, so that the condition that friends are added by others privately is avoided, and the confidentiality of user information is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Example four
Corresponding to the friend adding method described in the second embodiment, fig. 4 is a block diagram illustrating a structure of a friend adding device according to an embodiment of the present invention, where the friend adding device is applicable to a microphone. For convenience of explanation, only portions related to the embodiments of the present invention are shown.
Referring to fig. 4, the friend adding apparatus includes: an information exchange unit 41, an information transmission unit 42, wherein:
the information exchange unit 41 is used for exchanging the identification string code between the first microphone and the second microphone in a near field communication mode;
and an information sending unit 42, configured to send, by the first microphone, the first identification string of the first microphone and the second identification string of the second microphone to the first intelligent terminal in a wireless manner, so that the first user can confirm whether to add a friend according to the first intelligent terminal.
Optionally, the information exchanging unit 41 specifically includes:
the starting instruction acquisition module is used for acquiring a near field communication starting instruction of the first microphone;
and the first information exchange module is used for starting the near field communication when the biological characteristic information in the near field communication starting instruction of the first microphone is matched with the prestored biological characteristic information, and exchanging the identification string code with the second microphone in a near field communication mode.
Optionally, the information exchanging unit 41 specifically includes:
and the second information exchange module is used for exchanging identification serial codes between the first microphone and the second microphone in a short-distance communication mode when the first microphone and the second microphone are detected to be within a preset distance range.
In the fourth embodiment of the present invention, the near field communication is started when the biometric information in the near field communication start instruction matches the pre-stored biometric information, the first microphone exchanges the identification string with the second microphone in the near field communication manner, and the near field communication is performed only when the distance between the first microphone and the second microphone is detected to be within the preset distance range, so as to avoid data leakage and improve the security of data exchange. The first microphone sends the first identification string code of the first microphone and the second identification string code of the second microphone to the first intelligent terminal in a wireless mode, so that a first user can confirm whether to add a friend or not according to the first intelligent terminal, user information is exchanged through the microphone, the user does not need to input a friend account number, the user does not need to worry about forgetting the account number and cannot add the friend, operation of adding the friend is simple, and efficiency of adding the friend is improved.
EXAMPLE five
Corresponding to the friend adding method described in the third embodiment, fig. 5 is a block diagram illustrating a structure of a friend adding apparatus according to an embodiment of the present invention. For convenience of explanation, only portions related to the embodiments of the present invention are shown.
Referring to fig. 5, the friend adding apparatus includes: an interface display unit 51, an information processing unit 52, wherein:
the interface display unit 51 is configured to display a friend adding interface after the first intelligent terminal acquires the first identification string of the first microphone and the second identification string of the second microphone;
the information processing unit 52 is configured to, when a processing instruction of a first user is detected on the friend adding interface, send the processing instruction of the first user, the first identification string code, and the second identification string code to a background server, so that the background server performs friend information processing according to the processing instruction, the first identification string code, and the second identification string code.
Optionally, when the processing instruction is a touch instruction, the information processing unit 52 specifically includes:
the fingerprint acquisition module is used for acquiring fingerprint information in the processing instruction of the first user;
and the first information processing module is used for sending the processing instruction of the first user, the first identification string code and the second identification string code to a background server when the fingerprint information in the processing instruction of the first user is matched with the fingerprint information prestored in the first intelligent terminal, so that the background server can process friend information according to the first identification string code and the second identification string code.
Optionally, the information processing unit 52 specifically includes:
the second information processing module is used for sending the processing instruction of the first user, the first identification string code and the second identification string code to a background server if the processing instruction of the first user comprises confirmation addition, so that the background server can associate the first identification string code with the second identification string code according to the processing instruction of the first user for confirmation addition and the processing instruction of the second user corresponding to the second identification string code for confirmation addition;
and the third information processing module is used for sending the processing instruction of refusing addition of the first user, the first identification string code and the second identification string code to the background server if the processing instruction of the first user comprises refusing addition, so that the background server feeds back friend addition failure information according to the first identification string code and the second identification string code.
In the fifth embodiment of the invention, after the first identification string code of the first microphone and the second identification string code of the second microphone are acquired by the first intelligent terminal, the friend adding interface is displayed, and when the processing instruction of the first user is detected on the friend adding interface, the processing instruction of the first user, the first identification string code and the second identification string code are sent to the background server, so that the background server processes friend information according to the processing instruction, the first identification string code and the second identification string code, and the user does not need to input a friend account number, worry about forgetting the account number and cannot add the friend information, so that the operation of adding the friend is simple, and the efficiency of adding the friend is improved. If the processing instruction is a touch instruction, whether the fingerprint information in the processing instruction is matched with the fingerprint information prestored in the first intelligent terminal or not is judged, so that the condition that friends are added by others privately is avoided, and the confidentiality of user information is improved.
Example six:
fig. 6 is a schematic diagram of an intelligent device according to an embodiment of the present invention. As shown in fig. 6, the smart device 6 of this embodiment includes: a processor 60, a memory 61 and a computer program 62, such as a buddy adding program, stored in said memory 61 and executable on said processor 60. The processor 60, when executing the computer program 62, implements the steps in the above-described respective buddy adding method embodiments, such as the steps 201 to 202 shown in fig. 2. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the units 41 to 42 shown in fig. 4.
Illustratively, the computer program 62 may be partitioned into one or more modules/units that are stored in the memory 61 and executed by the processor 60 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 62 in the smart device 6. For example, the computer program 62 may be divided into an information exchange unit and an information transmission unit, and the specific functions of each unit are as follows:
the information exchange unit is used for exchanging the identification serial codes between the first microphone and the second microphone in a near field communication mode;
and the information sending unit is used for sending the first identification string code of the first microphone and the second identification string code of the second microphone to a first intelligent terminal in a wireless mode by the first microphone so that a first user can confirm whether to add a friend or not according to the first intelligent terminal.
The smart device 6 may be a microphone. The smart device 6 may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is merely an example of a smart device 6 and does not constitute a limitation of the smart device 6 and may include more or fewer components than shown, or some components in combination, or different components, for example the smart device may also include input output devices, network access devices, buses, etc.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the intelligent device 6, such as a hard disk or a memory of the intelligent device 6. The memory 61 may also be an external storage device of the Smart device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the Smart device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the smart device 6. The memory 61 is used for storing the computer programs and other programs and data required by the smart device. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (6)

1. A friend adding method is characterized by comprising the following steps:
after the first intelligent terminal acquires the first identification string code of the first microphone and the second identification string code of the second microphone, a friend adding interface is displayed, so that a first user of the first intelligent terminal can confirm operations such as adding or refusing to add on the friend adding interface;
when a processing instruction of a first user is detected on the friend adding interface, the processing instruction of the first user, the first identification string code and the second identification string code are sent to a background server, so that the background server can process friend information according to the processing instruction, the first identification string code and the second identification string code, wherein the microphone and the intelligent terminal are two independent devices; the identification string code comprises user information and a unique identifier of the microphone;
when a processing instruction of a first user is detected on the friend adding interface, the processing instruction of the first user, the first identification string code and the second identification string code are sent to a background server, so that the background server can process friend information according to the processing instruction, the first identification string code and the second identification string code, and the method comprises the following steps:
if the processing instruction of the first user comprises a confirmation addition, the processing instruction of the first user, the first identification string code and the second identification string code are sent to a background server, so that the background server associates the first identification string code with the second identification string code according to the processing instruction of the first user for confirmation addition and the processing instruction of the second user corresponding to the second identification string code for confirmation addition;
and if the processing instruction of the first user comprises addition refusing, sending the addition refusing processing instruction of the first user, the first identification string code and the second identification string code to a background server so that the background server can feed back friend addition failure information according to the first identification string code and the second identification string code.
2. The friend adding method according to claim 1, wherein when the processing instruction is a touch instruction and the processing instruction of the first user is detected on the friend adding interface, the processing instruction of the first user, the first identification string and the second identification string are sent to a background server, so that the background server performs friend information processing according to the processing instruction, the first identification string and the second identification string, and the method includes:
acquiring fingerprint information in a processing instruction of the first user;
when the fingerprint information in the processing instruction of the first user is matched with the fingerprint information prestored in the first intelligent terminal, the processing instruction of the first user, the first identification string code and the second identification string code are sent to a background server, so that the background server can process friend information according to the first identification string code and the second identification string code.
3. A friend adding apparatus, wherein the friend adding apparatus comprises:
the interface display unit is used for displaying a friend adding interface after the first intelligent terminal acquires the first identification string code of the first microphone and the second identification string code of the second microphone, so that a first user of the first intelligent terminal can confirm operations such as adding or rejecting adding on the friend adding interface;
the information processing unit is used for sending the processing instruction of the first user, the first identification string code and the second identification string code to a background server when the processing instruction of the first user is detected on the friend adding interface, so that the background server can process friend information according to the processing instruction, the first identification string code and the second identification string code, wherein the microphone and the intelligent terminal are two independent devices; the identification string code comprises user information and a unique identifier of the microphone;
the information processing unit specifically includes:
the second information processing module is used for sending the processing instruction of the first user, the first identification string code and the second identification string code to a background server if the processing instruction of the first user comprises confirmation addition, so that the background server can associate the first identification string code with the second identification string code according to the processing instruction of the first user for confirmation addition and the processing instruction of the second user corresponding to the second identification string code for confirmation addition;
and the third information processing module is used for sending the processing instruction of refusing addition of the first user, the first identification string code and the second identification string code to the background server if the processing instruction of the first user comprises refusing addition, so that the background server feeds back friend addition failure information according to the first identification string code and the second identification string code.
4. A buddy adding system, characterized in that said buddy adding system comprises: the system comprises a first microphone, a first intelligent terminal, a second microphone, a second intelligent terminal and a background server;
the first microphone is used for exchanging identification string codes with the second microphone in a near field communication mode; sending the first identification string code of the first microphone and the second identification string code of the second microphone to a first intelligent terminal in a wireless mode;
the first intelligent terminal is used for displaying a friend adding interface after acquiring a first identification string code of a first microphone and a second identification string code of a second microphone, so that a first user of the first intelligent terminal can confirm operations such as adding or refusing to add on the friend adding interface; when a processing instruction of a first user is detected on the friend adding interface, the processing instruction of the first user, the first identification string code and the second identification string code are sent to a background server;
the second microphone is used for exchanging identification string codes with the first microphone in a near field communication mode; wirelessly sending the first identification string code of the first microphone and the second identification string code of the second microphone to a second intelligent terminal;
the second intelligent terminal is used for displaying a friend adding interface after acquiring the first identification string code of the first microphone and the second identification string code of the second microphone; when a processing instruction of a second user is detected on the friend adding interface, the processing instruction of the second user, the first identification string code and the second identification string code are sent to a background server;
the background server is used for processing friend information according to the processing instruction of the first user, the processing instruction of the second user, the first identification string code and the second identification string code, wherein the microphone and the intelligent terminal are two independent devices; the identification string code comprises user information and a unique identifier of the microphone.
5. A smart device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the buddy adding method according to any of claims 1-2 when executing the computer program.
6. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the buddy adding method according to any of claims 1-2.
CN201711040323.3A 2017-10-31 2017-10-31 A friend adding method, device, system and smart device Active CN107770384B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711040323.3A CN107770384B (en) 2017-10-31 2017-10-31 A friend adding method, device, system and smart device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711040323.3A CN107770384B (en) 2017-10-31 2017-10-31 A friend adding method, device, system and smart device

Publications (2)

Publication Number Publication Date
CN107770384A CN107770384A (en) 2018-03-06
CN107770384B true CN107770384B (en) 2021-04-23

Family

ID=61270909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711040323.3A Active CN107770384B (en) 2017-10-31 2017-10-31 A friend adding method, device, system and smart device

Country Status (1)

Country Link
CN (1) CN107770384B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343076A (en) * 2020-02-13 2020-06-26 广东小天才科技有限公司 A method and device for adding friends

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681161A (en) * 2015-08-20 2016-06-15 腾讯科技(深圳)有限公司 Method, device and system for adding friend account
CN106331302A (en) * 2015-06-30 2017-01-11 华为终端(东莞)有限公司 A method and device for adding contacts

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140148201A1 (en) * 2012-11-23 2014-05-29 Innovative Sonic Corporation Method and apparatus for direct device to device discovery in a wireless communication system
US9525970B2 (en) * 2014-10-09 2016-12-20 Tile, Inc. Power preservation through motion-activated location reporting
CN106803854A (en) * 2015-11-26 2017-06-06 阿里巴巴集团控股有限公司 Method, device and wearable device that information is received, sent
CN106686184A (en) * 2017-01-13 2017-05-17 北京搜狗科技发展有限公司 Contact person adding method, electronic devices and server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331302A (en) * 2015-06-30 2017-01-11 华为终端(东莞)有限公司 A method and device for adding contacts
CN105681161A (en) * 2015-08-20 2016-06-15 腾讯科技(深圳)有限公司 Method, device and system for adding friend account

Also Published As

Publication number Publication date
CN107770384A (en) 2018-03-06

Similar Documents

Publication Publication Date Title
EP3944588B1 (en) Method for uwb transaction and electronic device therefor
US8121359B2 (en) Fingerprint identification system and method of an electronic device
US20170154327A1 (en) Mobile Payment Method and Apparatus and Near Field Communication Device
CN104901805B (en) A kind of identification authentication methods, devices and systems
CN104581727A (en) Equipment connecting method and device and AP (access point) end electronic equipment
CN109951598B (en) Application interface display method and device, computer equipment and storage medium
CN105577375A (en) Identity authentication method and device
CN107005575A (en) A kind of smart card and its method of work with dynamic token OTP functions
CN108235293A (en) Business card interaction method and device and intelligent terminal
CN107948970A (en) System of real name method of network entry, system and the mobile terminal of subordinate terminal
CN103609095A (en) Wireless communication apparatus, information processing apparatus, communication system, and control method for wireless communication apparatus
CN105916135A (en) Method for carrying out NFC payment in virtual card terminal and virtual card terminal
CN103414560A (en) Starting method of application, device thereof, system thereof and application server
CN114372797B (en) Payment method, device, system, electronic device and computer-readable storage medium
EP3016342A1 (en) Mobile device, method for facilitating a transaction, computer program, article of manufacture
CN107770384B (en) A friend adding method, device, system and smart device
CN107609387A (en) Method and device for terminal unlocking, terminal equipment, and computer-readable storage medium
CN104023040A (en) Method and device for information processing
CN109299948A (en) Red packet sending method and device, wearable device and storage medium
CN112308569A (en) Application function calling method, device, terminal and storage medium
US9924009B2 (en) Method and apparatus for controlling call answer and mobile terminal using the same
CN104918230A (en) Card writing method, device and system
CN105530360B (en) Dual-system switching method and terminal
CN106170007A (en) Auth method and device
KR102172855B1 (en) Method for Providing Server Type One Time Code for Medium Separation by using User’s Handheld type Medium

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
GR01 Patent grant
GR01 Patent grant