Contact person adding method and device, equipment, readable storage medium and program product
By capturing palm print images in the target application and combining them with audio and voice confirmation, it is possible to add contacts without having to input or scan the other party's account, solving the problem of cumbersome operation in existing technologies, improving user experience and ensuring security.
Patent Information
- Application Number
- CN202410910846.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2026-01-09
AI Technical Summary
The existing technology for adding contacts is cumbersome and provides a poor user experience, requiring the other party to provide an account or scan an account, which is complicated.
By displaying a contact addition control in the target application's interface, capturing a palm print image, and automatically playing an audio prompt to add the account when the second account login location is the same or similar, combined with voice confirmation, it enables contact addition without the need to input or scan the other party's account.
It simplifies the contact addition process, improves user experience, ensures the effectiveness and security of the addition, and avoids information leakage.
Smart Images

Figure CN121309546A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of computers, and in particular to a contact adding method and device, computer equipment, a computer readable storage medium, and a computer program product. BACKGROUND
[0002] With the rapid development of computer technology, mobile communication and Internet technology have become an indispensable part of our daily life, and the contact between people has become closer, and the transmission of information has become faster and more convenient. Among them, the contact adding technology as an important part of information interaction is also developing and improving.
[0003] In related technologies, before the adding party adds a contact, the other party usually needs to provide an account, and the other party is added as the adding party's contact after the other party's account is input or scanned. This process is cumbersome and the user experience is poor. SUMMARY
[0004] Therefore, it is necessary to provide a contact adding method, device, computer equipment, computer readable storage medium, and computer program product that can improve the user experience in the contact adding process.
[0005] In a first aspect, the present application provides a contact adding efficiency method, comprising:
[0006] displaying an application interface of a target application, the target application being logged in with a first account, the application interface comprising a contact adding control, the contact adding control being used to collect a palmprint image;
[0007] in response to a triggering operation on the contact adding control, collecting a palmprint image;
[0008] if a terminal logged in with a second account associated with the palmprint image is located at a current login location of the first account, playing an audio for prompting account addition;
[0009] if a speaking voice for confirming account addition is collected and the speaking voice is associated with the second account, adding the second account as a contact of the first account.
[0010] In a second aspect, the present application further provides a contact adding device, comprising:
[0011] an interface display module configured to display an application interface of a target application, the target application being logged in with a first account, the application interface comprising a contact adding control, the contact adding control being used to collect a palmprint image;
[0012] an image collection module, configured to collect a palmprint image in response to a triggering operation on the contact adding control;
[0013] an audio playing module, configured to play audio for prompting account adding in a case where a terminal logged in by a second account associated with the palmprint image is located at a current login location of the first account.
[0014] an account adding module, configured to add the second account as a contact of the first account in a case where a speaking voice for confirming account adding is collected and the speaking voice is associated with the second account.
[0015] In some embodiments, the device further includes an image display module, the image collection module is configured to collect at least two palmprint images in response to a triggering operation on the contact adding control; and the image display module is configured to display a target palmprint image in the application interface in response to the target palmprint image meeting a display condition, the display condition being that the palmprint image contains a complete palmprint and the image definition reaches a set definition threshold.
[0016] In some embodiments, the device further includes an information display module, the information display module is configured to determine adjustment information about palmprint image collection based on palmprint positions in the at least two palmprint images and pose information of a terminal logged in by the first account in a case where none of the palmprint images meets the display condition, and display the adjustment information in the application interface, the adjustment information being used to prompt the terminal logged in by the first account to collect a palmprint image meeting the display condition after adjustment according to the adjustment information.
[0017] In some embodiments, the audio playing module is configured to obtain a current login location of the first account according to positioning information of the terminal logged in by the first account; and in a case where there are other account login terminals at the current login location of the first account, and the other account login terminals include a terminal logged in by a second account and the second account is associated with the collected palmprint image, generate corresponding audio for prompting account adding based on the second account, and play the audio.
[0018] In some embodiments, the audio playing module is further configured to extract a palmprint image feature from the collected palmprint image; in a case where there is another account login terminal at the current login location of the first account, acquire a login account of the other account login terminal, query palmprint image features of palmprint images associated with each of the login accounts, and in a case where the extracted palmprint image feature meets a similarity condition with a target palmprint image feature, take the login account associated with the target palmprint image feature as a second account, and generate corresponding audio for prompting account addition based on the second account.
[0019] In some embodiments, the audio playing module is further configured to extract a palmprint image feature from the collected palmprint image; compare the extracted palmprint image feature with palmprint image features in a palmprint feature library, in a case where the comparison result indicates that there is at least one similar palmprint image feature in the palmprint feature library, query accounts associated with the at least one similar palmprint image feature, determine locations of login terminals of the accounts associated with the at least one similar palmprint image feature, and in a case where a target account is logged in at the current login location of the first account, take the target account as a second account, and generate corresponding audio for prompting account addition based on the second account.
[0020] In some embodiments, the device further comprises an account association module, which is configured to, in a case where a speaking sound for confirming account addition is collected, extract a voiceprint feature from the speaking sound, and acquire a voiceprint registered account corresponding to the voiceprint feature from a voiceprint feature library; and in a case where the voiceprint registered account is a second account associated with the palmprint image, determine that the speaking sound is associated with the second account.
[0021] In some embodiments, the account adding module is configured to, in a case where a terminal logged in by a second account associated with the palmprint image is not located at the current login location of the first account, send a contact adding request to the terminal logged in by the second account; and in a case where an account addition confirmation response is received from the terminal logged in by the second account in response to the contact adding request, add the second account as a contact of the first account.
[0022] In some embodiments, the image collecting module is further configured to, in response to a triggering operation on the contact adding control, display an adding mode list, the adding mode list including a palmprint adding mode and other adding modes; and in response to a selection operation on the palmprint adding mode, collect a palmprint image.
[0023] In some embodiments, the image acquisition module is further configured to acquire a scene image in response to a trigger operation of adding a control to the contact; display a list of addition methods including palmprint addition methods if the scene image indicates that the current scene is not crowded; and acquire a palmprint image in response to a selection operation of the palmprint addition method.
[0024] In some embodiments, the audio playback module is configured to determine the second account associated with the palmprint image, obtain the contact list of the first account, and, if the second account is not included in the contact list of the first account and the terminal logged in by the second account is located at the current login location of the first account, play an audio prompt to add the account.
[0025] In some embodiments, the account adding module is configured to, when a voice recording for confirming account addition is collected and the voice recording is associated with each of the accounts, display a list of accounts to be added in the application interface, the list of accounts to be added including each account and the application identifier to which it is logged in; and in response to the selection of a target account in the list of accounts to be added, add the target account as a contact of the first account.
[0026] In some embodiments, the image acquisition module is further configured to, upon verification that the first account belongs to the palmprint image whitelist, in response to the triggering operation of the contact addition control, display a list of addition methods including palmprint addition methods; and in response to the selection operation of the palmprint addition method, acquire a palmprint image.
[0027] In some embodiments, the image acquisition module is further configured to acquire a scene in response to a trigger operation of adding the contact control; if a palm print appears in the acquired scene and an account addition authorization instruction is acquired simultaneously, the palm print image is extracted from the scene; if the terminal logged in by the second account associated with the palm print image is located at the current login location of the first account and the account addition authorization instruction indicates automatic account addition, the second account is automatically added as a contact of the first account.
[0028] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the above-described contact addition method.
[0029] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described contact addition method.
[0030] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the above-described contact addition method.
[0031] The aforementioned contact addition method, apparatus, computer device, computer-readable storage medium, and computer program product, when logged into a target application with a first account, promptly display a contact addition control for the account addition function through the application interface of the target application. In response to a trigger operation on the contact addition control, a palmprint image is captured. This allows for accurate retrieval of associated second accounts using the palmprint image as an account index. Furthermore, to ensure the validity of the palmprint image acquisition, it is necessary to ensure that the login location of the second account is the same as or close to the login location of the first account. When the terminal logged into by the second account associated with the palmprint image is located at the current login location of the first account, without any trigger operation, an audio prompt for account addition is automatically played to determine whether the second account is allowed to be added. If a voice confirming account addition is captured and the voice is associated with the second account, it indicates that the second account is allowed to be added as a contact of the first account. Throughout the process, based on the login location and audio, the validity and security of contact addition are ensured. Under this premise, using the palmprint image as an account index eliminates the need to input or scan the other party's account, simplifying the contact addition process and improving the user experience. Attached Figure Description
[0032] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0033] Figure 1 An application environment diagram of the contact addition method in one embodiment;
[0034] Figure 2 A flowchart illustrating a method for adding contacts in one embodiment;
[0035] Figure 3 This is a schematic diagram of acquiring a palm print image in one embodiment;
[0036] Figure 4 This is a schematic diagram illustrating the addition of a list of methods in one embodiment;
[0037] Figure 5 This is a flowchart illustrating the second account determination step in one embodiment;
[0038] Figure 6 This is a schematic diagram of the palmprint image feature storage process in one embodiment;
[0039] Figure 7 This is a flowchart illustrating the second account determination step in another embodiment;
[0040] Figure 8 Add a schematic diagram of the contact person in one embodiment;
[0041] Figure 9 This is a schematic diagram of a palm print image that meets the automatic addition conditions in one embodiment;
[0042] Figure 10 A flowchart illustrating the steps for adding a contact in one embodiment;
[0043] Figure 11 A structural block diagram of a contact adding device in one embodiment;
[0044] Figure 12 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0045] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0046] First, let me explain the terms used in this application:
[0047] Canny edge detection algorithm: an edge detection algorithm widely used in image segmentation.
[0048] Gabor filter: A type of filter commonly used in image processing to extract local features of an image.
[0049] HOG features: Histogram of Oriented Gradients, a method for image feature extraction.
[0050] Euclidean distance: a method for calculating the similarity between vectors.
[0051] Cosine similarity: a method for calculating the angle between vectors, used to measure the similarity between them. It can handle high-dimensional vectors and is computationally efficient for sparse vectors. Cosine similarity is obtained by calculating the dot product of two vectors and dividing by their magnitudes. The value of cosine similarity ranges from -1 to 1, where 1 represents identical vectors, 0 represents completely unrelated vectors, and -1 represents completely opposite vectors. The formula for calculating cosine similarity is: cos(θ) = (A • B) / (||A|| × ||B||). In the formula, A and B are two vectors, A • B is their dot product, and ||A|| and ||B|| are their magnitudes.
[0052] In related technologies, during the process of adding a contact, the adding party needs to obtain the account of the person being added. Then, the adding party needs to manually enter or scan the account information of the person being added. The whole process is cumbersome and results in a poor user experience.
[0053] In view of this, the contact addition method provided in this application embodiment, in a target application logged in with a first account, displays a contact addition control for the account addition function in a timely manner through the application interface of the target application. In response to a trigger operation on the contact addition control, a palmprint image is acquired. This allows for accurate searching of the associated second account using the palmprint image as an account index. Furthermore, to ensure the validity of the palmprint image acquisition, it is necessary to ensure that the login location of the second account is the same as or close to the login location of the first account. When the terminal logged in by the second account associated with the palmprint image is located at the current login location of the first account, without any trigger operation, an audio prompt for account addition is automatically played to determine whether the second account is allowed to be added. If a voice confirming account addition is acquired and the voice is associated with the second account, it indicates that the second account is allowed to be added as a contact of the first account. Throughout the process, based on the login location and audio, the validity and security of contact addition are ensured. Under this premise, using the palmprint image as an account index eliminates the need to input or scan the other party's account, simplifying the contact addition process and improving the user experience during the contact addition process.
[0054] The contact addition method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, the first terminal 102 communicates with the server 104 via a network. The second terminal 106 also communicates with the server 104 via a network. A data storage system can store the data that the server 104 needs to process. The data storage system can be integrated onto the server 104, or it can be located in the cloud or on another network server. The first terminal 102 and the server 104 can collaboratively execute the contact addition method, or the first terminal 102 can execute the contact addition method independently.
[0055] Taking the first terminal 102 executing the contact addition method alone as an example. The first terminal 102 deploys the target application, and the target application on the first terminal 102 is logged in with the first account. The first terminal 102 displays the application interface of the target application, which includes a contact addition control for collecting a palmprint image. In response to the trigger operation of the contact addition control, the first terminal 102 collects the palmprint image. If the second terminal 106, which is logged in with the second account associated with the palmprint image, is located at the current login location of the first account, the first terminal 102 plays an audio prompt to add the account. If the first terminal 102 collects a voice message to confirm the account addition, and the voice message is associated with the second account, the first terminal 102 adds the second account as a contact of the first account.
[0056] Taking the method of adding contacts collaboratively by the first terminal 102 and the server 104 as an example, the first terminal 102 displays the application interface of the target application, which includes a contact adding control for collecting palmprint images. The first terminal 102 collects palmprint images in response to the trigger operation of the contact adding control. The first terminal 102 sends the location information of the current login location of the first account to the server 104. Based on the location information, the server 104 determines other terminals located at the current login location, including the second terminal 106, and returns the accounts bound to the other terminals to the first terminal 102. The first terminal 102 determines whether there is a second account associated with the palmprint image among the obtained accounts. If so, the first terminal 102 plays an audio prompt to add the account. If the first terminal 102 collects the voice used to confirm the account addition and the voice is associated with the second account, the first terminal 102 adds the second account as a contact of the first account.
[0057] The first terminal 102 is the terminal logged in by the adding party with a first account, and the second terminal 106 is the terminal logged in by the added party with a second account. Terminals can be, but are not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, and projection devices. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted displays. Head-mounted displays can be virtual reality (VR) devices, augmented reality (AR) devices, and smart glasses. Server 104 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0058] In one exemplary embodiment, such asFigure 2 As shown, a method for adding contacts is provided, which can be applied to... Figure 1 Taking the first terminal 102 as an example, the explanation includes the following steps S202 to S208. Wherein:
[0059] Step S202: Display the application interface of the target application. The target application is logged in with the first account. The application interface includes a contact addition control, which is used to collect palm print images.
[0060] The target application is an application with instant messaging functionality, such as a social networking application, payment application, or game application. The first account is the account used for instant messaging; this first account is the account of the person adding the account on the target application.
[0061] The Contact Addition control is the entry point for enabling contact addition. The Contact Addition control is used to collect images of at least one biometric feature, including but not limited to palm prints, fingerprints, lip prints, and facial features.
[0062] A palm print image is an image that contains palm prints.
[0063] In some embodiments, in applications with payment functionality, such as payment applications, the biometrics can be used not only to search for payment accounts but also for searching for instant messaging accounts. Therefore, the method further includes: the application interface including a data acquisition control; in response to a triggering operation on the data acquisition control, a data acquisition query pop-up window is displayed, including contact addition options and payment options; in response to a triggering operation on the contact addition option, a contact addition control is displayed; or, in response to a triggering operation on the contact addition option, the acquisition of a palm print image begins.
[0064] Step S204: In response to the triggering operation of adding a control to a contact, a palm print image is captured.
[0065] For example, when the first terminal verifies that its pose meets the acquisition conditions, in response to the triggering operation of adding a control to the contact, the first terminal begins to acquire at least one palm print image.
[0066] The acquisition conditions are as follows: the first terminal is parallel to the palm print of the hand to be acquired; or the acquisition conditions are as follows: the first terminal is parallel to the palm print of the hand to be acquired, and the interval between the first terminal and the palm print is within a preset range, without any specific limitation.
[0067] For example, such as Figure 3 The image shown is a schematic diagram of acquiring a palm print image in one embodiment. Figure 3 In the middle, the surface of the palm is parallel to the surface of the camera on the first terminal.
[0068] It should be noted that when adding contacts in public places, the existing technologies can easily lead to the leakage of the added party's account information, failing to guarantee the added party's privacy. This application, however, adds contacts by collecting palm print images, thus avoiding the exposure of the added party's information and providing higher security. Furthermore, the existing technologies have other inconveniences, such as the added party's device not being able to display their account, or the adding party's device not being able to scan. In comparison, the palm print image method used in this application is more convenient for adding contacts.
[0069] In some embodiments, in response to a triggering operation of adding a control to a contact, acquiring palm print images includes: in response to a triggering operation of adding a control to a contact, acquiring at least two palm print images.
[0070] For example, in response to a triggering operation of adding a control to a contact, at least two palmprint images of the hand to be collected are captured from different shooting angles using a camera configured on the first terminal. The at least two captured palmprint images are displayed in the shooting interface, and in response to a selection operation of the target palmprint image among the at least two palmprint images, the target palmprint image is displayed in the application interface.
[0071] In another example, the method further includes: exemplarily, in response to a triggered operation of adding a control to a contact, taking a picture of the palm to be captured using a camera configured on the first terminal, according to preset shooting parameters, to obtain a palmprint image. The preset shooting parameters are pre-set shooting parameters that ensure the captured palmprint image is clear and completely captures the palmprint. Exemplarily, the preset shooting parameters include aperture, focal length, etc.
[0072] In this embodiment, after detecting the trigger operation of adding a control to a contact, in order to ensure the quality of data collection, the palm prints of the same hand to be collected are continuously collected to obtain multiple palm print images, so as to determine a clear and complete palm print image, which is convenient for subsequent accurate and quick querying of the associated second account.
[0073] In some embodiments, the method further includes: in response to any one of the target palmprint images among at least two palmprint images meeting the display conditions, displaying the target palmprint image in the application interface, wherein the display conditions are that the palmprint image contains a complete palmprint and the image clarity reaches a set clarity threshold.
[0074] For example, after acquiring at least two palmprint images, the first terminal sequentially verifies whether each palmprint image meets the display conditions, obtaining a verification result. If the verification result indicates that at least one of the at least two palmprint images meets the display conditions, the palmprint image that meets the image display conditions is determined as the target palmprint image. In response to at least one target palmprint image meeting the display conditions, the first terminal displays at least one target palmprint image in the application interface.
[0075] If the verification result indicates that there is no palmprint image that meets the display conditions, the first terminal generates and displays a message indicating that the acquisition failed, instructing the first terminal to re-acquire the palmprint image.
[0076] In this way, if any one of the at least two palm print images meets the display conditions, it means that there is a target palm print image with a complete palm print and a clear image. The target palm print image with a complete palm print and a clear image is then displayed in the application interface, which also makes it easier to accurately and quickly find the associated second account in the future.
[0077] In some embodiments, in response to a triggering operation of adding a contact control, acquiring a palmprint image includes: in response to a triggering operation of adding a contact control, displaying a list of adding methods, the list of adding methods including palmprint adding methods and other adding methods; and in response to a selection operation of a palmprint adding method, acquiring a palmprint image.
[0078] For example, such as Figure 4 The image shown is a schematic diagram of adding a list of methods in one embodiment. Figure 4 The application interface of the first terminal is illustrated. The first terminal is logged in with the first account, and displays the chat list between the first account and contacts such as Contact 1 and Contact 2. In response to the triggering of the contact addition control, a list of addition methods is displayed, including QR code addition, fingerprint addition, and other methods. In response to the selection of palmprint addition method, palmprint image acquisition begins.
[0079] In this embodiment, after confirming the addition of a contact, a list of addition methods is displayed, so that the first account can select the appropriate addition method according to actual needs, which improves the convenience of the addition process.
[0080] In some embodiments, in response to a triggering operation of adding a contact control, a palmprint image is acquired, including: in response to a triggering operation of adding a contact control, acquiring a scene image; if the scene image indicates that the current scene is not crowded, displaying a list of addition methods including palmprint addition methods; and in response to a selection operation of a palmprint addition method, acquiring a palmprint image.
[0081] Optionally, in response to a trigger operation of adding a contact control, the first terminal captures the scene of the current login location of the first account to obtain a scene image. The first terminal identifies the scene image; if the identification result indicates a high density of the current login location, it determines that it is currently in a crowded scene; if the identification result indicates a low density of the current login location, it determines that it is currently in a non-crowded scene. In the case of a non-crowded scene, the first terminal displays a list of addition methods including palmprint addition methods; in response to a selection operation of a palmprint addition method, it captures a palmprint image.
[0082] In other examples, corresponding addition methods can be set for different security levels. For instance, in high-security scenarios, to avoid information leakage due to providing additional media, a palmprint addition method is set. In this case, a palmprint image is captured in response to the triggering operation of the contact addition control. For moderate or low-security scenarios, a list of addition methods, including palmprint addition and non-palmprint addition methods, can be provided, allowing users to choose according to their actual needs.
[0083] In this embodiment, in response to the triggering operation of adding a contact control, a scene image is captured. Based on this scene image, the current scene can be identified. If the scene is not crowded, palm print addition is allowed to avoid security risks.
[0084] In some embodiments, in response to a triggering operation of adding a contact control, a palmprint image is acquired, including: if it is verified that the first account belongs to the palmprint image whitelist, in response to a triggering operation of adding a contact control, displaying a list of addition methods including palmprint addition methods; and in response to a selection operation of a palmprint addition method, acquiring a palmprint image.
[0085] The palmprint image whitelist refers to the list of accounts allowed to add accounts using palmprint images. The whitelist contains multiple accounts. For example, the whitelist is updated every preset time period. Specifically, for each account in the whitelist, if an abnormal usage record is found within the preset time period, and the frequency of abnormal usage exceeds the frequency limit, the account is removed from the whitelist. Furthermore, if an account is added without using the collected palmprint image, or if an account uses the palmprint image to add itself but then applies it to other unauthorized scenarios, an abnormal usage record is added to the account's usage data.
[0086] For example, in response to the triggering method of adding a control to a contact, the first terminal obtains the latest palmprint image usage whitelist from the local machine and verifies whether the first account belongs to the palmprint image usage whitelist.
[0087] In other examples, if the first account is not on the whitelist for palmprint image usage, the first terminal displays a list of addition methods that do not include palmprint addition methods. In response to the selection of a target addition method from the list, the corresponding information is collected according to that target method.
[0088] In this embodiment, to ensure the security of adding contacts using palmprint images and to prevent the leakage of the added party's palmprint information, after the adding party's account triggers the contact addition control, it is synchronously verified whether the account has the permission to add contacts using palmprint images. If it does, the collection of palmprint images is allowed, thereby improving the security and reliability of the contact addition process.
[0089] In some embodiments, the method further includes: when the palm print images in at least two palm print images do not meet the display conditions, determining adjustment information for palm print image acquisition based on the palm print positions in at least two palm print images and the pose information of the terminal logged in by the first account, and displaying the adjustment information in the application interface. The adjustment information is used to prompt the terminal logged in by the first account to adjust according to the adjustment information and acquire a palm print image that meets the display conditions.
[0090] For example, if the palm print images in at least two palm print images do not meet the display conditions, the first terminal obtains the palm print position in each palm print image and the pose information of the first terminal.
[0091] If a positional deviation is detected between the first terminal and the palm print to be collected based on the palm print position and pose information, adjustment information is determined based on this deviation. This adjustment information includes at least one of adjustment direction and adjustment angle. The first terminal displays this adjustment information to instruct the user corresponding to the first account to adjust the first terminal according to the adjustment information and re-collect at least two palm print images. The process then returns to the previous step of sequentially verifying whether each palm print image meets the display conditions and obtaining the verification result, continuing until a palm print image that meets the display conditions is obtained.
[0092] If no positional deviation is detected, the first terminal determines that the image clarity has not reached the clarity threshold. Then, image enhancement is performed on the palm print image with the highest clarity among at least two palm print images to obtain a palm print image that reaches the clarity threshold.
[0093] Alternatively, adjust the acquisition parameters of the acquisition device in the first terminal (e.g., the acquisition device is the camera of the first terminal, and the acquisition parameter is the aperture). Without changing the pose of the first terminal, re-acquire at least two palm print images, return to the previous step of verifying whether each palm print image meets the display conditions, and continue to execute the verification result step until a palm print image that meets the display conditions is obtained.
[0094] In this embodiment, when at least two palmprint images fail to meet the display requirements, adjustment information regarding palmprint image acquisition is accurately estimated based on the palmprint positions in the at least two images and the pose information of the terminal logged into by the first account. This adjustment information allows the terminal logged into by the first account to more easily and accurately acquire palmprint images that meet the display requirements.
[0095] Step S206: If the terminal logged in by the second account associated with the palm print image is located at the current login location of the first account, play an audio prompt to add the account.
[0096] The second account is the account used for instant messaging. This second account is the account of the person being added. This second account can be the account of the target application or the account of other applications (with instant messaging functionality).
[0097] A second account associated with a palm print image refers to a palm print image whose features extracted from the palm print image are consistent with the palm print image features registered by the second account.
[0098] The audio used to prompt the account to add is a query audio, asking whether the associated second account allows it to be added as a contact of the first account. This audio can be pre-generated, such as "Do you allow me to add this account?"; or it can be generated in real time based on the associated second account, such as "Does the second account want to be added as a contact of the first account?".
[0099] Optionally, the first terminal determines the current login location of the first account and performs feature extraction on the palmprint image (or the target palmprint image mentioned above), extracting palmprint image features. The first terminal determines whether the extracted palmprint image features can be used to find the second account, and whether the terminal logged in by the second account (the second terminal) is at the current login location.
[0100] If a second account is found and the second terminal is currently logged in, the first terminal will play an audio message prompting the user about the account.
[0101] If a second account is found and the second terminal is not currently logged in, the first terminal sends a contact addition request to the second terminal. Based on the request result returned by the second terminal, the first terminal determines whether it is the second account.
[0102] If the second account is not found, the first terminal will display a query failure message.
[0103] It should be noted that if the second terminal is in the current login location, it means that the palmprint image is captured in real time, rather than from the original image (containing the complete palmprint), thus ensuring the validity of the palmprint image acquisition.
[0104] In some embodiments, the method further includes: sending a contact addition request to the terminal logged in by the second account associated with the palmprint image, when the terminal is not located at the current login location of the first account; and adding the second account as a contact of the first account upon receiving a confirmation response from the terminal logged in by the second account to the contact addition request.
[0105] In other examples, the added party is currently logged into the first account and is not carrying a second device; or, the added party is not currently logged into the second account. In this case, the device logged into by the second account associated with the palmprint image may not be located at the current login location of the first account. Therefore, in this situation, the method further includes:
[0106] Capture a scene image of the current login location. If an object other than the person adding the account is identified in the scene image, collect the object's face, lip print, or pupils to obtain the corresponding type of biometric feature and retrieve the corresponding type of biometric feature database. If a biometric feature registration account bound to the biometric feature is found in the biometric feature database, and if the object corresponding to the biometric feature registration account is the same as the object corresponding to the second account, i.e., both are the person being added, determine that the person being added is located at the current login location of the first account. At this time, return to the step of playing the audio used to prompt the account to be added and continue execution.
[0107] In this case, it can verify whether the added party is currently logged in, ensuring that the collected palm print image is collected in real time, rather than being obtained by the adding party from an existing image.
[0108] In this embodiment, when the terminal logged into the second account associated with the palmprint image is not located at the current login location of the first account, to ensure that the added party corresponding to the second account is aware of the addition operation by the first account, the terminal logged into the second account obtains the contact addition request sent by the first terminal and determines whether to confirm the addition based on actual needs. Upon receiving a confirmation response from the terminal logged into the second account regarding the contact addition request, the first terminal adds the second account as a contact of the first account, ensuring the security and effectiveness of the contact addition.
[0109] In some embodiments, when the terminal logged in by the second account associated with the palmprint image is located at the current login location of the first account, playing an audio prompt to add an account includes: obtaining the current login location of the first account based on the location information of the terminal logged in by the first account; and if there are other account login terminals at the current login location of the first account, and the other account login terminals include the terminal logged in by the second account, and the second account is associated with the collected palmprint image, generating a corresponding audio prompt to add an account based on the second account, and playing the audio.
[0110] Among them, other account login terminals refer to terminals logged in by other accounts (not the first terminal).
[0111] Optionally, after enabling location services, the first terminal obtains its own location information and determines the current login location of the first account based on the location information. The first terminal determines whether other accounts are logged into the terminal at the current login location. If so, the first terminal extracts palmprint image features from the collected palmprint image (or the target palmprint image mentioned above).
[0112] The first terminal determines whether the corresponding account can be found by using the extracted palm print image features as an index, and whether the terminal logged in by the found account belongs to another account login terminal.
[0113] If a corresponding account is found, and the terminal logged in by the found account belongs to another account login terminal, then the found account is regarded as a second account, and based on the second account, a corresponding audio message is generated to prompt the account to be added, and the audio is played.
[0114] The above steps for extracting palmprint image features include:
[0115] Step 1: The first terminal performs image preprocessing on the acquired palm print image (or the target palm print image mentioned above) to obtain the processed image.
[0116] For example, image preprocessing includes image denoising, grayscale conversion, binarization, etc.
[0117] For example, the grayscale processing formula is: Gray(x, y) = 0.299×R(x, y) + 0.587×G(x, y) + 0.114×B(x, y). In the formula, (x, y) represents a pixel in the image. R(x, y) is the pixel value at (x, y) in the R channel image, G(x, y) is the pixel value at (x, y) in the G channel image, and B(x, y) is the pixel value at (x, y) in the B channel image. Gray(x, y) is the grayscale image.
[0118] The binarization formula is: F(x, y) = Gray(x, y) > T ? 1 : 0, where F(x, y) is the binarized image, and T is the preset pixel value threshold.
[0119] Step 2: The first terminal performs image segmentation on the processed image to obtain a sub-image containing the palm print region.
[0120] For example, the first terminal uses an edge-detection-based image segmentation algorithm to segment the processed image, separating the palmprint region from other regions. This image segmentation algorithm can be the Canny edge detection algorithm or it can use the Sobel operator for edge detection. Connected component analysis and contour extraction can also be used to determine the boundaries of the palmprint region to obtain a sub-image.
[0121] Step 3: The first terminal performs feature extraction on the sub-image to extract palm print image features.
[0122] Palm print image features include palm print lines, intersections, and bifurcation points.
[0123] For example, the first terminal can use extraction methods such as Gabor filter, HOG feature and wavelet transform to extract features from the sub-image to obtain palm print image features including palm print lines, intersections and bifurcation points.
[0124] In this embodiment, if other accounts are logged into at the current login location of the first account, and these other accounts include the terminal logged into by the second account, and the second account is associated with the collected palmprint image, it demonstrates that the account of the person to be added (the second account) can be directly searched using the palmprint image as an index. Furthermore, the login location of the second account is the same as or close to the login location of the first account, ensuring the effectiveness of the palmprint image acquisition. Based on the second account, a corresponding audio prompt for adding the account is automatically generated and played to promptly inquire whether the person to be added agrees to be added as a contact of the first account. This eliminates the need for manual input and avoids sending inquiry messages to the second terminal held by the person to be added, thus improving the efficiency of adding contacts while ensuring security and effectiveness.
[0125] In some embodiments, such as Figure 5 The diagram shown illustrates the flowchart of the second account determination step in one embodiment. If other account login terminals exist at the current login location of the first account, and these other login terminals include the terminal logged in by the second account, and the second account is associated with the collected palmprint image, then based on the second account, a corresponding audio prompt for account addition is generated, including:
[0126] Step S502: Extract palm print image features from the acquired palm print image.
[0127] Step S504: If there are other account login terminals at the current login location of the first account, obtain the login accounts of the other account login terminals and query the palmprint image features associated with each login account.
[0128] For example, the first terminal sends the current login information to the server, so that when the server verifies that there are other login terminals with other accounts at the current login location, it queries the login accounts of the other login terminals, obtains the palmprint image features of each login account from the palmprint feature database, and returns each login account and the corresponding palmprint image features to the first terminal.
[0129] The palmprint feature database contains the palmprint image features of all registered accounts (accounts that have been bound to palmprint image features).
[0130] Step S506: If the extracted palmprint image features and the queried target palmprint image features meet the similarity condition, the login account associated with the target palmprint image features is used as the second account, and based on the second account, a corresponding audio message is generated to prompt the account to be added.
[0131] The similarity condition is that the similarity reaches a similarity threshold.
[0132] For example, for each queried palmprint image feature, the first terminal calculates the similarity between the queried palmprint image feature and the extracted palmprint image feature, determines the maximum similarity from at least one similarity, and uses the palmprint image feature corresponding to the maximum similarity (derived from the mastered image feature library) as the target palmprint image feature. If the maximum similarity is greater than or equal to the similarity threshold, the target palmprint image feature is determined to meet the similarity condition.
[0133] The first terminal uses the login account associated with the target palm print image features that meet similar conditions as the second account, and generates corresponding audio to prompt the account to be added based on the second account.
[0134] For example, similarity calculation can be determined using Euclidean distance or cosine similarity.
[0135] The following describes the process of storing the palm print image features of any account, such as... Figure 6 The diagram shown illustrates the palmprint image feature storage process in one embodiment. The specific steps are as follows:
[0136] Step S6.1: For any object to be bound, the terminal logged into by the account of the object to be bound will capture the palm print of the object to be bound, and obtain the palm print image to be processed. The terminal can be the first terminal mentioned above, or the second terminal, and there is no specific limitation.
[0137] Step S6.2: The terminal performs feature extraction on the palmprint image to be processed, extracting the corresponding palmprint image features.
[0138] Step S6.3: The terminal binds the account to the palm print image feature.
[0139] Step S6.4: Store the successfully bound palmprint image features in the palmprint feature library and use the account as the registered account.
[0140] In this embodiment, firstly, the palm print image features of the person adding the contact are extracted from the palm print image. Then, the login accounts of other account terminals at the current login location are determined to narrow down the query range and reduce the query time. In this way, from the palm print image features bound to the login account, palm print image features similar to the extracted palm print image features can be quickly and accurately queried to determine the second account, thereby improving the efficiency of the entire contact adding process.
[0141] In some embodiments, such as Figure 7 The diagram shown illustrates the process of determining the second account in another embodiment. If other accounts are logged into at the current login location of the first account, and these other accounts include the terminal logged into by the second account, and the second account is associated with the collected palmprint image, then based on the second account, a corresponding audio prompt for account addition is generated, including:
[0142] Step S702: Extract palm print image features from the acquired palm print image.
[0143] Step S704: Compare the extracted palmprint image features with the palmprint image features in the palmprint feature library. If the comparison result indicates that there is at least one similar palmprint image feature in the palmprint feature library, query the account associated with at least one similar palmprint image feature.
[0144] For example, the first terminal calculates the similarity between each palmprint image feature in the palmprint feature library and the extracted palmprint image feature. If the similarity is greater than or equal to the similarity threshold, the corresponding palmprint image feature (from the palmprint feature library) is a similar palmprint image feature; if it is less than the similarity threshold, it is not a similar palmprint image feature.
[0145] If the first terminal finds at least one similar palm print image feature in the palm print feature database, it queries the account associated with at least one similar palm print image feature.
[0146] Step S706: Determine the location of the terminal where the account associated with at least one similar palm print image feature is logged in. If the location of the terminal where the target account is logged in is located at the current login location of the first account among the accounts associated with at least one similar palm print image feature, the target account is used as the second account. Based on the second account, generate a corresponding audio prompt for account addition.
[0147] For example, the first terminal determines the account associated with each similar palm print image feature and the location of the terminal logged into that account, comparing the distance between the location of the logged-in terminal and the current login location. From at least one distance, a minimum distance is determined, and the account corresponding to the minimum distance is designated as the target account. If the minimum distance meets a distance threshold, the target account is designated as the second account. Based on the second account, the first terminal generates corresponding audio to prompt the account to be added.
[0148] In this embodiment, each palmprint image feature in the palmprint feature library is first compared with the extracted palmprint image features to search for associated accounts. Then, based on the location of the terminal logged in by the associated account and the current login location of the first account, it is queried whether there is a target account logged in at the same terminal location as the current login location. If so, the target account is identified as the second account. This second account identification process not only ensures that the palmprint image is obtained in real-time from the current login location, reflecting the effectiveness of palmprint image acquisition, but also accurately indexes the second account using a valid palmprint image, improving the accuracy of account indexing.
[0149] In some embodiments, when the terminal logged into by the second account associated with the palm print image is at the current login location of the first account, playing an audio prompt to add the account includes: determining the second account associated with the palm print image and obtaining the contact list of the first account; when the second account is not included in the contact list of the first account and the terminal logged into by the second account is at the current login location of the first account, playing an audio prompt to add the account.
[0150] In this embodiment, after searching for the associated second account using the palm print image as the account index, in order to avoid adding the contact repeatedly, the audio will only be played if it is determined that the first account's contact list does not contain the second account and the second terminal is in the current login position, thus ensuring the effectiveness and accuracy of the contact addition.
[0151] Step S208: If the voice used to confirm the addition of the account is collected and the voice is associated with the second account, the second account is added as a contact of the first account.
[0152] For example, the first terminal starts timing from the time the audio plays. If the first terminal collects a voice within a preset time, the first terminal checks whether there are keywords related to confirming the addition of an account in the voice. If there are, the first terminal extracts the voiceprint features from the voice. If the extracted voiceprint features are associated with the second account, the first terminal determines that the voice was sent by the second account and confirms the addition. The first terminal then adds the second account as a contact of the first account.
[0153] In some embodiments, the method further includes: when a voice used to confirm account addition is collected, extracting voiceprint features from the voice and obtaining the voiceprint registration account corresponding to the voiceprint features from a voiceprint feature library; and when the voiceprint registration account is a second account associated with a palm print image, determining that the voice is associated with the second account.
[0154] For example, when the first terminal determines that it has collected the voice recording of a confirmed account, the first terminal obtains a voiceprint feature library, extracts the voiceprint features from the voice recording, and retrieves the voiceprint registration account corresponding to the extracted voiceprint features from the voiceprint feature library. If the voiceprint registration account is a second account, the voice recording is determined to be associated with the second account.
[0155] Alternatively, the first terminal can query the voiceprint feature corresponding to the second account from the voiceprint feature database, compare the extracted voiceprint feature with the queried voiceprint feature, and if they match, determine that the speaking voice is associated with the second account.
[0156] In this embodiment, after confirming the acquisition of a voice indicating confirmation of adding a contact, to ensure that the voice originates from the second account, voiceprint features are extracted from the voice. Based on the extracted voiceprint features, the corresponding registered account is retrieved from the voiceprint feature database. If the registered account matches the second account, the second account agrees to be added as a contact of the first account. The entire process requires no additional input and no confirmation on the second terminal, thus improving the efficiency of adding contacts.
[0157] In some embodiments, when the second account associated with the palmprint image includes multiple accounts, and each account is logged into a different application, when a voice recording for confirming account addition is collected and the voice recording is associated with the second account, adding the second account as a contact of the first account includes: when a voice recording for confirming account addition is collected and the voice recording is associated with each account, displaying a list of accounts to be added in the application interface, the list of accounts to be added including each account and the application identifier it is logged into; and in response to the selection operation of a target account in the list of accounts to be added, adding the target account as a contact of the first account.
[0158] For example, such as Figure 8 The diagram illustrates the contact addition process in one embodiment. If the second account associated with the palmprint image includes account a, account b, and account c, and account a is logged into an instant messaging application (app1) for internal enterprise communication, account b is logged into an instant messaging application (app2) for non-internal enterprise communication, and account c is logged into a game application, a list of accounts to be added is displayed after the voice recording used to confirm account addition is captured and is associated with each account. This list includes account a, account b, and account c. Thus, based on requirements, one or more target accounts can be selected from the list of accounts to be added, and at least one selected target account can be added as a contact of the first account.
[0159] Alternatively, if the voice used to confirm the addition of an account is collected, and the voice is associated with each account, the account used to log in to the target application is displayed, and in response to the triggered operation on that account, the account is added as a contact of the first account.
[0160] In this embodiment, when the palm print image is associated with multiple second accounts, and each account is logged into a different application, multiple accounts are displayed when the voice used to confirm the addition of the account is collected and the voice is associated with each account. One or more target accounts can be added based on actual needs, improving the portability of the addition process.
[0161] In the above contact addition method, when logged into the target application with the first account, the contact addition control for the account addition function is displayed in a timely manner through the application interface. In response to the trigger operation of the contact addition control, a palmprint image is captured. This allows for accurate searching of the associated second account using the palmprint image as an account index. Furthermore, to ensure the validity of the palmprint image acquisition, it is necessary to ensure that the login location of the second account is the same as or close to the login location of the first account. If the terminal logged into by the second account associated with the palmprint image is located at the current login location of the first account, an audio prompt for account addition is automatically played without any trigger operation to determine whether the second account is allowed to be added. If the voice confirming account addition is captured and is associated with the second account, it indicates that the second account is allowed to be added as a contact of the first account. Throughout the process, the validity and security of contact addition are ensured based on the login location and audio. Under this premise, using the palmprint image as the account index eliminates the need to generate or acquire additional media, simplifying the contact addition process and improving the efficiency of contact addition.
[0162] In some embodiments, in response to a triggering operation of adding a contact control, a palmprint image is captured, including: in response to a triggering operation of adding a contact control, capturing a scene; if a palmprint appears in the captured scene and an account addition authorization instruction is simultaneously captured, extracting the palmprint image from the scene; and if the terminal logged in by the second account associated with the palmprint image is located at the current login location of the first account and the account addition authorization instruction indicates that an account should be added automatically, automatically adding the second account as a contact of the first account.
[0163] The account addition authorization command is used to indicate whether to authorize the automatic addition of accounts. The account addition authorization command can be a pre-set, general command, meaning each adding party can use one account addition authorization command. Alternatively, the account addition authorization command can be a custom command set by each added party, meaning each added party has its own corresponding account addition authorization command.
[0164] The authorization command for adding an account can be expressed through actions, such as nodding (allowing automatic addition) and shaking the head (disallowing automatic addition); it can also be expressed through sound, such as the sound containing a specified password (e.g., "allow automatic addition"), or the specified password being set by the account being added (e.g., "123"). If the sound does not contain a command, it means automatic addition is not allowed. It can also be expressed through emoticons, such as a smile (allowing automatic addition) and the absence of a specific emoticon (disallowing automatic addition).
[0165] For example, in response to a trigger operation of adding a contact control, the first terminal captures the scene and identifies the scene. If the identification result indicates the presence of a palm print and an account addition authorization instruction, the first terminal extracts the palm print image from the scene and determines whether to allow automatic account addition based on the identified account addition authorization instruction.
[0166] If the terminal logged into by the second account associated with the palmprint image is at the current login location of the first account, and the account addition authorization instruction indicates that the account should be added automatically, the first terminal will automatically add the second account as a contact of the first account.
[0167] In this embodiment, after the contact addition control is triggered, the palm print image and the account addition authorization instruction are obtained simultaneously by capturing the scene. In this way, it is possible to simultaneously search whether the second account associated with the palm print image is in the current login location, and to determine whether the added party allows the adder to automatically add the account, which further improves the efficiency of the entire contact addition process.
[0168] In some embodiments, the palmprint image includes at least two palms, and the method further includes:
[0169] Extract the palm regions of at least two hands from the palm print images;
[0170] When the terminal logged into by the second account associated with the palmprint image is located at the current login location of the first account, play an audio prompt to indicate the account addition, including:
[0171] If the terminal associated with the second account in each palm area image is located at the current login location of the first account, play an audio prompt to add the account.
[0172] If the voice used to confirm the account addition is collected, and the voice is associated with the second account, the second account is added as a contact of the first account, including:
[0173] If at least two voices are collected sequentially to confirm the addition of an account, and each of the at least two voices is associated with a second account associated with a palm area image, then the second account associated with each of the at least two voices is added as a contact of the first account.
[0174] For example, if a palmprint image includes two palms, the palm area images where the two palms are located are intercepted, namely palm area image A and palm area image B. When the terminal M1 logged in with the second account Tar_accnt_a associated with palm area image A and the terminal M2 logged in with the second account Tar_accnt_b associated with palm area image B are both located at the current login position of the first account Src_accnt, an audio for prompting account addition is played. When the spoken voices audio1 and audio2 for confirming account addition are collected and the spoken voice audio1 is associated with the second account Tar_accnt_a and the spoken voice audio2 is associated with the second account Tar_accnt_b, both the second account Tar_accnt_a and the second account Tar_accnt_b are added as contacts of the first account.
[0175] In this embodiment, if the palmprint image contains multiple palms, when it is verified that the positions where the second accounts associated with each palm are logged in are at the current login position and the spoken voices for confirming account addition associated with each second account are received, adding multiple second accounts as contacts of the first account is completed in one key, that is, automatic one-key addition is completed while ensuring the security of account addition.
[0176] In some embodiments, when the palmprint image includes multiple palms, the method further includes: identifying the position information of each palm in the palmprint image, determining the combined action of multiple palms in the palmprint image based on the position information of each palmprint, judging whether the combined action meets the automatic addition condition. If it meets, multiple second accounts are automatically added as contacts of the first account. If it does not meet, the step of playing the audio for prompting account addition when the terminals logged in with the second accounts associated with each palm area image are both located at the current login position of the first account is executed.
[0177] Among them, the combined action can refer to a pattern formed by multiple palms together. For example, multiple palms jointly form a "big" character shape, or multiple palms jointly form a circle.
[0178] Whether the combined action meets the automatic addition condition means verifying whether the pattern formed by all palms in the palmprint image is a preset pattern, and the preset pattern is a pattern allowed for automatic addition.
[0179] In some other embodiments, the combined action can also refer to the orientations of multiple palms, or the connection lines of the centers of the palms of each palm. Correspondingly, whether the combined action meets the automatic addition condition can also be that all palms in the palmprint image face the same direction; or the centers of the palms of each palm in the palmprint image are on the same horizontal line.
[0180] For example, based on the position information of each palm, the orientation of each palm is determined, and it is determined whether each palm is facing the same direction. If so, the automatic addition condition is met; otherwise, the automatic addition condition is not met.
[0181] For example, based on the position information of each palm, the coordinates of the center of each palm are determined, and it is determined whether the coordinates of each palm are on the same horizontal line. If so, the automatic addition condition is met; otherwise, the automatic addition condition is not met.
[0182] like Figure 9 The image shown is a schematic diagram of a palm print image that meets the conditions for automatic addition in one embodiment. Figure 9 In the process, the automatic addition condition is that each palm is facing a point. If each palm in the captured palm print image is facing a point, then by default, the second account associated with each captured palm is allowed to be added automatically. In this case, there is no need to play the audio to prompt the account to be added.
[0183] In this embodiment, if it is verified that the terminals logged into by the second accounts associated with multiple palm prints are located at the current login location of the first account, the position information of each palm in the palmprint image can be used to directly determine whether automatic addition is allowed. If allowed, the multiple second accounts are automatically added as contacts of the first account, without needing to play the audio prompt for account addition. If not allowed, the process returns to the step of playing the audio prompt for account addition, thus improving the convenience of account addition.
[0184] In some embodiments, the palmprint image includes at least three palms, and the method further includes:
[0185] Extract images of at least three palm regions from the palm print image;
[0186] When the terminal logged into by the second account associated with the palmprint image is located at the current login location of the first account, play an audio prompt to indicate the account addition, including:
[0187] In cases where at least three palms include the first palm associated with the first account, other palm area images that do not include the first palm are identified. If the terminal logged in by the second account associated with each of the other palm area images is located at the current login location of the first account, an audio prompt to add the account is played.
[0188] If the voice used to confirm the account addition is collected, and the voice is associated with the second account, the second account is added as a contact of the first account, including:
[0189] If at least two voices are collected sequentially to confirm the addition of an account, and each of the at least two voices is associated with a second account associated with another palm area image, then the second account associated with each of the at least two voices is added as a contact of the first account.
[0190] After the second account is added as a contact of the first account, the method further includes: the first terminal packages the accounts associated with each palm in the palm print image (including the first account and at least two second accounts) to obtain package information, sends the package information to the server, the server parses the package information, identifies at least two second accounts, and sends the package information to the second terminal logged in by each of the at least two second accounts, so as to instruct each second terminal to parse the package information to obtain multiple accounts, identify other accounts that are not logged in on the second terminal from the multiple accounts, and add the other accounts as contacts of the second account.
[0191] For example, if the palm print image includes palm region image A, palm region image B, and palm region image C, and the terminal M1 logged in by the second account Tar_accnt_a associated with palm region image A, the terminal M2 logged in by the second account Tar_accnt_b associated with palm region image B, and the first account Src_accnt associated with palm region image C.
[0192] After the first terminal collects the spoken audios audio1 and audio2, and verifies that audio1 is associated with the second account Tar_accnt_a and audio2 is associated with the second account Tar_accnt_b, the first terminal adds the second accounts a1 and a2 as contacts of the first account.
[0193] Subsequently, the first terminal generates package information based on the first account Src_accnt, the second account Tar_accnt_a, and the second account Tar_accnt_b, and sends it to the server. The server parses the package information to obtain the first account Src_accnt, the second account Tar_accnt_a, and the second account Tar_accnt_b, and forwards the package to terminal M1 logged in by the second account Tar_accnt_a and terminal M2 logged in by the second account Tar_accnt_b, respectively.
[0194] Terminal M1 parses the packaged information and obtains the first account Src_accnt, the second account Tar_accnt_a, and the second account Tar_accnt_b. Terminal M1 then identifies the other accounts as the first account Src_accnt and the second account Tar_accnt_b, and automatically adds the first account Src_accnt and the second account Tar_accnt_b as contacts of the second account Tar_accnt_a.
[0195] Terminal M2 parses the packaged information and obtains the first account Src_accnt, the second account Tar_accnt_a, and the second account Tar_accnt_b. Terminal M2 then identifies the other accounts as the first account Src_accnt and the second account Tar_accnt_a, and automatically adds the first account Src_accnt and the second account Tar_accnt_a as contacts for the second account Tar_accnt_b.
[0196] In this embodiment, when the palm print image contains the palm associated with the first account, after the first account completes the addition of multiple second accounts, the multiple accounts associated with the palm print image are sent to the server so that the server can forward the multiple accounts to the terminal where each second account is located. In this way, each second account can complete the addition of other accounts associated with the palm print image without each second account needing to re-collect a new image. That is, based on a single palm print image, multiple accounts can be added to each other, which simplifies the contact addition process.
[0197] This application also provides an application scenario in which the above-described contact addition method is applied. Specifically, the application of the contact addition method in this scenario is as follows: In an instant messaging application scenario, to facilitate the addition of instant messaging accounts of strangers, the contact addition method provided in this application embodiment can be used. In this scenario, the target application is an instant messaging application, the first account is a first instant messaging account, and the second account is an instant messaging application. Specifically, the first terminal displays the application interface of the target application, the target application is logged in with the first instant messaging account, the application interface includes a contact addition control, the contact addition control is used to collect a palm print image; in response to the trigger operation of the contact addition control, the palm print image is collected; when the second terminal logged in with the second instant messaging account associated with the palm print image is located at the current login location of the first instant messaging account, the first terminal plays an audio prompt for account addition; when a voice confirming account addition is collected, and the voice is associated with the second instant messaging account, the second instant messaging account is added as a contact of the first instant messaging account.
[0198] Of course, it is not limited to this. The contact addition method provided in this application can also be applied to other application scenarios. For example, in the game application scenario, the first account is the first game account and the second account is the second game account, so as to carry out the contact addition method provided in the embodiments of this application.
[0199] The above application scenarios are merely illustrative. It is understood that the contact addition methods provided in the embodiments of this application are not limited to the above scenarios.
[0200] In one specific embodiment, a method for adding contacts is provided, such as Figure 10 The diagram shown is a flowchart illustrating the steps of adding a contact in one embodiment, with the first terminal where the person adding the contact as the implementation subject.
[0201] Step 10.1: The first terminal displays the application interface of the target application.
[0202] For example, the first terminal displays the application interface of the target application, which is logged in with the first account. The application interface includes a contact addition control, which is used to collect palm print images. Figure 10 Two data collection methods are illustrated: Method 1 is illustrated in steps 10.2 to 10.6; Method 2 is illustrated in steps 10.7 to 10.10.
[0203] Step 10.2: The first terminal acquires the target palm print image.
[0204] Optionally, in response to the triggering operation of the contact addition control, a list of addition methods is displayed, which includes palmprint addition method and other addition methods; in response to the selection operation of palmprint addition method, the target palmprint image is captured.
[0205] Optionally, in response to the triggering operation of adding a contact control, a scene image is captured; if the scene image is used to identify that the current scene is not crowded, a list of addition methods including palmprint addition methods is displayed; in response to the selection operation of palmprint addition method, a target palmprint image is captured.
[0206] Optionally, if the first account is found to be in the whitelist for palmprint image usage, in response to the triggering operation of the contact addition control, a list of addition methods including palmprint addition methods is displayed; in response to the selection operation of palmprint addition method, the target palmprint image is captured.
[0207] The above-mentioned response to the selection of a palmprint addition method involves acquiring a target palmprint image, including: the first terminal acquiring at least two palmprint images in response to a trigger operation of the contact addition control. If any one of the at least two palmprint images meets the display conditions, the target palmprint image is displayed in the application interface. The display conditions are that the palmprint image contains a complete palmprint and the image clarity reaches a set clarity threshold.
[0208] If the palmprint images in at least two palmprint images do not meet the display conditions, adjustment information for palmprint image acquisition is determined based on the palmprint position in the at least two palmprint images and the pose information of the terminal logged in by the first account. The adjustment information is displayed in the application interface to prompt the terminal logged in by the first account to adjust according to the adjustment information and acquire a palmprint image that meets the display conditions.
[0209] Step 10.3: The first terminal extracts palmprint image features from the target palmprint image.
[0210] Step 10.4: The first terminal determines the current login location.
[0211] For example, the first terminal obtains the current login location of the first account based on the location information of the terminal that the first account is logged into.
[0212] Step 10.5: If the terminal logged into by the second account associated with the target palm print image is located at the current login location, the first terminal will automatically play an audio prompt to add the account.
[0213] Optionally, if there are other accounts logged in at the current login location of the first terminal, and the other accounts include the terminal logged in by the second account, and the second account is associated with the collected target palm print image, then based on the second account, a corresponding audio prompt for account addition is generated and played.
[0214] For example, palmprint image features are extracted from the collected target palmprint image; if there are other account login terminals at the current login location of the first account, the login accounts of the other account login terminals are obtained, and the palmprint image features of the target palmprint image associated with each login account are queried; if the extracted palmprint image features and the queried target palmprint image features meet the similarity condition, the login account associated with the target palmprint image features is used as the second account, and based on the second account, a corresponding audio for prompting the account to be added is generated.
[0215] For example, palmprint image features are extracted from the collected target palmprint image; the extracted palmprint image features are compared with palmprint image features in the palmprint feature library; when the comparison result indicates that there is at least one similar palmprint image feature in the palmprint feature library, the account associated with at least one similar palmprint image feature is queried; the location of the terminal logged in by the account associated with at least one similar palmprint image feature is determined; if the location of the terminal logged in by the target account is at the current login location of the first account among the accounts associated with at least one similar palmprint image feature, the target account is used as the second account; based on the second account, a corresponding audio prompt for account addition is generated.
[0216] Optionally, a second account associated with the target palm print image is identified, and a contact list of the first account is obtained; if the second account is not included in the contact list of the first account, and the terminal logged in by the second account is located at the current login location of the first account, an audio prompt to add the account is played.
[0217] In another example, the method further includes: sending a contact addition request to the terminal logged in by the second account associated with the target palm print image, if the terminal is not located at the current login location of the first account; and adding the second account as a contact of the first account upon receiving a confirmation response from the terminal logged in by the second account to the contact addition request.
[0218] Step 10.6: If the first terminal collects the voice used to confirm the addition of the account and the voice is associated with the second account, the first terminal adds the second account as a contact of the first account.
[0219] For example, when a voice used to confirm account addition is collected, voiceprint features are extracted from the voiceprint and the corresponding voiceprint registration account is obtained from the voiceprint feature library; if the voiceprint registration account is a second account associated with the target palm print image, the voiceprint is determined to be associated with the second account.
[0220] For example, when the target palm print image is associated with multiple second accounts, and each account is logged into a different application, when the voice used to confirm the addition of the account is collected and the voice is associated with each account, a list of accounts to be added is displayed in the application interface. The list of accounts to be added includes each account and the application identifier it is logged into. In response to the selection of the target account in the list of accounts to be added, the target account is added as a contact of the first account.
[0221] Step 10.7: The first terminal acquires a live image containing the target palm print image and the account addition authorization command.
[0222] Step 10.8: The first terminal acquires the target palmprint image and extracts palmprint image features from the target palmprint image.
[0223] Step 10.9: The first terminal determines the current login location.
[0224] Step 10.10: If the terminal logged into by the second account associated with the target palm print image is in the current login location and the account addition authorization instruction indicates that the account should be added automatically, the first terminal will automatically add the second account as a contact of the first account.
[0225] In this embodiment, when logged into the target application with the first account, the application interface of the target application displays the contact addition control for the account addition function in a timely manner. In response to the trigger operation of the contact addition control, a palm print image is captured. This allows for accurate searching of the associated second account using the palm print image as an account index. Furthermore, to ensure the validity of the palm print image acquisition, it is necessary to ensure that the login location of the second account is the same as or close to the login location of the first account. When the terminal logged into by the second account associated with the palm print image is located at the current login location of the first account, without any trigger operation, an audio prompt for account addition is automatically played to determine whether the second account is allowed to be added. If the voice confirming account addition is captured and is associated with the second account, it indicates that the second account is allowed to be added as a contact of the first account. Throughout the process, based on the login location and audio, the validity and security of contact addition are ensured. Under this premise, using the palm print image as an account index eliminates the need to input or scan the other party's account, simplifying the contact addition process and improving the user experience.
[0226] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0227] Based on the same inventive concept, this application also provides a contact adding device for implementing the contact adding method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more contact adding device embodiments provided below can be found in the limitations of the contact adding method described above, and will not be repeated here.
[0228] In one exemplary embodiment, such as Figure 11 As shown, a contact adding device 1100 is provided, including: an interface display module 1102, an image acquisition module 1104, an audio playback module 1106, and an account adding module 1108, wherein:
[0229] The interface display module 1102 is used to display the application interface of the target application. The target application is logged in with the first account. The application interface includes a contact addition control, which is used to collect palm print images.
[0230] Image acquisition module 1104 is used to acquire palm print images in response to a trigger operation that adds a control to a contact.
[0231] The audio playback module 1106 is used to play an audio prompt for account addition when the terminal logged in by the second account associated with the palm print image is at the current login location of the first account.
[0232] The account addition module 1108 is used to add the second account as a contact of the first account when the voice used to confirm the account addition is collected and the voice is associated with the second account.
[0233] In some embodiments, the device further includes an image display module, an image acquisition module 1104, for acquiring at least two palm print images in response to a trigger operation of adding a control to a contact; and an image display module for displaying the target palm print image in the application interface in response to any one of the at least two palm print images meeting the display conditions, wherein the display conditions are that the palm print image contains a complete palm print and the image clarity reaches a set clarity threshold.
[0234] In some embodiments, the device further includes an information display module, which is used to determine adjustment information for palm print image acquisition based on the palm print position in at least two palm print images and the pose information of the terminal logged in by the first account when the palm print images in at least two palm print images do not meet the display conditions, and to display the adjustment information in the application interface. The adjustment information is used to prompt the terminal logged in by the first account to adjust according to the adjustment information and acquire a palm print image that meets the display conditions.
[0235] In some embodiments, the audio playback module 1106 is configured to obtain the current login location of the first account based on the location information of the terminal to which the first account is logged in; and if there are other account login terminals at the current login location of the first account, and the other account login terminals include the terminal to which the second account is logged in, and the second account is associated with the collected palm print image, the module generates and plays the corresponding audio for prompting the account to be added based on the second account.
[0236] In some embodiments, the audio playback module 1106 is further configured to extract palmprint image features from the acquired palmprint image; if there are other account login terminals at the current login location of the first account, obtain the login accounts of the other account login terminals, and query the palmprint image features associated with each login account; if the extracted palmprint image features and the queried target palmprint image features meet the similarity condition, use the login account associated with the target palmprint image features as the second account, and generate corresponding audio for prompting account addition based on the second account.
[0237] In some embodiments, the audio playback module 1106 is further configured to extract palmprint image features from the acquired palmprint image; compare the extracted palmprint image features with palmprint image features in the palmprint feature library; when the comparison result indicates that there is at least one similar palmprint image feature in the palmprint feature library, query the account associated with at least one similar palmprint image feature; determine the location of the terminal logged in by the account associated with at least one similar palmprint image feature; if the location of the terminal logged in by the target account among the accounts associated with at least one similar palmprint image feature is at the current login location of the first account, use the target account as the second account, and generate corresponding audio for prompting the account to be added based on the second account.
[0238] In some embodiments, the device further includes an account association module, which is used to extract voiceprint features from the voiceprint when a voiceprint is collected to confirm the addition of an account, and to obtain the voiceprint registration account corresponding to the voiceprint features from a voiceprint feature library; and to determine that the voiceprint is associated with the second account when the voiceprint registration account is a second account associated with a palm print image.
[0239] In some embodiments, the account adding module 1108 is configured to send a contact adding request to the terminal where the second account associated with the palmprint image is logged in, when the terminal is not located at the current login location of the first account; and add the second account as a contact of the first account upon receiving a confirmation response from the terminal where the second account is logged in to the contact adding request.
[0240] In some embodiments, the image acquisition module 1104 is further configured to, in response to a trigger operation of the contact addition control, display a list of addition methods, the list of addition methods including palmprint addition method and other addition methods; and, in response to a selection operation of the palmprint addition method, acquire a palmprint image.
[0241] In some embodiments, the image acquisition module 1104 is further configured to acquire scene images in response to a trigger operation of adding a contact control; display a list of addition methods including palmprint addition methods when the scene image is used to identify that the current scene is not crowded; and acquire palmprint images in response to a selection operation of a palmprint addition method.
[0242] In some embodiments, the audio playback module 1106 is used to determine the second account associated with the palm print image and obtain the contact list of the first account; if the second account is not included in the contact list of the first account and the terminal logged in by the second account is located at the current login location of the first account, the audio for prompting the account to be added is played.
[0243] In some embodiments, the account adding module 1108 is used to display a list of accounts to be added in the application interface when a voice recording for confirming account addition is collected and the voice recording is associated with each account. The list of accounts to be added includes each account and the application identifier to which it is logged in. In response to the selection operation of a target account in the list of accounts to be added, the target account is added as a contact of the first account.
[0244] In some embodiments, the image acquisition module 1104 is further configured to, upon verification that the first account belongs to the palmprint image whitelist, display a list of addition methods including palmprint addition methods in response to the triggering operation of the contact addition control; and acquire a palmprint image in response to the selection operation of the palmprint addition method.
[0245] In some embodiments, the image acquisition module 1104 is further configured to acquire a scene in response to a trigger operation of the contact addition control; if a palm print appears in the acquired scene and an account addition authorization instruction is acquired simultaneously, the palm print image is extracted from the scene; if the terminal logged in by the second account associated with the palm print image is located at the current login location of the first account and the account addition authorization instruction indicates that the account should be added automatically, the second account is automatically added as a contact of the first account.
[0246] The various modules in the aforementioned contact adding device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0247] In one exemplary embodiment, a computer device is provided, which may be a server or a terminal, and its internal structure diagram may be as follows. Figure 12 As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and databases. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media to run. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When executed by the processor, the computer program implements a contact addition method.
[0248] Those skilled in the art will understand that Figure 12 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0249] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0250] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.
[0251] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.
[0252] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0253] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0254] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0255] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method for adding contacts, characterized in that, The method includes: The application interface of the target application is displayed. The target application is logged in with a first account. The application interface includes a contact addition control, which is used to collect palm print images. In response to a triggering operation that adds a control to the contact, a palm print image is captured; If the terminal logged into by the second account associated with the palm print image is located at the current login location of the first account, play an audio prompt to add the account. If a voice recording is collected to confirm the addition of an account, and the voice recording is associated with the second account, the second account is added as a contact of the first account.
2. The method according to claim 1, characterized in that, The step of acquiring a palmprint image in response to a trigger operation that adds a control to the contact includes: In response to a triggering operation that adds a control to the contact, at least two palm print images are captured; The method further includes: In response to any one of the at least two palm print images satisfying the display conditions, the target palm print image is displayed in the application interface. The display conditions are that the palm print image contains a complete palm print and the image clarity reaches a set clarity threshold.
3. The method according to claim 2, characterized in that, The method further includes: If none of the palm print images in the at least two palm print images meet the display conditions, adjustment information for palm print image acquisition is determined based on the palm print position in the at least two palm print images and the pose information of the terminal logged in by the first account. The adjustment information is then displayed in the application interface. The adjustment information is used to prompt the terminal logged in by the first account to adjust according to the adjustment information to acquire a palm print image that meets the display conditions.
4. The method according to claim 1, characterized in that, When the terminal logged into by the second account associated with the palmprint image is located at the current login location of the first account, playing an audio prompt to add the account includes: Based on the location information of the terminal that the first account is logged into, obtain the current login location of the first account; If there are other account login terminals at the current login location of the first account, and the other account login terminals include the terminal logged in by the second account, and the second account is associated with the collected palm print image, then based on the second account, a corresponding audio for prompting the account to be added is generated and the audio is played.
5. The method according to claim 4, characterized in that, In the case where other account login terminals exist at the current login location of the first account, and the other account login terminals include the terminal logged in by the second account, and the second account is associated with the collected palmprint image, based on the second account, a corresponding audio prompt for account addition is generated, including: Palmprint image features are extracted from the acquired palmprint images; If there are other login terminals at the current login location of the first account, obtain the login account of the other login terminal and query the palmprint image features associated with each login account. If the extracted palmprint image features and the queried target palmprint image features meet the similarity condition, the login account associated with the target palmprint image features is used as the second account, and based on the second account, a corresponding audio prompt for account addition is generated.
6. The method according to claim 4, characterized in that, In the case where other account login terminals exist at the current login location of the first account, and the other account login terminals include the terminal logged in by the second account, and the second account is associated with the collected palmprint image, based on the second account, a corresponding audio prompt for account addition is generated, including: Palmprint image features are extracted from the acquired palmprint images; The extracted palmprint image features are compared with the palmprint image features in the palmprint feature library. If the comparison result indicates that there is at least one similar palmprint image feature in the palmprint feature library, the account associated with the at least one similar palmprint image feature is queried. If the location of the login terminal of the account associated with the at least one similar palm print image feature is determined, and the location of the login terminal of the target account among the at least one similar palm print image feature associated with the first account is located at the current login location of the first account, then the target account is used as the second account, and based on the second account, a corresponding audio prompt for account addition is generated.
7. The method according to claim 1, characterized in that, The method further includes: When the voice used to confirm account addition is collected, the voiceprint features are extracted from the voiceprint features, and the voiceprint registration account corresponding to the voiceprint features is obtained from the voiceprint feature library. If the voiceprint registration account is a second account associated with the palmprint image, then the speaking voice is determined to be associated with the second account.
8. The method according to claim 1, characterized in that, The method further includes: If the terminal logged into by the second account associated with the palmprint image is not located at the current login location of the first account, a contact addition request is sent to the terminal logged into by the second account. Upon receiving a confirmation response from the terminal logged in by the second account regarding the request to add the contact, the second account is added as a contact of the first account.
9. The method according to claim 1, characterized in that, The step of acquiring a palmprint image in response to a trigger operation that adds a control to the contact includes: In response to the triggering operation of the contact addition control, a list of addition methods is displayed, which includes palmprint addition method and other addition methods; In response to the selection of the palmprint addition method, a palmprint image is acquired.
10. The method according to any one of claims 1 to 9, characterized in that, The step of acquiring a palmprint image in response to a trigger operation that adds a control to the contact includes: In response to a triggering operation that adds a control to the contact, a scene image is captured; If the scene image is recognized as being in a non-crowded scene, a list of addition methods, including palmprint addition methods, is displayed. In response to the selection of the palmprint addition method, a palmprint image is acquired.
11. The method according to claim 1, characterized in that, When the terminal logged into by the second account associated with the palmprint image is located at the current login location of the first account, playing an audio prompt to add the account includes: Identify the second account associated with the palmprint image and obtain the contact list of the first account; If the second account is not included in the contact list of the first account, and the terminal logged in by the second account is located at the current login location of the first account, play an audio prompt to add the account.
12. The method according to claim 1, characterized in that, When the palmprint image is associated with multiple second accounts, and each account is logged into a different application, the step of adding the second account as a contact of the first account when a voice recording is collected to confirm the account addition and the voice recording is associated with the second account includes: When a voice recording used to confirm the addition of an account is collected, and the voice recording is associated with each of the accounts, a list of accounts to be added is displayed in the application interface. The list of accounts to be added includes each account and the application identifier that it is logged into. In response to the selection of a target account in the list of accounts to be added, the target account is added as a contact of the first account.
13. The method according to claim 1, characterized in that, The step of acquiring a palmprint image in response to a trigger operation that adds a control to the contact includes: If it is verified that the first account belongs to the whitelist for palmprint image usage, in response to the triggering operation of adding the contact control, a list of adding methods including palmprint addition methods is displayed; In response to the selection of the palmprint addition method, a palmprint image is acquired.
14. The method according to claim 1, characterized in that, The step of acquiring a palmprint image in response to a trigger operation that adds a control to the contact includes: In response to a triggering operation that adds a control to the contact, the system captures live footage. If a palm print appears in the captured scene and an account addition authorization command is captured simultaneously, the palm print image is extracted from the captured scene. If the terminal logged into by the second account associated with the palm print image is located at the current login location of the first account, and the account addition authorization instruction indicates that the account should be added automatically, the second account will be automatically added as a contact of the first account.
15. A contact adding device, characterized in that, The device includes: The interface display module is used to display the application interface of the target application, which is logged in with a first account. The application interface includes a contact addition control, which is used to collect palm print images. The image acquisition module is used to acquire a palm print image in response to a trigger operation that adds a control to the contact. An audio playback module is used to play an audio prompt for account addition when the terminal logged in by the second account associated with the palm print image is located at the current login location of the first account. The account addition module is used to add the second account as a contact of the first account when a voice recording is collected to confirm the account addition and the voice recording is associated with the second account.
16. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 14.
17. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 14.
18. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 14.
