CN110381059B - Method and device for adding friends based on biological recognition and computer equipment - Google Patents

Method and device for adding friends based on biological recognition and computer equipment Download PDF

Info

Publication number
CN110381059B
CN110381059B CN201910656420.8A CN201910656420A CN110381059B CN 110381059 B CN110381059 B CN 110381059B CN 201910656420 A CN201910656420 A CN 201910656420A CN 110381059 B CN110381059 B CN 110381059B
Authority
CN
China
Prior art keywords
user account
target user
information
friend
unique characteristic
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
CN201910656420.8A
Other languages
Chinese (zh)
Other versions
CN110381059A (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910656420.8A priority Critical patent/CN110381059B/en
Publication of CN110381059A publication Critical patent/CN110381059A/en
Application granted granted Critical
Publication of CN110381059B publication Critical patent/CN110381059B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0861Network architectures or network communication protocols for network security for authentication of entities using biometrical features, e.g. fingerprint, retina-scan

Abstract

The application relates to the technical field of biological identification, and provides a method, a device, computer equipment and a storage medium for adding friends based on biological identification, wherein the method comprises the steps of collecting unique characteristic information of a target user on a first user terminal; the unique characteristic information comprises any one of fingerprint information, palm print information, a face image, iris information and voiceprint information; acquiring a target user account corresponding to the unique characteristic information; and establishing a friend relationship between the first user account and the target user account, and adding the target user account into a friend list. According to the method and the device, only operation needs to be carried out on one terminal when the friend is added, and operation is simple when the friend is added.

Description

Method and device for adding friends based on biological recognition and computer equipment
Technical Field
The present application relates to the field of biometric identification technologies, and in particular, to a method and an apparatus for adding friends based on biometric identification, a computer device, and a storage medium.
Background
At present, one way of adding friends in social software is to search for and add corresponding friends by inputting a nickname or a user account number of the friend to be added, and the way of adding friends reveals user information; another way to add friends is to add friends by scanning the two-dimensional codes of the friends, which has very wide applicability and obvious advantages, the operation process of adding friends is relatively simple, and the user only needs to take out the mobile phone to scan the two-dimensional codes of other users. However, the method for adding friends is still tedious in actual operation, and requires the target user to open the social software on the mobile phone first, displaying a two-dimensional code corresponding to the social account number, then opening social software on the mobile phone by a requester, and scanning the two-dimensional code by using a scanning function to add friends; in the whole process, the mobile phone needs to be operated by two parties, and the process is complicated. Especially, when one of the mobile phones cannot be turned on without power or forgets to take the mobile phone, the mobile phone is very inconvenient.
Disclosure of Invention
The application mainly aims to provide a method, a device, computer equipment and a storage medium for adding friends based on biological identification, and overcomes the defect of complex operation when friends are added.
In order to achieve the above object, the present application provides a method for adding a friend based on biometric identification, which is applied to a first user terminal logged in with a first user account, and the method includes the following steps:
collecting unique characteristic information of a target user; the unique characteristic information comprises any one of fingerprint information, palm print information, a face image, iris information and voiceprint information;
acquiring a target user account corresponding to the unique characteristic information;
and establishing a friend relationship between the first user account and the target user account, and adding the target user account into a friend list.
Further, the step of obtaining the target user account corresponding to the unique feature information includes:
sending the unique characteristic information to a server so as to obtain a target user account corresponding to the unique characteristic information from the server; the server stores the corresponding relation between the unique characteristic information and the target user account.
Further, before the step of establishing a buddy relationship between the first user account and the target user account and adding the target user account to a buddy list, the method includes:
judging whether the first user account and the target user account are in a friend relationship or not; if not, executing a step of establishing a friend relationship between the first user account and the target user account and adding the target user account into a friend list; and if so, displaying the account information of the target user account.
Further, before the step of establishing a buddy relationship between the first user account and the target user account and adding the target user account to a buddy list, the method includes:
and sending a request for adding friends to the target user account to acquire confirmation information of agreeing to add friends from the target user account.
Further, before the step of establishing a buddy relationship between the first user account and the target user account and adding the target user account to a buddy list, the method includes:
popping up a password input interface, and displaying first reminding information in the interface, wherein the first reminding information is used for reminding the target user of agreeing to input a preset password added as a friend;
receiving an input password and acquiring a verification result of the password; and if the verification is passed, executing the steps of establishing the friend relationship between the first user account and the target user account and adding the target user account into a friend list.
Further, before the step of collecting the unique characteristic information of the target user, the method includes:
and when an instruction of adding a friend is received, popping up second reminding information, wherein the second reminding information comprises unique characteristic information for reminding the input of the target user.
Further, the second reminding information also comprises a type for reminding the user to select and input the unique characteristic information;
after the step of popping up the second reminding information after receiving the instruction of adding the friend, the method comprises the following steps:
popping up a plurality of selection boxes for selecting the type of the unique characteristic information from the plurality of selection boxes;
receiving a selection instruction of the unique characteristic information type made on the selection box.
The application also provides a device for adding friends based on biological identification, which is applied to a first user terminal logged in with a first user account, and the device comprises:
the acquisition unit is used for acquiring the unique characteristic information of the target user; the unique characteristic information comprises any one of fingerprint information, palm print information, a face image, iris information and voiceprint information;
the acquisition unit is used for acquiring a target user account corresponding to the unique characteristic information;
and the establishing unit is used for establishing the friend relationship between the first user account and the target user account and adding the target user account into a friend list.
The present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the above methods when executing the computer program.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of any of the above.
According to the method, the device, the computer equipment and the storage medium for adding the friends based on the biological identification, the unique characteristic information of the target user is directly collected on the first user terminal; the unique characteristic information comprises any one of fingerprint information, palm print information, a face image, iris information and voiceprint information; then acquiring a target user account corresponding to the unique characteristic information; and finally, establishing a friend relationship between the first user account and the target user account, and adding the target user account into a friend list. According to the method and the device, only operation needs to be carried out on one terminal when the friend is added, and operation is simple when the friend is added.
Drawings
FIG. 1 is a schematic diagram illustrating steps of a method for adding friends based on biometric identification according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating steps of a method for adding friends based on biometric identification according to another embodiment of the present application;
FIG. 3 is a block diagram of a device for adding friends based on biometric identification according to an embodiment of the present application;
FIG. 4 is a block diagram of a device for adding friends based on biometric identification in another embodiment of the present application;
fig. 5 is a block diagram illustrating a structure of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, the present application provides a method for adding friends based on biometric identification, which is applied to a first user terminal logged in with a first user account, and the method includes the following steps:
s1, collecting unique characteristic information of a target user; the unique characteristic information comprises any one of fingerprint information, palm print information, a face image, iris information and voiceprint information;
s2, acquiring a target user account corresponding to the unique characteristic information;
and S3, establishing a friend relationship between the first user account and the target user account, and adding the target user account into a friend list.
In the embodiment, the method is used in a scene of friend addition in social software. The first user terminal may be a mobile phone, a tablet, or other terminal device. The first user terminal is a terminal held by a first user, and the first user logs in a first user account on social software of the first user terminal.
As described in the step S1, when the first user needs to add the account of the target user as a friend, the first user may open a friend adding function corresponding to the social software on the first user terminal to open a page to which the friend is added, and the first user terminal may make a prompt in the page, where the prompt is used to prompt to collect unique feature information of the target user, where the unique feature information includes any one of fingerprint information, palm print information, face image, iris information, and voiceprint information, and the convenience of collecting the feature information is taken into consideration comprehensively, and the unique feature information is preferably fingerprint information.
Specifically, fingerprint information of the target user is acquired through a fingerprint identification sensor on the first user terminal, namely, the target user inputs the fingerprint information on the first user terminal of the requester (first user). In the process, the target user does not need to operate the terminal of the target user, and the operation is simplified.
It should be understood that the fingerprint information of each user has uniqueness, so that all user accounts registered with the social software and the fingerprint information uniquely corresponding to the user accounts can be stored in advance in the server corresponding to the social software; that is, when each user registers the social software account, the user may be required to bind unique feature information such as corresponding fingerprint information, and the account of each user only corresponds to one unique fingerprint information of the user. In some embodiments, the user account of the social software and the fingerprint information uniquely corresponding to the user account may also be stored in the first user terminal.
As described in step S2 above, since the fingerprint information has a unique corresponding relationship with the target user account, the target user account information corresponding to the fingerprint information may be directly obtained. It can be understood that in the process, the server may perform parsing on the fingerprint information to obtain the target user account.
Specifically, the step S2 includes:
sending the unique characteristic information to a server so as to obtain a target user account corresponding to the unique characteristic information from the server; the server stores the corresponding relation between the unique characteristic information and the target user account.
As stated in step S3, when the target user account corresponding to the unique feature information is obtained, the friend relationship between the first user account and the target user account may be directly established; the unique feature information is very private, each user is different, when the target user agrees to input the unique feature information into the first user account for friend addition, the target user can default that the target user intentionally establishes a friend relationship with the first user, and since the unique feature information of the target user is verified once, the friend relationship between the first user account and the target user account can be directly established at this time, so that the process of sending a request for adding friends to the target user account is omitted, and the target user does not need to agree to add friends. Therefore, the friend adding process of the first user is saved, and the friend adding process of the first user can be responded in time; meanwhile, the operation of the target user is simplified. In the process, the information of the first user and the target account is not revealed.
The scheme in the embodiment can be applied to the scene that the insurance agent goes out to find the clients, and when the clients are friends, if the existing method is used for friend adding, the operation is complex and inconvenient. By using the scheme, the addition of friends can be completed only by inputting the unique characteristic information on the terminal of the insurance agent by the client; the operation process can be greatly reduced, and the efficiency of adding friends is also improved. More beneficial are that: the user terminal takes a mobile phone as an example, the situation that the electric quantity of the mobile phone is insufficient or the mobile phone is forgotten to be taken occurs frequently in daily life, and at the moment, if the two-dimensional code is scanned, the addition of friends cannot be realized, which is very inconvenient. By the method, the friend relationship between the mobile phone and the mobile phone can be established only by one party using the mobile phone, and the method is very convenient.
In an embodiment, if the unique feature information is palm print information, a face image, iris information, and voiceprint information, after a page to which a friend is added is opened, the unique feature information of a target user is acquired through a palm print sensor, a camera, a microphone, and the like, which are correspondingly arranged on the first user terminal.
In the above embodiment, when the first user adds the target user as a friend, the first user usually knows whether the other user is a friend or not, and can directly add the target user as a friend; but when the number of first user buddies is large, it may not remember whether or not they are in a buddy relationship with the target user. Therefore, in an embodiment, before the step S3 of establishing a buddy relationship between the first user account and the target user account and adding the target user account to a buddy list, the method includes:
s2a, judging whether the first user account and the target user account are in a friend relationship or not;
if not, executing a step S3 of establishing a friend relationship between the first user account and the target user account and adding the target user account into a friend list; and if the friend relationship exists, displaying the account information of the target user account.
In another embodiment, when the target user account corresponding to the unique feature information is not obtained, a result that the friend cannot be queried is returned.
In an embodiment, before the step S3 of establishing a friend relationship between the first user account and the target user account and adding the target user account to a friend list, the method includes:
and S3a, sending a request for adding friends to the target user account to obtain confirmation information of agreeing to add the friends from the target user account.
In the embodiment, in order to enhance the privacy of the target user and enable the target user to have the authority of selecting whether to add the first user as a friend; a request for adding friends is sent to a target user account, and a confirmation instruction for confirming whether the target user agrees to add friends is made on a corresponding terminal of the target user; when the target user makes an operation of agreeing to add a friend, returning confirmation information agreeing to add the friend to the first user terminal of the first user, and then establishing the friend relationship between the first user account and the target user account. If the target user does not perform the operation of agreeing to add the friend (refusing or not responding), the friend relationship between the first user account and the target user account cannot be established.
In this embodiment, the process of sending the request for adding a friend to the target user account may be automatically sent after the target user account corresponding to the unique feature information is obtained; or automatically sending the first user account and the target user account after judging that the first user account and the target user account are not in a friend relationship; or after the target user account corresponding to the unique feature information is acquired, receiving a friend adding instruction made by the first user and sending the friend adding instruction.
Referring to fig. 2, in an embodiment, before the step S3 of establishing a buddy relationship between the first user account and the target user account and adding the target user account to a buddy list, the method includes:
step S301, popping up a password input interface, and displaying first reminding information in the interface, wherein the first reminding information is used for reminding the input of a preset password which is added as a friend and agrees to the target user;
step S302, receiving an input password and acquiring a verification result of the password;
and if the verification is passed, executing a step S3 of establishing a friend relationship between the first user account and the target user account and adding the target user account into a friend list.
In this embodiment, in order to further enhance the privacy of the target user account added as a friend, before establishing the friend relationship between the first user account and the target user account, the authority of the target user account added as a friend needs to be verified, where the authority is a preset password set by the target user for the target user account, and the preset password may be a password in any form.
In this embodiment, when a first user needs to add a target user as a friend, the first user needs to collect unique feature information of the target user and also needs to input a preset password set by the target user, and when the input password is verified correctly, a friend relationship between the first user account and the target user account is established, and the target user account is added in a friend list. According to the embodiment, the first user can be prevented from adding the target user as a friend at will, and the account privacy of the target user is guaranteed.
In an embodiment, before the step S1 of collecting the unique feature information of the target user, the method includes:
and S10, when receiving a friend adding instruction, popping up second reminding information, wherein the second reminding information comprises unique characteristic information for reminding the input of the target user.
In this embodiment, when the account of the first user needs to be added with a friend, the first user opens a friend adding function corresponding to the social software on the first user terminal, the first user terminal receives a friend adding instruction and opens a friend adding page, the first user terminal pops up a second reminding message in the page, the second reminding message is used for prompting to collect the unique feature information of the target user,
in an embodiment, the second reminding information further includes a type for reminding the user to select and input the unique feature information; the types of the unique feature information are fingerprint information, palm print information, face images, iris information and voiceprint information.
After the step S10 of popping up the second reminding information when the instruction of adding a friend is received, the method includes:
s11, popping up a plurality of selection boxes to select the type of the unique characteristic information from the selection boxes;
and step S12, receiving a selection instruction of the unique characteristic information type made on the selection frame.
In this embodiment, the plurality of boxes respectively display a type of unique feature information, the first user may make a selection instruction on any one of the boxes, and after receiving the corresponding selection instruction, the first user terminal controls the first user terminal to open the corresponding acquisition interface to acquire the unique feature information corresponding to the target user.
In summary, according to the method for adding friends based on biometric identification provided in the embodiment of the present application, the unique feature information of the target user is directly collected on the first user terminal; then acquiring a target user account corresponding to the unique characteristic information; and finally, establishing a friend relationship between the first user account and the target user account, and adding the target user account into a friend list. According to the method and the device, only operation needs to be carried out on the terminal of one party when the friend is added, and the operation is simple when the friend is added, so that the user experience is convenient to promote.
Referring to fig. 3, an embodiment of the present application further provides an apparatus for adding a friend based on biometric identification, where the apparatus is applied to a first user terminal logged in with a first user account, and the apparatus includes:
the acquisition unit 10 is used for acquiring the unique characteristic information of a target user; the unique characteristic information comprises any one of fingerprint information, palm print information, a face image, iris information and voiceprint information;
an obtaining unit 20, configured to obtain a target user account corresponding to the unique feature information;
the establishing unit 30 is configured to establish a friend relationship between the first user account and the target user account, and add the target user account to a friend list.
In this embodiment, the above scheme is used in a scenario where friend addition is performed in social software. The first user terminal may be a mobile phone, a tablet, or other terminal device. The first user terminal is a terminal held by a first user, and the first user logs in a first user account on social software of the first user terminal.
As described in the foregoing acquisition unit 10, when the first user needs to add the account of the target user as a friend, the first user may open a friend adding function corresponding to the social software on the first user terminal to open a page to which the friend is added, and the first user terminal may make a prompt in the page, where the prompt is used to prompt the acquisition unit 10 to acquire unique feature information of the target user, where the unique feature information includes any one of fingerprint information, palm print information, a face image, iris information, and voiceprint information, and the convenience of acquiring the feature information is taken into comprehensive consideration, and the unique feature information is preferably fingerprint information.
Specifically, the collecting unit 10 collects the fingerprint information of the target user through a fingerprint identification sensor on the first user terminal, i.e. the target user inputs the fingerprint information on the first user terminal of the requesting party (first user). In the process, the target user does not need to operate the terminal of the target user, and the operation is simplified.
It should be understood that the fingerprint information of each user has uniqueness, so that all user accounts registered with the social software and the fingerprint information uniquely corresponding to the user accounts can be stored in advance in the server corresponding to the social software; that is, when each user registers the social software account, the user may be required to bind unique feature information such as corresponding fingerprint information, and the account of each user only corresponds to one unique fingerprint information of the user. In some embodiments, the user account of the social software and the fingerprint information uniquely corresponding to the user account may also be stored in the first user terminal.
As described above in the acquiring unit 20, since the fingerprint information and the target user account have a unique corresponding relationship, the target user account information corresponding to the fingerprint information can be directly acquired. It can be understood that in the process, the server may perform parsing on the fingerprint information to obtain the target user account.
The acquiring unit 20 is specifically configured to:
sending the unique characteristic information to a server so as to obtain a target user account corresponding to the unique characteristic information from the server; the server stores the corresponding relation between the unique characteristic information and the target user account.
As described in the establishing unit 30, when the target user account corresponding to the unique feature information is obtained, the friend relationship between the first user account and the target user account may be directly established; the unique feature information is very private, each user is different, when the target user agrees to input the unique feature information into the first user account for friend addition, the target user can default that the target user intentionally establishes a friend relationship with the first user, and since the unique feature information of the target user is verified once, the friend relationship between the first user account and the target user account can be directly established at this time, so that the process of sending a request for adding friends to the target user account is omitted, and the target user does not need to agree to add friends. Therefore, the friend adding process of the first user is saved, and the friend adding process of the first user can be responded in time; meanwhile, the operation of the target user is simplified. In the process, the information of the first user and the target account is not revealed.
The scheme in the embodiment can be applied to the scene that the insurance agent goes out to find the clients, and when the clients are friends, if the existing method is used for friend adding, the operation is complex and inconvenient. By using the scheme, the addition of friends can be completed only by inputting the unique characteristic information on the terminal of the insurance agent by the client; the operation process can be greatly reduced, and the efficiency of adding friends is also improved. More beneficial are that: the user terminal takes a mobile phone as an example, the situation that the electric quantity of the mobile phone is insufficient or the mobile phone is forgotten to be taken occurs frequently in daily life, and at the moment, if the two-dimensional code is scanned, the addition of friends cannot be realized, which is very inconvenient. By the method, the friend relationship between the mobile phone and the mobile phone can be established only by one party using the mobile phone, and the method is very convenient.
In an embodiment, if the unique feature information is palm print information, a face image, iris information, and voiceprint information, after the page added with a friend is opened, the acquisition unit 10 acquires the unique feature information of the target user through a palm print sensor, a camera, a microphone, and the like, which are correspondingly disposed on the first user terminal.
In the above embodiment, when the first user adds the target user as a friend, the first user usually knows whether the other user is a friend or not, and can directly add the target user as a friend; but when the first user has a large number of buddies, it may not have remembered whether or not it is a buddy with the target user. Therefore, in an embodiment, the apparatus for adding a friend further includes:
the judging unit is used for judging whether the first user account and the target user account are in a friend relationship or not; if the relationship is not a friend relationship, establishing a friend relationship between the first user account and the target user account through an establishing unit 30, and adding the target user account into a friend list; and if the friend relationship exists, displaying the account information of the target user account.
In another embodiment, when the obtaining unit 20 does not obtain the target user account corresponding to the unique feature information, a result that a friend cannot be queried is returned.
In an embodiment, the apparatus for adding friends based on biometric identification further includes:
and the sending unit is used for sending a request for adding the friend to the target user account so as to acquire confirmation information of agreeing to be added as the friend from the target user account.
In the embodiment, in order to enhance the privacy of the target user and enable the target user to have the authority of selecting whether to add the first user as a friend; the sending unit needs to send a request for adding friends to a target user account, and the target user makes a confirmation instruction on a corresponding terminal to determine whether to approve adding friends; when the target user performs the operation of agreeing to add a friend, a confirmation message agreeing to add a friend is returned to the first user terminal of the first user, and then the establishing unit 30 establishes the friend relationship between the first user account and the target user account. If the target user does not perform the operation of agreeing to add the friend (refusing or not responding), the friend relationship between the first user account and the target user account cannot be established.
In this embodiment, the process of sending, by the sending unit, the request for adding a friend to the target user account may be automatically sent after the obtaining unit 20 obtains the target user account corresponding to the unique feature information; or the first user account and the target user account are automatically sent after the judging unit judges that the first user account and the target user account are not in a friend relationship; the obtaining unit 20 may also receive a friend adding instruction made by the first user after obtaining the target user account corresponding to the unique feature information.
Referring to fig. 4, in an embodiment, the apparatus for adding friends based on biometric identification further includes:
a first reminding unit 301, configured to pop up a password input interface and display first reminding information in the interface, where the first reminding information is used to remind the target user of inputting a preset password that the target user agrees to be added as a friend;
a first receiving unit 302, configured to receive an input password and obtain a verification result of the password; and if the verification is passed, establishing the friend relationship between the first user account and the target user account, and adding the target user account into a friend list.
In this embodiment, in order to further enhance the privacy of the target user account added as a friend, before establishing the friend relationship between the first user account and the target user account, the authority of the target user account added as a friend needs to be verified, where the authority is a preset password set by the target user for the target user account, and the preset password may be a password in any form.
In this embodiment, when a first user needs to add a target user as a friend, the first user not only needs to acquire unique feature information of the target user, but also needs to input a preset password set by the target user, and when the input password is verified correctly, a friend relationship between the first user account and the target user account is established, and the target user account is added to a friend list. According to the embodiment, the first user can be prevented from adding the target user as a friend at will, and the account privacy of the target user is guaranteed.
In an embodiment, the apparatus for adding a friend based on biometric identification further includes:
and the second reminding unit is used for popping up second reminding information when receiving a friend adding instruction, wherein the second reminding information comprises unique characteristic information for reminding the input of the target user.
In this embodiment, when the account of the first user needs to be added with a friend, the first user opens a friend adding function corresponding to the social software on the first user terminal, the second reminding unit receives a friend adding instruction and opens a friend adding page, the second reminding unit pops up second reminding information in the page, the second reminding information is used for prompting to collect unique feature information of the target user,
in an embodiment, the second reminding information further includes a type for reminding the user to select and input the unique feature information; the types of the unique feature information are fingerprint information, palm print information, face images, iris information and voiceprint information.
The above apparatus for adding friends based on biometric identification further includes:
the pop-up selection box unit is used for popping up a plurality of selection boxes so as to select the type of the unique characteristic information from the selection boxes;
a second receiving unit, configured to receive a selection instruction made on the selection box for the unique feature information type.
In this embodiment, the plurality of boxes respectively display a type of unique feature information, the first user may make a selection instruction on any one of the boxes, and after receiving the corresponding selection instruction, the second receiving unit controls the first user terminal to open the corresponding acquisition interface to acquire the unique feature information corresponding to the target user.
In summary, the device for adding friends based on biometric identification provided in the embodiment of the present application directly collects the unique feature information of the target user on the first user terminal; then acquiring a target user account corresponding to the unique characteristic information; and finally, establishing a friend relationship between the first user account and the target user account, and adding the target user account into a friend list. According to the method and the device, only operation needs to be carried out on the terminal of one party when the friend is added, and the operation is simple when the friend is added, so that the user experience is convenient to promote.
Referring to fig. 5, a computer device, which may be a server and whose internal structure may be as shown in fig. 5, is also provided in the embodiment of the present application. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing characteristic information and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program when executed by a processor implements a method for adding friends based on biometric identification.
The processor executes the steps of the method for adding friends based on biological identification:
collecting unique characteristic information of a target user; the unique characteristic information comprises any one of fingerprint information, palm print information, a face image, iris information and voiceprint information;
acquiring a target user account corresponding to the unique characteristic information;
and establishing a friend relationship between the first user account and the target user account, and adding the target user account into a friend list.
In an embodiment, the step of acquiring, by the processor, the target user account corresponding to the unique feature information includes:
sending the unique characteristic information to a server so as to obtain a target user account corresponding to the unique characteristic information from the server; the server stores the corresponding relation between the unique characteristic information and the target user account.
In an embodiment, before the step of establishing a buddy relationship between the first user account and the target user account and adding the target user account to a buddy list by the processor, the method includes:
judging whether the first user account and the target user account are in a friend relationship or not; if not, executing the step of establishing the friend relationship between the first user account and the target user account and adding the target user account into a friend list; and if so, displaying the account information of the target user account.
In an embodiment, before the step of establishing a buddy relationship between the first user account and the target user account and adding the target user account to a buddy list by the processor, the method includes:
and sending a request for adding friends to the target user account to acquire confirmation information of agreeing to add friends from the target user account.
In an embodiment, before the step of establishing a buddy relationship between the first user account and the target user account and adding the target user account to a buddy list by the processor, the method includes:
popping up a password input interface, and displaying first reminding information in the interface, wherein the first reminding information is used for reminding the input of a preset password which is added as a friend and agrees to the target user;
receiving an input password and acquiring a verification result of the password; and if the verification is passed, executing the steps of establishing the friend relationship between the first user account and the target user account and adding the target user account into a friend list.
In an embodiment, before the step of acquiring the unique characteristic information of the target user, the processor includes:
and when an instruction of adding a friend is received, popping up second reminding information, wherein the second reminding information comprises unique characteristic information for reminding the input of the target user.
In an embodiment, the second reminding information further includes a type of reminding a user to select and input the unique feature information;
when the processor receives an instruction of adding a friend, after the step of popping up the second reminding information, the method comprises the following steps:
popping up a plurality of selection boxes for selecting the type of the unique characteristic information from the plurality of selection boxes;
receiving a selection instruction of the unique characteristic information type made on the selection box.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is only a block diagram of some of the structures associated with the present solution and is not intended to limit the scope of the present solution as applied to computer devices.
An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a method for adding a friend based on biometric identification, and specifically includes:
collecting unique characteristic information of a target user; the unique characteristic information comprises any one of fingerprint information, palm print information, a face image, iris information and voiceprint information;
acquiring a target user account corresponding to the unique characteristic information;
and establishing a friend relationship between the first user account and the target user account, and adding the target user account into a friend list.
In an embodiment, the step of acquiring, by the processor, the target user account corresponding to the unique feature information includes:
sending the unique characteristic information to a server so as to obtain a target user account corresponding to the unique characteristic information from the server; the server stores the corresponding relation between the unique characteristic information and the target user account.
In an embodiment, before the step of establishing a buddy relationship between the first user account and the target user account and adding the target user account to a buddy list by the processor, the method includes:
judging whether the first user account and the target user account are in a friend relationship or not; if not, executing the step of establishing the friend relationship between the first user account and the target user account and adding the target user account into a friend list; and if so, displaying the account information of the target user account.
In an embodiment, before the step of establishing a buddy relationship between the first user account and the target user account and adding the target user account to a buddy list by the processor, the method includes:
and sending a request for adding friends to the target user account to acquire confirmation information of agreeing to add friends from the target user account.
In an embodiment, before the step of establishing a buddy relationship between the first user account and the target user account and adding the target user account to a buddy list by the processor, the method includes:
popping up a password input interface, and displaying first reminding information in the interface, wherein the first reminding information is used for reminding the target user of agreeing to input a preset password added as a friend;
receiving an input password and acquiring a verification result of the password; and if the verification is passed, executing the steps of establishing the friend relationship between the first user account and the target user account and adding the target user account into a friend list.
In an embodiment, before the step of acquiring the unique characteristic information of the target user, the processor includes:
and when an instruction of adding a friend is received, popping up second reminding information, wherein the second reminding information comprises unique characteristic information for reminding the input of the target user.
In an embodiment, the second reminding information further includes a type for reminding the user to select and input the unique feature information;
when the processor receives an instruction of adding a friend, after the step of popping up the second reminding information, the method comprises the following steps:
popping up a plurality of selection boxes for selecting the type of the unique characteristic information from the plurality of selection boxes;
receiving a selection instruction of the unique characteristic information type made on the selection box.
In summary, according to the method, the apparatus, the computer device and the storage medium for adding a friend based on biometric identification provided in the embodiment of the present application, the unique feature information of the target user is directly collected on the first user terminal; the unique characteristic information comprises any one of fingerprint information, palm print information, a face image, iris information and voiceprint information; then acquiring a target user account corresponding to the unique characteristic information; and finally, establishing a friend relationship between the first user account and the target user account, and adding the target user account into a friend list. According to the method and the device, only operation needs to be carried out on one terminal when the friend is added, and operation is simple when the friend is added.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by hardware associated with instructions of a computer program, which may be stored on a non-volatile computer-readable storage medium, and when executed, may include processes of the above embodiments of the methods. Any reference to memory, storage, database or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (SSRDRAM), enhanced SDRAM (ESDRAM), synchronous Link (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct Rambus Dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM), among others.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, apparatus, article, or method that comprises the element.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all the equivalent structures or equivalent processes that can be directly or indirectly applied to other related technical fields by using the contents of the specification and the drawings of the present application are also included in the scope of the present application.

Claims (8)

1. A method for adding friends based on biological identification is applied to a first user terminal logged with a first user account, and comprises the following steps:
acquiring unique characteristic information of a target user through an identification sensor on the first user terminal; the unique characteristic information comprises any one of fingerprint information, palm print information, a face image, iris information and voiceprint information;
sending the unique characteristic information to a server so as to obtain a target user account corresponding to the unique characteristic information from the server; the server and/or the first user terminal stores the corresponding relation between the unique characteristic information and the target user account;
popping up a password input interface, and displaying first reminding information in the interface, wherein the first reminding information is used for reminding the input of a preset password which is added as a friend and agrees to the target user;
receiving an input password and acquiring a verification result of the password; and if the verification is passed, establishing the friend relationship between the first user account and the target user account, and adding the target user account into a friend list.
2. The method of claim 1, wherein the step of establishing a friendship between the first user account and the target user account and adding the target user account to a buddy list is preceded by the step of:
judging whether the first user account and the target user account are in a friend relationship or not; if not, executing the step of establishing the friend relationship between the first user account and the target user account and adding the target user account into a friend list; and if so, displaying the account information of the target user account.
3. The method for adding friends based on biological identification according to claim 1, wherein the step of establishing the friend relationship between the first user account and the target user account and adding the target user account to a friend list is preceded by the step of:
and sending a request for adding friends to the target user account to acquire confirmation information of agreeing to add friends from the target user account.
4. The method for adding friends based on biological identification according to claim 1, wherein the step of collecting the unique characteristic information of the target user is preceded by:
and when an instruction of adding a friend is received, popping up second reminding information, wherein the second reminding information comprises unique characteristic information for reminding the input of the target user.
5. The method for adding friends based on biological identification according to claim 4, wherein the second reminding information further comprises a type of reminding selection input of the unique characteristic information;
after the step of popping up the second reminding information after receiving the instruction of adding the friend, the method comprises the following steps:
popping up a plurality of selection boxes for selecting the type of the unique characteristic information from the plurality of selection boxes;
receiving a selection instruction of the unique characteristic information type made on the selection box.
6. An apparatus for adding friends based on biometric identification, applied to a first user terminal logged in with a first user account, the apparatus comprising:
the acquisition unit is used for acquiring the unique characteristic information of a target user through the identification sensor on the first user terminal; the unique characteristic information comprises any one of fingerprint information, palm print information, a face image, iris information and voiceprint information;
the obtaining unit is used for sending the unique characteristic information to a server so as to obtain a target user account corresponding to the unique characteristic information from the server; the server and/or the first user terminal stores the corresponding relation between the unique characteristic information and the target user account;
and the establishing unit is used for establishing the friend relationship between the first user account and the target user account and adding the target user account into a friend list.
7. A computer arrangement comprising a memory and a processor, the memory having a computer program stored therein, characterized in that the processor, when executing the computer program, is adapted to carry out the steps of the method according to any of claims 1 to 5.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN201910656420.8A 2019-07-19 2019-07-19 Method and device for adding friends based on biological recognition and computer equipment Active CN110381059B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910656420.8A CN110381059B (en) 2019-07-19 2019-07-19 Method and device for adding friends based on biological recognition and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910656420.8A CN110381059B (en) 2019-07-19 2019-07-19 Method and device for adding friends based on biological recognition and computer equipment

Publications (2)

Publication Number Publication Date
CN110381059A CN110381059A (en) 2019-10-25
CN110381059B true CN110381059B (en) 2023-01-17

Family

ID=68254298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910656420.8A Active CN110381059B (en) 2019-07-19 2019-07-19 Method and device for adding friends based on biological recognition and computer equipment

Country Status (1)

Country Link
CN (1) CN110381059B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113299296A (en) * 2021-05-08 2021-08-24 深圳市沃特沃德信息有限公司 Friend making method and device based on voiceprint recognition and computer equipment
CN113645205B (en) * 2021-07-28 2023-05-12 上海纽盾网安科技有限公司 Safety control method, client and system for adding contact person for preventing phishing

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678605A (en) * 2013-12-16 2014-03-26 小米科技有限责任公司 Information transmission method and device and terminal device
CN105429848A (en) * 2015-10-23 2016-03-23 广东小天才科技有限公司 Method and system for adding friends via taking photos, and social system of social server
CN106209604A (en) * 2016-08-26 2016-12-07 北京小米移动软件有限公司 Add the method and device of good friend
CN107204910A (en) * 2016-03-20 2017-09-26 徐超 The method for searching good friend in social software using sound password
CN107360307A (en) * 2017-06-10 2017-11-17 努比亚技术有限公司 Account lookup method, device and computer-readable recording medium
CN108734582A (en) * 2018-05-21 2018-11-02 深圳市富途网络科技有限公司 A kind of securities account management method based on social relations and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107294832B (en) * 2016-03-30 2021-01-05 创新先进技术有限公司 Method and device for adding friends

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678605A (en) * 2013-12-16 2014-03-26 小米科技有限责任公司 Information transmission method and device and terminal device
CN105429848A (en) * 2015-10-23 2016-03-23 广东小天才科技有限公司 Method and system for adding friends via taking photos, and social system of social server
CN107204910A (en) * 2016-03-20 2017-09-26 徐超 The method for searching good friend in social software using sound password
CN106209604A (en) * 2016-08-26 2016-12-07 北京小米移动软件有限公司 Add the method and device of good friend
CN107360307A (en) * 2017-06-10 2017-11-17 努比亚技术有限公司 Account lookup method, device and computer-readable recording medium
CN108734582A (en) * 2018-05-21 2018-11-02 深圳市富途网络科技有限公司 A kind of securities account management method based on social relations and system

Also Published As

Publication number Publication date
CN110381059A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
US11381556B2 (en) Method and device for information interaction and association between human biological feature data and account
CN107070945B (en) Identity login method and equipment
CN108512829B (en) Information sharing method and device, computer equipment and storage medium
CN110099047B (en) Registration information processing method and device, computer equipment and storage medium
CN108833265B (en) Message processing method, device, server and storage medium
CN110381059B (en) Method and device for adding friends based on biological recognition and computer equipment
CN110519154B (en) Data transmission method, device, equipment and computer readable storage medium
CN110717156B (en) Identity authentication method, system, computer device and storage medium
CN104540129A (en) Registration and login method and system for third party application
CN111259358B (en) Login method, login device, computer equipment and storage medium
CN107995381B (en) Alarm terminal, cloud, alarm processing method of cloud and storage medium
CN108418809B (en) Chat data processing method and device, computer equipment and storage medium
CN109101201B (en) Business license self-service printing method and device, terminal equipment and storage medium
CN112233749B (en) Health detection report acquisition method and device, computer equipment and storage medium
CN113872990A (en) VPN network certificate authentication method and device based on SSL protocol and computer equipment
CN110928656B (en) Service processing method, device, computer equipment and storage medium
CN113905001A (en) Automatic reply method and device, computer equipment and readable storage medium
CN111787108B (en) Content sharing method, device, computer equipment and storage medium
CN112560815A (en) File calling method, device, medium and electronic equipment
CN110648052B (en) Wind control decision method and device, computer equipment and storage medium
CN111181832A (en) Account creating method, device, system, server and storage medium
CN110570203A (en) Transaction verification method and device, computer equipment and storage medium
CN111431857A (en) Authorized access method and device for super account book and storage medium
CN111400684A (en) Electronic certificate information acquisition method, system, device, equipment and storage medium
CN110597843A (en) Waybill query method and device, computer equipment and storage 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