Identity verification method and device, equipment, medium and program product
Through multi-factor authentication methods such as facial recognition, tone verification and dynamic Q&A, combined with preset random questions and personalized passwords, the problem of identity being easily impersonated in the existing technology has been solved, significantly improving the security of identity verification and resisting The threat of false videos ensures the security of user data and property.
Patent Information
- Application Number
- CN202411120289.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-15
- Publication Date
- 2024-12-03
- Estimated Expiration
- Not applicable · inactive patent
Smart Images

Figure CN119066638A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data processing technology, and in particular, relates to a method, device, equipment, medium and program product for identity authentication. Background Art
[0002] In recent years, with the popularity of social networks, it has become easier to obtain user facial information, and the development of artificial intelligence has made it possible to generate a fake video clip of a user, which has brought severe challenges to existing face verification technology.
[0003] In some existing identity authentication technologies, the face recognition process often only requires users to perform a series of simple and easy-to-imitate actions (such as blinking, shaking their heads, nodding, etc.) in front of the camera, and then the system verifies the face based on the facial information captured by these actions. Due to its simplicity, this verification method has significant security risks, making it relatively easy for criminals to forge or imitate users' facial movements, thereby impersonating others to carry out illegal activities.
[0004] Therefore, when performing identity authentication, the existing technology has the risk of identity being misused and cannot effectively protect the property safety of users. Summary of the invention
[0005] The embodiments of the present application provide a method, apparatus, device, medium and program product for identity authentication, which solve the problem in the prior art that user identities are easily misused during identity authentication and the safety of user property cannot be effectively protected.
[0006] In a first aspect, an embodiment of the present application provides an identity authentication method, which is applied to a background management system, and the method includes:
[0007] In response to an identity authentication request sent by a user device, obtaining identity identification information in the identity authentication request;
[0008] Obtaining preset facial feature information, preset timbre feature information, and a plurality of preset key pairs corresponding to the identity information in a database, wherein the preset key pairs include preset questions and their corresponding preset answers;
[0009] According to a preset random sampling algorithm, a target preset question is selected from multiple preset questions;
[0010] Sending a targeted preset question to a user device;
[0011] Receiving video information sent by a user device, the video information includes facial information and audio information, the audio information includes timbre information and voice content information, the video information is obtained by shooting the user after the user device displays a target preset question;
[0012] When the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer, the identity authentication result is determined to be successful verification, wherein the target preset answer is the preset answer corresponding to the target preset question.
[0013] In a possible embodiment of the first aspect, when the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer, determining that the identity authentication result is successful authentication includes:
[0014] Extracting facial feature information from the facial information; calculating facial similarity between the facial feature information and preset facial feature information;
[0015] Extracting timbre feature information from the timbre information; calculating the timbre similarity between the timbre feature information and the preset timbre feature information;
[0016] Convert the speech content information into text content; calculate the answer similarity between the text content and the target preset answer;
[0017] When the facial similarity, voice similarity and answer similarity are all greater than a preset threshold, the identity authentication result is determined to be successful.
[0018] In a possible embodiment of the first aspect, when the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer, before determining that the identity authentication result is successful, the method further includes:
[0019] The video information is filtered using a preset filtering algorithm to obtain filtered video information.
[0020] In a possible embodiment of the first aspect, before obtaining identity information in the identity authentication request in response to the identity authentication request sent by the user equipment, the method further includes:
[0021] In response to a user registration request sent by a user device, obtaining user registration information in the registration request, the user registration information including the user's identity information and its corresponding preset facial feature information, preset timbre feature information, and multiple preset key pairs;
[0022] Store user registration information in the database.
[0023] Based on the same inventive concept, in a second aspect, an embodiment of the present application further provides an identity authentication method, which is applied to a user device, where the user device is installed with a target application, a camera, and a microphone, and the method includes:
[0024] receiving an authentication request from the user when the user authorizes access rights to the target application;
[0025] Sending an identity authentication request to a backend management system, so that the backend management system responds to the identity authentication request and obtains identity identification information in the identity authentication request; obtaining preset facial feature information, preset timbre feature information, and multiple preset key pairs corresponding to the identity identification information in a database, wherein the preset key pairs include preset questions and their corresponding preset answers; extracting a target preset question from multiple preset questions according to a preset random sampling algorithm; and sending the target preset question to a user device;
[0026] Displaying target preset questions, and using a camera and a microphone to record user behavior to obtain video information, the video information includes facial information and audio information, and the audio information includes timbre information and voice content information;
[0027] Video information is sent to the background management system so that the background management system can determine that the identity authentication result is successful when the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer, wherein the target preset answer is the preset answer corresponding to the target preset question.
[0028] In a possible embodiment of the second aspect, when the user authorizes access rights of the target application, before receiving the user's identity authentication request, the method further includes:
[0029] When a user accesses a registration page of a target application, obtaining a first input to the registration page, the first input including identity information of the user;
[0030] In response to the identity information, displaying a first page;
[0031] When receiving a second input to the first page, using a camera and a microphone to collect preset facial information and preset audio information of the user, wherein the second input includes a plurality of preset key pairs;
[0032] Generate a user registration request based on the user's identity information, multiple preset key pairs, preset facial information and preset audio information;
[0033] Send a user registration request to the backend management system.
[0034] Based on the same inventive concept, in a third aspect, an embodiment of the present application further provides an identity authentication device, which is applied to a background management system, and the device includes:
[0035] An acquisition module, configured to respond to an identity authentication request sent by a user device and acquire identity identification information in the identity authentication request;
[0036] The acquisition module is further used to acquire preset facial feature information, preset timbre feature information, and a plurality of preset key pairs corresponding to the identity information in the database, wherein the preset key pairs include preset questions and their corresponding preset answers;
[0037] A sampling module, used for selecting a target preset question from a plurality of preset questions according to a preset random sampling algorithm;
[0038] A sending module, used for sending a target preset question to a user device;
[0039] A receiving module, used to receive video information sent by a user device, the video information includes facial information and audio information, the audio information includes timbre information and voice content information, and the video information is obtained by shooting the user after the user device displays a target preset question;
[0040] The determination module is used to determine that the identity authentication result is successful verification when the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer, wherein the target preset answer is the preset answer corresponding to the target preset question.
[0041] Based on the same inventive concept, in a fourth aspect, an embodiment of the present application further provides an identity authentication device, which is applied to a user device, and the user device is installed with a target application, a camera, and a microphone, and the device includes:
[0042] A receiving module, used for receiving a user's identity authentication request when the user authorizes access rights to the target application;
[0043] A sending module is used to send an identity authentication request to a background management system, so that the background management system responds to the identity authentication request and obtains the identity identification information in the identity authentication request; obtains preset facial feature information, preset timbre feature information, and multiple preset key pairs corresponding to the identity identification information in a database, wherein the preset key pairs include preset questions and their corresponding preset answers; extracts a target preset question from multiple preset questions according to a preset random sampling algorithm; and sends the target preset question to a user device;
[0044] A display module is used to display the target preset questions and use a camera and a microphone to record the user's behavior to obtain video information, which includes facial information and audio information. The audio information includes timbre information and voice content information;
[0045] The sending module is also used to send video information to the background management system, so that the background management system can determine that the identity authentication result is successful when the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer, wherein the target preset answer is the preset answer corresponding to the target preset question.
[0046] Based on the same inventive concept, in the fifth aspect, an embodiment of the present application also provides an identity authentication device, which includes a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, it implements the identity authentication method in the first aspect or any embodiment of the first aspect, or implements the identity authentication method in the second aspect or any embodiment of the second aspect.
[0047] Based on the same inventive concept, in the sixth aspect, an embodiment of the present application also provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method for identity authentication in the first aspect or any embodiment of the first aspect is implemented, or the method for identity authentication in the second aspect or any embodiment of the second aspect is implemented.
[0048] Based on the same inventive concept, in the seventh aspect, an embodiment of the present application also provides a computer program product. When the instructions in the computer program product are executed by the processor of the device, the device can execute the identity authentication method in the first aspect or any embodiment of the first aspect, or execute the identity authentication method in the second aspect or any embodiment of the second aspect.
[0049] The identity authentication method, device, equipment, medium and program product of the embodiment of the present application first receive the identity authentication request of the user device through the background management system, and extract the identity in the identity authentication request. Subsequently, the background management system retrieves the facial features, timbre features and multiple preset question-answer pairs (preset key pairs) corresponding to the identity from the database. A preset question in a preset question-answer pair is randomly selected and sent to the user, and the system then receives the record of the user answering the question through video (including face and audio). Only when the facial features and timbre features in the video are consistent with the preset facial features and preset timbre feature information in the database, and the answer content is consistent with the preset answer to the random question, the identity authentication is considered successful. By integrating multiple identity verification methods such as facial recognition, timbre verification and dynamic question-answering, it is achieved that the security of identity authentication is significantly improved without increasing the complexity of user operations. By randomly extracting questions and requiring users to answer them through videos, combined with comprehensive verification of face, timbre and personalized passwords, it is difficult for illegal elements to impersonate users through false videos, effectively resisting automated attacks and false video threats, and building a more solid line of defense for user data and property security. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Other features, objects and advantages of the present application will become more apparent by reading the following detailed description of non-limiting embodiments with reference to the accompanying drawings, in which the same or similar reference numerals represent the same or similar features and the accompanying drawings are not drawn to scale.
[0051] Figure 1 This is a flowchart of the identity authentication method provided by the embodiment of the present application;
[0052] Figure 2 It is a flowchart of how to determine that the identity authentication result is a successful authentication in the identity authentication method provided in the embodiment of the present application;
[0053] Figure 3 This is a flowchart of a user registration in the identity authentication method provided in an embodiment of the present application;
[0054] Figure 4 This is another flowchart of user registration in the identity authentication method provided in the embodiment of the present application;
[0055] Figure 5 This is another flowchart of the identity authentication method provided in the embodiment of the present application;
[0056] Figure 6 It is a structural schematic diagram of an identity authentication device provided in an embodiment of the present application;
[0057] Figure 7 This is another structural diagram of the identity authentication device provided in the embodiment of the present application;
[0058] Figure 8 It is a structural diagram of an identity authentication device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0059] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only configured to explain the present application and are not configured to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0060] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0061] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0062] It is obvious to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit or scope of the present application. Therefore, the present application is intended to cover modifications and changes of the present application that fall within the scope of the corresponding claims (technical solutions for protection) and their equivalents. It should be noted that the implementation methods provided in the embodiments of the present application can be combined with each other without contradiction.
[0063] It should be noted that the acquisition, storage, use and processing of data in the embodiments of the present application are in compliance with the relevant provisions of national laws and regulations.
[0064] It should also be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0065] Before describing the technical solutions provided by the embodiments of the present application, in order to facilitate the understanding of the embodiments of the present application, the present application first specifically describes the problems existing in the related art:
[0066] Banks' online loan business has become a major target for criminals because it involves huge amounts of money transfers. They are willing to look for system loopholes at all costs to make personal profits.
[0067] In recent years, with the popularity of social networks, it has become easier to obtain user facial information, and the development of artificial intelligence has made it possible to generate a fake video clip of a user, which has brought severe challenges to existing face verification technology.
[0068] In some related face recognition technologies, the face recognition process often only requires the user to perform a series of simple and easy-to-imitate actions (such as blinking, shaking the head, nodding, etc.) in front of the camera, and then the system verifies the facial information based on these actions. Due to its simplicity, this verification method has significant security risks, making it relatively easy for criminals to forge or imitate the user's facial movements, thereby impersonating others to carry out illegal activities. Therefore, when performing identity verification, the relevant technology has the risk of identity being easily impersonated and cannot effectively protect the safety of users.
[0069] In other face recognition technologies, the verification process has been further expanded and strengthened, covering not only the recognition of facial information, but also the verification of audio information. Users need to accurately read the corresponding sentences or numbers according to the content displayed on the display screen. This process captures the user's facial features and audio features at the same time, aiming to build a more comprehensive and difficult to forge identity authentication system. However, although this technology is an improvement over single facial recognition, its security still needs to be strengthened in the face of advanced forgery technology.
[0070] There are also some face recognition technologies. Before face recognition, the background management system will send a string of static numbers (such as verification code, one-time password, etc.) to the user and ask the user to enter it to complete identity verification. There is a risk of leakage of verification codes. For example, criminals can steal the user's verification code through phishing emails, malware or other social engineering methods, and then impersonate the user to perform illegal operations. There is still a risk of user identity being misused. This method is not only unable to effectively defend against automated attacks and fake video threats, but also the entire verification process is cumbersome. Multiple rounds of identity verification methods increase the complexity of user operations and reduce user experience.
[0071] Based on this, the embodiments of the present application provide a method, apparatus, device, medium and program product for identity authentication, which can simultaneously verify multiple identities through means such as facial recognition, voice verification and dynamic question and answer, thereby significantly improving the security of identity authentication without increasing the complexity of user operations. By randomly selecting questions and requiring users to answer them through video, combined with comprehensive verification of face, voice and personalized passwords, it is difficult for illegal elements to impersonate users through false videos, effectively resisting automated attacks and false video threats, and building a more solid line of defense for user data and property security.
[0072] The following is an example of an identity authentication system to introduce the identity authentication method provided by the embodiment of the present application. The identity authentication system may include a user device and a background management system, and the user device is installed with a target application, a camera, and a microphone. The identity authentication method of the system mainly includes two parts: user registration and identity authentication.
[0073] 1) User registration.
[0074] During the user registration phase, the user first needs to enter a unique identity information and communication ID in the user device. The user device will then collect user behavior (such as facial information and voice information) through the camera and microphone. The user device will then guide the user to enter multiple personalized private question-and-answer pairs (questions and their corresponding answers) that only the user knows, and send all the collected information as user registration information to the backend management system. The backend management system will save the user registration information in the database for subsequent identity authentication.
[0075] 2) Identity verification.
[0076] After registration is completed, users need to authenticate their identities before using the service functions in the target application. The backend management system will randomly select a target question from multiple question-answer pairs in the user's registration information and send it to the user's device. The user's device can then collect the user's facial information, timbre information, and voice content information through the camera at the same time, and integrate it into the video information and send it to the backend management system. The backend management system can then analyze the video information collected by the user's device. If the facial information and timbre information in the video information match the registration information in the database successfully, and the voice content information in the video information is consistent with the answer corresponding to the target question, the user in the video information is considered to be the user himself. Combined with the comprehensive verification of face, timbre and personalized passwords, it is difficult for criminals to impersonate users through fake videos, effectively resisting automated attacks and fake video threats, and building a more solid line of defense for user data and property security.
[0077] The above introduces the overall solution of identity authentication by the identity authentication system. The following is a detailed description of the identity authentication method provided in the embodiment of the present application in conjunction with the accompanying drawings.
[0078] Figure 1 is a flowchart of an identity authentication method provided by an embodiment of the present application, such as Figure 1 As shown, the method may include steps S110 to S190.
[0079] S110 , when the user authorizes access rights to the target application, the user device receives an identity authentication request from the user.
[0080] Among them, user devices are electronic devices used by users to access the Internet, run applications, or perform other computing tasks. User devices include but are not limited to smartphones, tablets, laptops, desktop computers, smart watches, etc.
[0081] Access permissions refer to the rights granted by the user to the target application to access specific resources on the user's device or perform specific operations. For example, user behavior information can be collected through the camera and microphone.
[0082] An authentication request is a request made to confirm the user's identity. When a user attempts to access protected resources or perform sensitive operations in the target application, the user needs to be authenticated first to ensure that only legitimate users can access it.
[0083] Specifically, if the target application has access rights, if the user wants to use the services or resources provided by the target application, the user needs to perform identity authentication first. The user can enter an identity authentication request in the target application of the user device.
[0084] S120, the user equipment sends an identity authentication request to the background management system.
[0085] Specifically, upon receiving the user's identity authentication request, the user device will send it to the background management system.
[0086] S130, the background management system responds to the identity authentication request sent by the user device and obtains the identity identification information in the identity authentication request.
[0087] Among them, the backend management system is a software system running on the server, responsible for managing, controlling and maintaining the server-side logic, data and user information of the target application. The backend management system usually does not interact directly with the user, but receives the user's request through the target application and returns the corresponding response, thereby controlling the operation of the entire target application.
[0088] Identity information refers to information used to uniquely identify a user. Identity information may include at least one of a user name, password, email address, mobile phone number, ID number, etc.
[0089] Specifically, when a user attempts to access a service in a target application that requires identity authentication, the user's device will send the user's identity authentication request to the backend management system. After receiving the identity authentication request, the backend management system will extract the identity information from it.
[0090] S140, the backend management system obtains preset facial feature information, preset timbre feature information, and multiple preset key pairs corresponding to the identity information in the database, where the preset key pairs include preset questions and their corresponding preset answers.
[0091] Among them, the database is the database of the server where the background management system is located, and the database stores the user's registration information, that is, the user's identity information when registering and its corresponding preset facial feature information, preset voice feature information, and multiple preset key pairs (preset questions and their corresponding preset answers).
[0092] Specifically, after the user initiates an identity authentication request and provides the identity information, the backend management system will search the database for preset registration information associated with the identity information, including the user's preset facial feature information (such as the location and shape of feature points such as facial contour, eyes, and nose), preset timbre feature information (such as the frequency and pitch of the sound), and multiple preset key pairs. Each key pair contains a preset question and its corresponding preset answer that only the user is familiar with. These preset questions and their corresponding preset answers are used to verify the user's identity together with the preset facial feature information and preset timbre feature information.
[0093] S150, the background management system extracts a target preset question from a plurality of preset questions according to a preset random sampling algorithm.
[0094] Among them, the preset random sampling algorithm is used to randomly select or sample a preset question from multiple preset questions as the target preset question. It can ensure that the selection process is random, without a fixed pattern or predictability, thereby increasing security and diversity. For example, in the identity authentication process, the use of a preset random sampling algorithm can ensure that each user is asked to answer different questions when logging in, which is more secure.
[0095] Specifically, the backend management system uses a preset random sampling algorithm to randomly select a question from multiple preset questions pre-stored in the database as the target preset question. In this way, each time a user performs identity authentication, they need to answer different questions. The backend management system ensures the fairness and accuracy of the identity authentication process and enhances the security and unpredictability of the identity authentication process.
[0096] S160, the background management system sends a target preset question to the user device.
[0097] Specifically, the background management system will automatically send the target preset questions to the user device.
[0098] S170, the user device displays the target preset question and uses the camera and microphone to record the user behavior to obtain video information, the video information includes facial information and audio information, and the audio information includes timbre information and voice content information.
[0099] The video information is obtained by shooting the user after the user device displays the target preset question.
[0100] Specifically, after receiving the target preset questions sent by the background management system, the user device will display the target preset questions on the screen for the user to view. At the same time, the user device will start the built-in camera and microphone to record the user's answer behavior in real time. The recording process generates video information, which contains both the user's facial information and audio information. The audio information is further subdivided into timbre information and voice content information. The former describes the characteristics of the user's voice, such as pitch, sound quality, etc., and the latter is the actual answer content spoken by the user.
[0101] S180, the user equipment sends video information to the background management system.
[0102] Specifically, after the user device completes the display of the target preset questions and records the user's answers to these questions through the camera and microphone, it will send the video information including the user's facial information and audio information (including timbre and voice content) to the background management system.
[0103] S190, the backend management system determines that the identity authentication result is successful when the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer, wherein the target preset answer is the preset answer corresponding to the target preset question.
[0104] Specifically, after receiving the video information sent by the user's device, the backend management system will perform a series of complex comparison and verification without the user having to perform multiple operations or inputs. The system will compare whether the facial information in the video matches the preset facial feature information. At the same time, the system will also analyze whether the timbre information in the video matches the preset timbre feature information. In addition, the system will also compare the voice content information in the video with the target preset answer corresponding to the target preset question to ensure that the user's facial features, timbre features and the voice content of the answer are consistent with the preset correct answer. Only when the facial information, timbre information and voice content information are all verified, the backend management system will determine that the identity verification result is successful. This means that not only the user's identity has been confirmed, but also his answer is accurate. In addition, the user only needs to enter the verification information once (such as answering the preset question and being recorded at the same time), which greatly simplifies the operation process, improves the efficiency and accuracy of identity verification, and greatly optimizes the user experience, making user operation simple and fast.
[0105] The method for identity authentication provided by the embodiment of the present application first receives the identity authentication request of the user device through the background management system, and extracts the identity in the identity authentication request. Subsequently, the background management system retrieves the facial features, timbre features and multiple preset question-answer pairs (preset key pairs) corresponding to the identity from the database. A preset question in a preset question-answer pair is randomly selected and sent to the user, and the system then receives the record of the user answering the question through video (including face and audio). Only when the facial features and timbre features in the video are consistent with the preset facial features and preset timbre feature information in the database, and the answer content is consistent with the preset answer to the random question, the identity authentication is considered successful. By integrating multiple identity verification methods such as facial recognition, timbre verification and dynamic question-answering, it is achieved that the security of identity authentication is significantly improved without increasing the complexity of user operations. By randomly extracting questions and requiring users to answer them through videos, combined with comprehensive verification of face, timbre and personalized passwords, it is difficult for illegal elements to impersonate users through false videos, effectively resisting automated attacks and false video threats, and building a more solid line of defense for user data and property security.
[0106] Combine the following Figure 2 Step S190 introduces the detailed process of determining that the identity authentication result is successful verification when the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer.
[0107] Figure 2 It is a flowchart of how to determine that the identity authentication result is a successful authentication in the identity authentication method provided in the embodiment of the present application.
[0108] In some embodiments, Figure 2 As shown, step S190 determines that the identity authentication result is successful when the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer, and may include steps S191 to S194.
[0109] S191, the background management system extracts facial feature information from the facial information; and calculates the facial similarity between the facial feature information and preset facial feature information.
[0110] Specifically, when processing facial information, the backend management system will first extract key facial feature information from it, which can represent the uniqueness of the face. Subsequently, the backend management system will compare the extracted facial feature information with the preset facial feature information of the user in the database, and determine whether the current facial information matches the preset information by calculating the similarity between the two. For example, if the similarity reaches 95%, it means that it is the user's own facial information.
[0111] S192, the background management system extracts timbre feature information from the timbre information; and calculates the timbre similarity between the timbre feature information and preset timbre feature information.
[0112] Specifically, when processing the timbre information in the video information, the background management system will first extract unique timbre feature information from it, which can reflect the essential attributes of the sound. Subsequently, the background management system will compare the extracted timbre feature information with the preset timbre feature information of the user in the database, and evaluate the degree of match between the current timbre information and the preset timbre feature information by calculating the similarity between the two. For example, if the similarity reaches 97%, it means that it is the user's own facial information.
[0113] S193, the backend management system converts the voice content information into text content; and calculates the answer similarity between the text content and the target preset answer.
[0114] Specifically, the backend management system can convert the voice content information in the video information into readable text content through voice recognition technology. Subsequently, the backend management system will process the text content and calculate the similarity between it and the target preset answer to evaluate whether the text content matches or is close to the target answer. For example, if the similarity reaches 100%, it means that the question was answered by the user himself.
[0115] S194, when the facial similarity, voice similarity and answer similarity are all greater than a preset threshold, the background management system determines that the identity authentication result is successful.
[0116] Specifically, when performing comprehensive identity verification, the background management system will separately evaluate facial similarity, voice similarity, and answer similarity. If and only if these three similarity indicators exceed the corresponding preset thresholds, the background management system will determine that the identity verification result is successful.
[0117] It should be noted that the preset thresholds corresponding to facial similarity, voice similarity and answer similarity may be different, and the preset thresholds may be set according to needs, which is not limited in the embodiments of the present application.
[0118] In the embodiment of the present application, the accuracy and security of identity authentication are significantly improved by combining multiple verification methods of facial features, timbre features and voice content answers. By calculating facial similarity, timbre similarity and answer similarity respectively, and confirming that the verification is successful when all similarities exceed the corresponding preset thresholds, it effectively prevents the possible loopholes of a single verification method, and provides a more reliable and comprehensive guarantee for user identity authentication. It achieves the significant improvement of the security of identity authentication without increasing the complexity of user operations, making it difficult for illegal elements to impersonate users through false videos, effectively resisting automated attacks and false video threats, and building a more solid line of defense for user data and property security.
[0119] In some embodiments, before step S190 determines that the identity authentication result is a successful authentication when the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer, the identity authentication method also includes step S200.
[0120] S200, using a preset filtering algorithm to filter the video information to obtain filtered video information.
[0121] Among them, the preset filtering algorithm is used to remove noise or unnecessary components from the original signal (video information) while retaining or enhancing the required information.
[0122] Specifically, the original video information is processed by applying a pre-set filtering algorithm to remove noise, improve image quality, and improve sound quality, and finally obtain optimized and improved video information to improve the quality of the video information, so as to be used for more accurate subsequent analysis of the video information, thereby improving the accuracy of identity authentication. The accuracy of identity authentication can be guaranteed in the case of poor ambient light and large interference, and the impact of environmental interference factors on the identity authentication results can be reduced.
[0123] Combine the following Figure 3 and Figure 4 This section describes the specific process of user registration.
[0124] Figure 3 It is a flow chart of user registration in the identity authentication method provided in an embodiment of the present application.
[0125] In some embodiments, before the user device receives the user's identity authentication request in step S110 when the user authorizes the access rights of the target application, the method further includes steps S101 to S105.
[0126] S101: When a user accesses a registration page of a target application, a user device obtains a first input on the registration page, where the first input includes user identity information.
[0127] The first input is the information provided by the user on the registration page for the first time, including key elements for uniquely identifying the user, namely, the user's identity information.
[0128] Specifically, when a user accesses the registration page of the target application installed on the user's device, the user needs to enter identity information, such as the user's user name, email address, mobile phone number, etc., which will be used for subsequent login authentication, account management, and possible personalized services to ensure that the user's identity is accurately recorded.
[0129] S102: The user device displays a first page in response to the identity information.
[0130] Specifically, after the user enters the identity information, the user device will display the first page.
[0131] S103, when the user device receives a second input to the first page, the user device uses a camera and a microphone to collect preset facial information and preset audio information of the user, wherein the second input includes a plurality of preset key pairs.
[0132] Specifically, after the user device displays the first page, if the user performs further interaction, that is, performs a second input, and this second input contains multiple preset key pairs (questions and their corresponding answers that only the user is familiar with), then the user device will respond to the second input and use the camera and microphone functions to collect the user's preset facial information and preset audio information.
[0133] S104: The user device generates a user registration request based on the user's identity information, multiple preset key pairs, preset facial information, and preset audio information.
[0134] Specifically, the user device encapsulates the collected user's identity information, multiple preset key pairs, preset facial information, and preset audio information into a user registration request.
[0135] S105, the user equipment sends a user registration request to the background management system.
[0136] Specifically, the user device sends a user registration request (user's identity information, multiple preset key pairs, preset facial information and preset audio information) to the background management system.
[0137] In the embodiment of the present application, when a user accesses the registration page of the target application, the user's identity information is first collected, and the first page is displayed to collect multiple preset key pairs input by the user, and then the user's preset facial information and preset audio information are collected by the camera and microphone, and the user registration request is generated by combining these information and sent to the backend management system. This process not only enhances the security of user registration, ensures the authenticity of the user's identity through a multiple identity authentication mechanism, but also provides users with a more personalized and secure registration experience.
[0138] Figure 4 This is another flowchart of user registration in the identity authentication method provided in the embodiment of the present application.
[0139] In some embodiments, Figure 4 As shown, before responding to the identity authentication request sent by the user equipment and obtaining the identity identification information in the identity authentication request, the identity authentication method further includes steps S106 and S107.
[0140] S106, the backend management system responds to the user registration request sent by the user device and obtains the user registration information in the registration request, where the user registration information includes the user's identity information and its corresponding preset facial feature information, preset timbre feature information, and multiple preset key pairs.
[0141] Specifically, when the user device sends a user registration request, the background management system will receive and obtain the user's identity information and its corresponding preset facial feature information, preset voice feature information, and multiple preset key pairs in the user registration request, which are used as reference information for identity authentication.
[0142] S107, the backend management system stores the user registration information in the database.
[0143] Specifically, the backend management system can store the user registration information (the user's identity information and its corresponding preset facial feature information, preset timbre feature information, and multiple preset key pairs) in a database for subsequent quick query and use.
[0144] In an embodiment of the present application, during the registration stage, the background management system can receive and store the user's identity, preset facial and voice feature information, and multiple sets of preset key pairs. This information is used as baseline data for identity authentication and stored in a database to facilitate subsequent rapid verification of the user's identity.
[0145] Figure 5 This is another flow chart of the identity authentication method provided in the embodiment of the present application.
[0146] In one example, if Figure 5As shown, the identity authentication method may include steps S01 to S12.
[0147] Steps S01 to S03 are the user registration stage.
[0148] S01, when a user registers, the user device generates a user registration request based on the user's identity information, multiple preset key pairs (questions familiar to the user and their corresponding answers), preset facial information and preset audio information. Among them, using questions familiar to the user as a password lock and the answers known only to the user as the key not only greatly increases the difficulty for hackers to crack the system, but also does not increase the difficulty of user operation, and there is no situation where the user forgets the key. In addition, the user can modify the set of questions regularly, so there is no need to worry even if the user accidentally leaks the key.
[0149] For example, when a user applies for a bank loan online for the first time, he or she needs to register first, enter his or her ID information, and set up multiple questions related to himself or herself, as well as answers that only he or she is familiar with.
[0150] S02, the user equipment sends a user registration request to the background management system.
[0151] S03, the backend management system stores the user registration information (including the user's identity information, multiple preset key pairs, preset facial information and preset audio information) in the database.
[0152] Steps S04 to S12 are the user identity verification stage.
[0153] S04, the user equipment receives the user's identity authentication request (including identity identification information).
[0154] S05, the user device sends an identity authentication request (including identity identification information) to the background management system.
[0155] For example, when a user applies for a bank loan online, he or she first logs into the target application, authorizes CCB to query his or her personal credit information, and then enters the identity verification process. The target application sends an identity verification request to the backend management system.
[0156] S06, the backend management system obtains preset facial feature information, preset timbre feature information, and multiple preset key pairs corresponding to the identity information in the database, where the preset key pairs include preset questions and their corresponding preset answers.
[0157] S07, the background management system extracts a target preset question from multiple preset questions according to a preset random sampling algorithm.
[0158] S08, the backend management system sends the target preset question to the user device.
[0159] S09, the user device displays the target preset question and uses the camera and microphone to record the user's behavior to obtain video information (including the user's facial information, audio information, and the audio information includes timbre information and voice content information).
[0160] S10, the user equipment sends video information to the background management system.
[0161] For example, after receiving the information (preset target question) returned by the backend management system, the user device displays the preset target question in text on the top of the mobile phone screen. At this time, the user can click the OK button on the page to start the face verification process, and the user device starts recording the verification video. The user device will voice prompt the user to speak the answer to the preset target question on the screen in standard Mandarin. After the answer, the user clicks the Done button on the page, the mobile phone ends the video recording, and sends the video information to the backend management system.
[0162] S11, the background management system performs noise removal processing on the video information.
[0163] S12, the backend management system determines that the identity verification result is successful when the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer. And as long as one of the information does not match (the facial information does not match the preset facial feature information, or the timbre information does not match the preset timbre information, or the voice content information does not match the target preset answer corresponding to the target preset question), the identity verification result is confirmed as failed.
[0164] In the embodiment of the present application, a safe and convenient multi-dimensional verification system is constructed by storing the user's identity, facial features, timbre features and preset key pairs (including preset questions and their answers) when registering. During the registration stage, the user device submits and stores rich personal information (identity, facial features, timbre features and preset key pairs) to the background management system, providing comprehensive benchmark data for subsequent verification. During the identity authentication stage, the user only needs to submit the identity through the user device, and the system can randomly extract preset questions and request the user to answer, while the user device records the user's facial and audio information in real time. Through facial, timbre and voice content verification, the accuracy and security of verification are significantly improved. The background management system performs noise removal on the video information to further ensure the stability and reliability of the verification process. Finally, only when all the information to be verified (facial, timbre and voice content) are matched successfully, the identity authentication is confirmed to be passed, which effectively prevents identity impersonation and fraud, and provides a solid guarantee for user information and transaction security.
[0165] Based on the same inventive concept, the embodiment of the present application also provides an identity authentication device, which is applied to a background management system, such as Figure 6 As shown, the device 600 may include an acquisition module 610 , a sampling module 620 , a sending module 630 , a receiving module 640 and a determination module 650 .
[0166] The acquisition module 610 is used to respond to the identity authentication request sent by the user equipment and acquire the identity identification information in the identity authentication request;
[0167] The acquisition module 610 is further used to acquire preset facial feature information, preset timbre feature information, and a plurality of preset key pairs corresponding to the identity information in the database, wherein the preset key pairs include preset questions and their corresponding preset answers;
[0168] The sampling module 620 is used to select a target preset question from a plurality of preset questions according to a preset random sampling algorithm;
[0169] A sending module 630, configured to send a target preset question to a user device;
[0170] The receiving module 640 is used to receive video information sent by the user device, where the video information includes facial information and audio information, where the audio information includes timbre information and voice content information, and the video information is obtained by shooting the user after the user device displays the target preset question;
[0171] Determination module 650 is used to determine that the identity authentication result is successful verification when the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer, wherein the target preset answer is the preset answer corresponding to the target preset question.
[0172] The identity authentication device provided by the embodiment of the present application first receives the identity authentication request of the user device through the background management system, and extracts the identity in the identity authentication request. Subsequently, the background management system retrieves the facial features, timbre features and multiple preset question-answer pairs (preset key pairs) corresponding to the identity from the database. By randomly selecting a preset question in a preset question-answer pair and sending it to the user, the system then receives the record of the user answering the question through video (including face and audio). Only when the facial features and timbre features in the video are consistent with the preset facial features and preset timbre feature information in the database, and the answer content is consistent with the preset answer to the random question, the identity authentication is considered successful. By integrating the means of simultaneous verification of multiple identities such as facial recognition, timbre verification and dynamic question-answering, it is achieved without increasing the complexity of user operation. At the same time, the security of identity authentication is significantly improved. By randomly extracting questions and requiring users to answer videos, combined with comprehensive verification of face, timbre and personalized passwords, it is difficult for illegal elements to impersonate users through false videos, effectively resisting automated attacks and false video threats, and building a more solid defense line for user data and property security.
[0173] In some embodiments, the determination module is used to determine that the identity authentication result is successful when the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer. Specifically, it can be used to:
[0174] Extracting facial feature information from the facial information; calculating facial similarity between the facial feature information and preset facial feature information;
[0175] Extracting timbre feature information from the timbre information; calculating the timbre similarity between the timbre feature information and the preset timbre feature information;
[0176] Convert the speech content information into text content; calculate the answer similarity between the text content and the target preset answer;
[0177] When the facial similarity, voice similarity and answer similarity are all greater than a preset threshold, the identity authentication result is determined to be successful.
[0178] In some embodiments, when the facial information of the determination module matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer successfully, before determining that the identity authentication result is successful, the device further includes:
[0179] The filtering module is used to filter the video information using a preset filtering algorithm to obtain filtered video information.
[0180] In some embodiments, before the obtaining module is used to respond to the identity authentication request sent by the user equipment and obtain the identity identification information in the identity authentication request, the apparatus further includes a storage module:
[0181] The acquisition module is further used to respond to the user registration request sent by the user device and acquire the user registration information in the registration request, where the user registration information includes the user's identity information and its corresponding preset facial feature information, preset timbre feature information, and multiple preset key pairs;
[0182] The storage module is used to store user registration information in the database.
[0183] Each module in the identity authentication device provided in the embodiment of the present application can realize Figures 1 to 6 The functions of each step of the provided identity authentication method and its ability to achieve corresponding technical effects are described briefly and will not be elaborated here.
[0184] Based on the same inventive concept, the embodiment of the present application also provides an identity authentication device, which is applied to a user device, and the user device is installed with a target application and a camera, such as Figure 7 As shown, the device 700 may include a receiving module 710 , a sending module 720 and a display module 730 .
[0185] The receiving module 710 is used to receive the user's identity authentication request when the user authorizes the access rights of the target application;
[0186] The sending module 720 is used to send an identity authentication request to the background management system, so that the background management system responds to the identity authentication request and obtains the identity identification information in the identity authentication request; obtains preset facial feature information, preset timbre feature information, and multiple preset key pairs corresponding to the identity identification information in the database, wherein the preset key pairs include preset questions and their corresponding preset answers; extracts a target preset question from the multiple preset questions according to a preset random sampling algorithm; and sends the target preset question to the user device;
[0187] The display module 730 is used to display the target preset question and use the camera to shoot the user to obtain video information, the video information includes facial information, audio information, and the audio information includes timbre information and voice content information;
[0188] The sending module 720 is also used to send video information to the background management system, so that the background management system can determine that the identity authentication result is successful when the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer. The target preset answer is the preset answer corresponding to the target preset question.
[0189] In some embodiments, when the receiving module is used for the user to authorize the access rights of the target application, before receiving the user's identity authentication request, the device further includes a collection module and a generation module:
[0190] The acquisition module is further used to acquire a first input to the registration page when the user accesses the registration page of the target application, wherein the first input includes the user's identity information;
[0191] The display module is further used to display the first page in response to the identity information;
[0192] A collection module, configured to collect preset facial information and preset audio information of a user by using a camera and a microphone when receiving a second input to the first page, wherein the second input includes a plurality of preset key pairs;
[0193] A generation module, used to generate a user registration request based on the user's identity information, multiple preset key pairs, preset facial information and preset audio information;
[0194] The sending module is also used to send a user registration request to the background management system.
[0195] Each module in the identity authentication device provided in the embodiment of the present application can realize Figures 1 to 6 The functions of each step of the provided identity authentication method and its ability to achieve corresponding technical effects are described briefly and will not be elaborated here.
[0196] Figure 8 A schematic diagram of the hardware structure of an identity authentication device provided in an embodiment of the present application is shown.
[0197] The identity verification device may include a processor 801 and a memory 802 storing computer program instructions.
[0198] Specifically, the processor 801 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0199] The memory 802 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 802 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 802 may include a removable or non-removable (or fixed) medium. Where appropriate, the memory 802 may be inside or outside the device for authentication. In a particular embodiment, the memory 802 is a non-volatile solid-state memory.
[0200] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present disclosure.
[0201] The processor 801 implements any one of the identity authentication methods in the above embodiments by reading and executing computer program instructions stored in the memory 802 .
[0202] In one example, the identity verification device may further include a communication interface 803 and a bus 804. Figure 8 As shown, the processor 801, the memory 802, and the communication interface 803 are connected via a bus 804 and communicate with each other.
[0203] The communication interface 803 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0204] Bus 804 includes hardware, software or both, and the parts of the authenticated device are coupled to each other. For example, but not limitation, the bus may include Accelerated Graphics Port (AGP) or other graphics bus, Enhanced Industry Standard Architecture (EISA) bus, Front Side Bus (FSB), Hyper Transport (HT) interconnection, Industry Standard Architecture (ISA) bus, InfiniBand interconnection, Low Pin Count (Linear Predictive Coding, LPC) bus, Memory Bus, Micro Channel Architecture (MCA) bus, Peripheral Component Interconnect (PCI) bus, PCI-Express (Peripheral Component Interconnect-X, PCI-X) bus, Serial Advanced Technology Attachment (SATA) bus, Video Electronics Standards Association Local (VESA Local Bus, VLB) bus or other suitable bus or two or more of these combinations. Where appropriate, bus 804 may include one or more buses. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
[0205] The device can execute the identity authentication method in the embodiment of the present application based on each unit / component in the identity authentication device, thereby realizing the combination of Figures 1 to 6 Describes the authentication method.
[0206] In addition, in combination with the identity authentication method in the above embodiment, the embodiment of the present application can provide a computer storage medium to implement. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the identity authentication methods in the above embodiment is implemented.
[0207] The present application also provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes each process of implementing any one of the above-mentioned identity authentication method embodiments.
[0208] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0209] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (Read-Only Memory, ROM), flash memory, erasable read-only memory (Erasable Read Only Memory, EROM), floppy disks, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical discs, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0210] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0211] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0212] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for identity authentication, characterized in that: Applied to the background management system, the method includes: In response to an identity authentication request sent by a user device, obtaining identity identification information in the identity authentication request; Obtaining preset facial feature information, preset timbre feature information, and a plurality of preset key pairs corresponding to the identity information in a database, wherein the preset key pairs include preset questions and their corresponding preset answers; Selecting a target preset question from the plurality of preset questions according to a preset random sampling algorithm; Sending the target preset question to the user equipment; Receiving video information sent by the user device, the video information including facial information and audio information, the audio information including timbre information and voice content information, the video information being obtained by shooting the user after the user device displays the target preset question; When the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer, the identity authentication result is determined to be successful verification, wherein the target preset answer is the preset answer corresponding to the target preset question.
2. The method according to claim 1, characterized in that When the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer, determining that the identity authentication result is successful includes: Extracting facial feature information from the facial information; calculating facial similarity between the facial feature information and the preset facial feature information; Extracting timbre feature information from the timbre information; calculating the timbre similarity between the timbre feature information and the preset timbre feature information; Converting the voice content information into text content; calculating the answer similarity between the text content and the target preset answer; When the facial similarity, the timbre similarity and the answer similarity are all greater than a preset threshold, the identity authentication result is determined to be successful.
3. The method according to claim 1, characterized in that In the case where the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer, before determining that the identity authentication result is successful, the method further includes: The video information is filtered using a preset filtering algorithm to obtain the filtered video information.
4. The method according to any one of claims 1 to 3, characterized in that: Before obtaining the identity information in the identity authentication request in response to the identity authentication request sent by the user equipment, the method further includes: In response to a user registration request sent by the user device, obtaining user registration information in the registration request, the user registration information including user identification information and corresponding preset facial feature information, preset timbre feature information, and multiple preset key pairs; The user registration information is stored in the database.
5. A method for identity authentication, characterized in that: Applied to a user device, the user device is installed with a target application, a camera and a microphone, the method comprises: When the user authorizes access rights to the target application, receiving an identity authentication request from the user; The identity authentication request is sent to a backend management system, so that the backend management system responds to the identity authentication request and obtains the identity identification information in the identity authentication request; in a database, preset facial feature information, preset timbre feature information, and a plurality of preset key pairs corresponding to the identity identification information are obtained, wherein the preset key pairs include preset questions and their corresponding preset answers; according to a preset random sampling algorithm, a target preset question is extracted from the plurality of preset questions; and the target preset question is sent to the user device; Displaying the target preset question, and recording the user behavior by using the camera and the microphone to obtain video information, wherein the video information includes facial information and audio information, and the audio information includes timbre information and voice content information; The video information is sent to the backend management system so that the backend management system can determine that the identity authentication result is successful when the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer, wherein the target preset answer is the preset answer corresponding to the target preset question.
6. The method according to claim 5, characterized in that In the case where the user authorizes the access rights of the target application, before receiving the identity authentication request of the user, the method further includes: When a user accesses a registration page of the target application, obtaining a first input to the registration page, wherein the first input includes identity information of the user; In response to the identity information, displaying a first page; When receiving a second input to the first page, using the camera and the microphone to collect preset facial information and preset audio information of the user, wherein the second input includes a plurality of preset key pairs; Generate a user registration request based on the user's identity information, the multiple preset key pairs, the preset facial information and the preset audio information; Send the user registration request to the background management system.
7. An identity verification device, characterized in that: Applied to the background management system, the device includes: An acquisition module, configured to respond to an identity authentication request sent by a user device and acquire identity identification information in the identity authentication request; The acquisition module is further used to acquire preset facial feature information, preset timbre feature information, and a plurality of preset key pairs corresponding to the identity information in a database, wherein the preset key pairs include preset questions and their corresponding preset answers; A sampling module, used for selecting a target preset question from the plurality of preset questions according to a preset random sampling algorithm; A sending module, used for sending the target preset question to the user equipment; A receiving module, configured to receive video information sent by the user device, wherein the video information includes facial information and audio information, wherein the audio information includes timbre information and voice content information, and the video information is obtained by shooting the user after the user device displays the target preset question; A determination module is used to determine that the identity authentication result is successful verification when the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer, wherein the target preset answer is the preset answer corresponding to the target preset question.
8. An identity verification device, characterized in that: Applied to a user device, the user device is equipped with a target application, a camera and a microphone, and the device comprises: A receiving module, configured to receive an identity authentication request from a user when the user authorizes access rights to the target application; A sending module, configured to send the identity authentication request to a background management system, so that the background management system responds to the identity authentication request and obtains the identity identification information in the identity authentication request; obtains preset facial feature information, preset timbre feature information, and a plurality of preset key pairs corresponding to the identity identification information in a database, wherein the preset key pairs include preset questions and their corresponding preset answers; extracts a target preset question from the plurality of preset questions according to a preset random sampling algorithm; and sends the target preset question to the user device; A display module is used to display the target preset question and use the camera and the microphone to record the user's behavior to obtain video information, wherein the video information includes facial information and audio information, and the audio information includes timbre information and voice content information; The sending module is also used to send the video information to the background management system, so that the background management system can determine that the identity authentication result is successful when the facial information matches the preset facial feature information, the timbre information matches the preset timbre feature information, and the voice content information matches the target preset answer, wherein the target preset answer is the preset answer corresponding to the target preset question.
9. An identity verification device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the identity authentication method as described in any one of claims 1 to 4 is implemented, or the identity authentication method as described in claim 5 or 6 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the identity authentication method as described in any one of claims 1 to 4, or implement the identity authentication method as described in claim 5 or 6.
11. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of a device, the device is enabled to perform the identity authentication method as described in any one of claims 1 to 4, or the identity authentication method as described in claim 5 or 6.
Citation Information
Patent Citations
Identity verification method and device
CN111160928A
Identity authentication method, device and equipment, readable storage medium and product
CN116545761A
