User identity authentication method, device, computer equipment and storage medium
By extracting and associating multi-dimensional features in user accounts, calculating the similarity distance between terminals, intercepting illegal password-free payment requests, solving the problem of insufficient security of password-free payment, and realizing identity verification and security without perception. sexual enhancement.
Patent Information
- Application Number
- CN201910828066.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-09-03
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2039-09-03
AI Technical Summary
The existing password-free payment function has insufficient security when user accounts are stolen, causing users to face large losses. How to improve the security of password-free payment without being aware of it.
By obtaining multi-dimensional features of logged-in user accounts, extracting and correlating them, the similarity distance between terminals is calculated. When the similarity distance does not exceed the threshold, password-free payment is allowed. When the threshold is exceeded, the request is intercepted and prompt information is sent to the user. Using multiple Dimensional feature comparison identifies user identity.
It effectively identifies the similarity of user accounts when logging in from different terminals, improves the security of password-free payment, and prevents illegal intrusion and account theft.
Smart Images

Figure CN110738499B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a user identity authentication method, apparatus, computer equipment and storage medium. Background Art
[0002] With the development of Internet technology and the popularization of mobile terminals, mobile payment has become an important payment method in people's daily lives. With the increasing frequency of mobile payment, in order to simplify the operation of mobile payment, various payment software have also launched the function of password-free payment, that is, when users make payments on mobile terminals, they can complete the payment without entering a password. Although the function of password-free payment provides convenience for users, if the user account is stolen, it will cause great losses to the user. Therefore, how to improve the security of the password-free payment function has become a technical problem that needs to be solved at present. Summary of the invention
[0003] Based on this, it is necessary to provide a user identity authentication method, device, computer equipment and storage medium to address the above technical problems, which can effectively improve the security of the password-free payment function without the user's awareness.
[0004] A user identity verification method, the method comprising:
[0005] Acquire first information corresponding to a first terminal of a logged-in user account, and extract multi-dimensional features corresponding to the first terminal from the first information;
[0006] Associating the multi-dimensional features corresponding to the first terminal with the user account;
[0007] When receiving a password-free payment request sent by a second terminal that has logged into the user account, obtaining a multi-dimensional feature corresponding to the second terminal;
[0008] Calculating a similarity distance between the multi-dimensional feature corresponding to the first terminal and the multi-dimensional feature corresponding to the second terminal;
[0009] If the similarity distance does not exceed the threshold, it is determined that the user identity of the second terminal has been verified, and according to the password-free payment request, the second terminal is allowed to perform the password-free payment operation;
[0010] If the similarity distance exceeds a threshold, it is determined that the user identity of the second terminal has not passed the verification, the password-free payment request is intercepted, and a corresponding prompt message is sent to the first terminal.
[0011] In one embodiment, calculating the similarity distance between the multi-dimensional feature corresponding to the first terminal and the multi-dimensional feature corresponding to the second terminal includes:
[0012] Performing dimensionality reduction processing on the multi-dimensional features corresponding to the first terminal to obtain two-dimensional coordinates corresponding to the first terminal;
[0013] Performing dimensionality reduction processing on the multi-dimensional features corresponding to the second terminal to obtain two-dimensional coordinates corresponding to the second terminal;
[0014] A similarity distance is calculated using the two-dimensional coordinates corresponding to the first terminal and the two-dimensional coordinates corresponding to the second terminal.
[0015] In one embodiment, performing dimensionality reduction processing on the multi-dimensional features corresponding to the first terminal to obtain the two-dimensional coordinates corresponding to the first terminal includes:
[0016] Grouping the multi-dimensional features corresponding to the first terminal to obtain a biometric feature group and a payment feature group;
[0017] Reducing the biometric feature group and the consumption feature group to one dimension respectively, to obtain one-dimensional biometric feature coordinates and one-dimensional payment feature coordinates;
[0018] The one-dimensional biological feature coordinates and the one-dimensional payment feature coordinates are used to generate two-dimensional coordinates corresponding to the first terminal.
[0019] In one embodiment, the method further comprises:
[0020] Obtaining a first weight corresponding to the biometric feature and a second weight corresponding to the payment feature;
[0021] Correcting the one-dimensional biometric coordinates using the first weight;
[0022] Using the second weight to modify the one-dimensional payment feature coordinates;
[0023] The two-dimensional coordinates corresponding to the first terminal are generated by using the corrected one-dimensional biological feature coordinates and the corrected one-dimensional payment feature coordinates.
[0024] In one embodiment, the method further comprises:
[0025] Obtaining a preset key, encoding the preset key, and obtaining a key pattern;
[0026] Add the key graphic to the preset position of the preset file to generate a key file;
[0027] The key file is sent to a first terminal, and the first terminal is used to decrypt the key file to obtain a preset key, and the preset key is used to encrypt the user account.
[0028] In one embodiment, the method further comprises:
[0029] Collecting consumption information corresponding to the user account;
[0030] Analyze the consumption information to obtain the user's consumption habits;
[0031] The password-free payment limit corresponding to the user account is adjusted according to the user's consumption habits.
[0032] A user identity verification device, the device comprising:
[0033] A feature extraction module, used to obtain first information corresponding to a first terminal of a logged-in user account, and extract multi-dimensional features corresponding to the first terminal from the first information;
[0034] an associating module, configured to associate the multi-dimensional features corresponding to the first terminal with the user account;
[0035] The feature extraction module is also used to obtain the multi-dimensional features corresponding to the second terminal when receiving a password-free payment request sent by the second terminal that has logged into the user account;
[0036] an identity authentication module, configured to, when receiving a password-free payment request sent by the second terminal through the user account, calculate a similarity distance between the multi-dimensional features corresponding to the first terminal and the multi-dimensional features corresponding to the second terminal; if the similarity distance does not exceed a threshold, determine that the user identity of the second terminal has been verified, and allow the second terminal to perform a password-free payment operation according to the password-free payment request; if the similarity distance exceeds a threshold, determine that the user identity of the second terminal has not been verified;
[0037] The communication module is used to intercept the password-free payment request and send corresponding prompt information to the first terminal.
[0038] In one embodiment, the identity authentication module is also used to perform dimensionality reduction processing on the multi-dimensional features corresponding to the first terminal to obtain the two-dimensional coordinates corresponding to the first terminal; perform dimensionality reduction processing on the multi-dimensional features corresponding to the second terminal to obtain the two-dimensional coordinates corresponding to the second terminal; and calculate the similarity distance using the two-dimensional coordinates corresponding to the first terminal and the two-dimensional coordinates corresponding to the second terminal.
[0039] A computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0040] A computer-readable storage medium stores a computer program, which implements the steps in the above-mentioned method embodiments when executed by a processor.
[0041] The above-mentioned user identity authentication method, device, computer equipment and storage medium extract the multi-dimensional features corresponding to the first terminal by collecting the first information of the first terminal of the logged-in user account. By collecting the second information of the second terminal of the logged-in user account, the multi-dimensional features corresponding to the second terminal are extracted. Since the multi-dimensional features corresponding to the first terminal are associated with the user account that has been pre-enabled for password-free payment, after the second terminal logs in to the user account, if the second terminal uses the user account to initiate a password-free payment request, the user identity of the second terminal can be verified by calculating the similarity distance between the multi-dimensional features corresponding to the first terminal and the multi-dimensional features corresponding to the second terminal. If the similarity distance does not exceed the threshold, it is determined that the user identity has passed the verification, and the second terminal is allowed to perform the password-free payment operation. If the similarity distance exceeds the threshold, it can be determined that the user identity has not passed the verification, so that the password-free payment request is intercepted in time, and the corresponding prompt information is sent to the first terminal. In the whole process, identity authentication can be performed without the user's perception. By comparing the multi-dimensional features, the similarity between users when the user account is logged in at different terminals can be effectively identified, thereby effectively improving the security of password-free payment. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 An application scenario diagram of a user identity authentication method in an embodiment;
[0043] Figure 2 A schematic diagram of a flow chart of a user identity authentication method in one embodiment;
[0044] Figure 3 A schematic flow chart of a step of calculating a similarity distance between a multi-dimensional feature corresponding to a first terminal and a multi-dimensional feature corresponding to a second terminal in another embodiment;
[0045] Figure 4 A schematic diagram of a flow chart of steps for encrypting a user account in one embodiment;
[0046] Figure 5 is a structural block diagram of a user identity verification device in one embodiment;
[0047] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0049] The user identity authentication method provided in this application can be applied to Figure 1 In the application environment shown in FIG. 1 , the first terminal 102 communicates with the server 104 via a network. The second terminal 106 communicates with the server 104 via a network. The first terminal 102 and the second terminal 104 may be, but are not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.
[0050] In one embodiment, Figure 2 As shown, a user authentication method is provided, which is applied to Figure 1 The server in the example is used to illustrate the following steps:
[0051] Step 202: Obtain first information corresponding to a first terminal of a logged-in user account, and extract multi-dimensional features corresponding to the first terminal from the first information.
[0052] The first terminal is pre-installed with a payment application. The first terminal can register a corresponding user account on the server through the payment application. The server stores the user account. The first terminal can send a password-free setting request to the server through the application, and the server enables password-free payment for the user account according to the password-free setting request.
[0053] When the payment application is running on the first terminal, the first information corresponding to the first terminal can be collected. The first information includes the device information and consumption information corresponding to the first terminal. The device information corresponding to the first terminal can also be called the first device information, including the device identification, device account, MAC address, screen unlock password and biometric information of the first terminal. Among them, the device account can be set by the user. The screen unlock password includes a numeric password, a pattern password and biometric information. The biometric information includes the user's fingerprint, voiceprint, face image and the like. The payment application can collect pre-stored biometrics locally on the first terminal, or collect corresponding biometrics during the screen unlocking process of the first terminal, or collect corresponding biometrics during voice input or face shooting at the first terminal. The payment information includes information such as the payment record of the first terminal through the application. Among them, the payment record includes the user account, the payee, the payment time, the payment amount and the like. The payment application uploads the collected first information to the server.
[0054] Step 204: associate the multi-dimensional features corresponding to the first terminal with a pre-stored user account.
[0055] The server extracts multi-dimensional features from the first information. Specifically, the server reads the configuration file and extracts multi-dimensional features from the first information according to the multiple dimensions recorded in the configuration file. The dimensions include: device account, screen unlock password, biometrics, user account, payee, payment time, payment amount, etc. For biometrics, the server can extract information according to dimensions such as fingerprints, facial images, and voiceprints.
[0056] Specifically, the server can obtain fingerprint images of one or more fingerprints of the first terminal and convert the fingerprint images into fingerprint vectors. The server can obtain the facial image (also referred to as the first facial image) in the biometric feature in the information by locating key points of the first facial image, identifying the located first facial image according to a preset facial recognition algorithm, and extracting features from the located first facial image to obtain the first facial features corresponding to the first facial image. The server can also encode the voiceprint features in the first information to generate the corresponding first voiceprint text. The encoding method can use base64 encoding.
[0057] The server uses the extracted multi-dimensional features as a feature set and associates the feature set with a pre-stored user account. The user account may be an account that has enabled password-free payment.
[0058] Step 206, when receiving a password-free payment request sent by a second terminal of a logged-in user account, obtaining multi-dimensional features corresponding to the second terminal.
[0059] The payment application is also pre-installed on the second terminal. When the payment program is running, the second information in the second terminal can be uploaded to the server. The second information includes the device information and consumption information corresponding to the second terminal. The device information corresponding to the second terminal includes the device identification, device account, MAC address, screen unlock password and biometric information of the second terminal. The device information corresponding to the second terminal includes information such as payment records of the second terminal through the application. The second terminal can log in to the payment application using a user account that is completely different from the first terminal, or it can log in to the application using the same user account as the first terminal. The second terminal can also switch the user account for logging in to the payment application.
[0060] Assuming that the user account is stolen, the illegal intruder may use a computer, such as a desktop computer or a personal laptop computer, to make online password-free payments. If the first terminal is a mobile terminal and the second terminal is a computer, the payment methods of the first terminal and the second terminal may be different. Among them, the first terminal can initiate a password-free payment through a payment application, and the second terminal can initiate a password-free payment by accessing a payment page through a browser. When the first terminal is a mobile terminal and the second terminal is a computer, after the user account logs in to the second terminal, the second terminal can send a payment page acquisition request to the server, and the server returns the corresponding payment page to the second terminal according to the payment page acquisition request. Among them, the payment page carries a detection script. When the second terminal receives the payment page, the payment page is displayed in the browser interface of the second terminal, and the detection script runs in the second terminal. When the detection script is running, the device information and payment records of the second terminal are collected, and the detected device information and payment records are uploaded to the server as the second information. When the second terminal uses the user account to send a password-free payment request to the server, the server triggers the identity authentication of the user account after receiving the request. The server extracts the multi-dimensional features corresponding to the second terminal in the second information according to the multiple dimensions recorded in the configuration file.
[0061] Step 208: Calculate the similarity distance between the multi-dimensional feature corresponding to the first terminal and the multi-dimensional feature corresponding to the second terminal.
[0062] Step 210 , determining whether the similarity distance exceeds a threshold, if so, executing step 212 , otherwise, executing step 214 .
[0063] Step 212: determine that the user identity of the second terminal has not passed the verification, intercept the password-free payment request, and send a corresponding prompt message to the first terminal.
[0064] Step 214: determine that the user identity of the second terminal has passed the verification, and allow the second terminal to perform the password-free payment operation according to the password-free payment request.
[0065] Considering that the same user usually sets the same or similar device account and screen unlock password when using different terminals, the biometric features of the same user will remain the same, and the type of recipient and payment amount of the same user in similar time periods are similar. For example, similar amounts are paid during the breakfast time period.
[0066] When the second terminal uses the user account to send a password-free payment request to the server, the server triggers identity authentication of the user account after receiving the request. Specifically, the server calculates the similarity distance between the first terminal and the second terminal through the multi-dimensional features corresponding to the first terminal and the multi-dimensional features corresponding to the second terminal. If the similarity distance does not exceed the threshold, it means that the first terminal and the second terminal are relatively close, and the user identity corresponding to the user account should belong to the same person. The user identity is verified, and the server executes the password-free payment request and performs the password-free payment. If the similarity distance exceeds the threshold, it means that the first terminal and the second terminal are far apart, and the user identity corresponding to the user account may be abnormal. The user identity fails to be verified, and the server intercepts the password-free payment request. The server generates a corresponding prompt message and sends the prompt message to the first terminal to remind the user of the first terminal that the user account may be stolen.
[0067] In this embodiment, by collecting the first information of the first terminal of the logged-in user account, the multi-dimensional features corresponding to the first terminal are extracted. By collecting the second information of the second terminal of the logged-in user account, the multi-dimensional features corresponding to the second terminal are extracted. Since the multi-dimensional features corresponding to the first terminal are associated with the user account that has been pre-enabled for password-free payment, after the second terminal logs in to the user account, if the second terminal uses the user account to initiate a password-free payment request, the user identity of the second terminal can be verified by calculating the similarity distance between the multi-dimensional features corresponding to the first terminal and the multi-dimensional features corresponding to the second terminal. If the similarity distance does not exceed the threshold, it is determined that the user identity has passed the verification, and the second terminal is allowed to perform the password-free payment operation. If the similarity distance exceeds the threshold, it can be determined that the user identity has not passed the verification, so that the password-free payment request is intercepted in time, and the corresponding prompt information is sent to the first terminal. In the whole process, identity authentication can be performed without the user's perception. By comparing the multi-dimensional features, the similarity between users when the user account is logged in at different terminals can be effectively identified, thereby effectively improving the security of password-free payment.
[0068] In one embodiment, Figure 3 As shown, the step of calculating the similarity distance between the multi-dimensional feature corresponding to the first terminal and the multi-dimensional feature corresponding to the second terminal includes:
[0069] Step 302: Perform dimensionality reduction processing on the multi-dimensional features corresponding to the first terminal to obtain two-dimensional coordinates corresponding to the first terminal.
[0070] Step 304: Perform dimensionality reduction processing on the multi-dimensional features corresponding to the second terminal to obtain the two-dimensional coordinates corresponding to the second terminal.
[0071] Step 306: Calculate the similarity distance using the two-dimensional coordinates corresponding to the first terminal and the two-dimensional coordinates corresponding to the second terminal.
[0072] Since similarity distances cannot be directly calculated between high-dimensional features, it is necessary to reduce the dimensionality of multi-dimensional features, that is, from multi-dimensional to two-dimensional, thereby obtaining the two-dimensional coordinates corresponding to the first terminal and the two-dimensional coordinates corresponding to the second terminal. The server can use the tSNE algorithm for dimensionality reduction processing to directly reduce the multi-dimensional features of each terminal to two dimensions.
[0073] Considering that reducing from multiple dimensions to one dimension is a nonlinear dimensionality reduction, due to competition between features during the dimensionality reduction process, data loss occurs after dimensionality reduction, resulting in a decrease in the accuracy of similarity distance. In order to effectively avoid data loss during dimensionality reduction, the server can group multi-dimensional features before performing dimensionality reduction processing.
[0074] In one of the embodiments, dimensionality reduction processing is performed on the multi-dimensional features corresponding to the first terminal to obtain the two-dimensional coordinates corresponding to the first terminal, including: grouping the multi-dimensional features corresponding to the first terminal to obtain a biometric feature group and a payment feature group; reducing the biometric feature group and the consumption feature group to one dimension respectively to obtain a one-dimensional biometric feature coordinate and a one-dimensional payment feature coordinate; using the one-dimensional biometric feature coordinate and the one-dimensional payment feature coordinate to generate the two-dimensional coordinates corresponding to the first terminal.
[0075] Since the similarities between users reflected by the characteristics of different factors are different, the biometrics of the same user are basically the same, and the payment habits of the same user have similarities and differences. Therefore, the server can divide the multi-dimensional features into biometric groups and payment feature groups. Among them, the biometric group may include screen unlock passwords, fingerprints, voiceprints, face images, etc. The payment feature group may include user accounts, payees, payment time, payment amounts, etc. The server can use the tSNE algorithm to reduce the dimension of the biometric group to obtain one-dimensional biometric coordinates. The server can use the tSNE algorithm to reduce the dimension of the payment feature group to obtain one-dimensional payment feature coordinates. Among them, the server uses the one-dimensional biometric coordinates corresponding to the first terminal and the one-dimensional payment feature coordinates to generate the two-dimensional coordinates corresponding to the first terminal. The server uses the one-dimensional biometric coordinates corresponding to the second terminal and the one-dimensional payment feature coordinates to generate the two-dimensional coordinates corresponding to the second terminal.
[0076] The server calculates the Euclidean distance between the first terminal and the second terminal using the two-dimensional coordinates corresponding to the first terminal and the two-dimensional coordinates corresponding to the second terminal, and obtains the similarity distance between the first terminal and the second terminal. Since different features are divided into different feature groups, the features in each feature group are reduced. When further dimensionality reduction is performed, the competition between features can be effectively reduced, and the data loss caused by dimensionality reduction can be effectively reduced. This effectively improves the accuracy of similarity distance calculation.
[0077] Since different dimensions have different importance when calculating similarity distances. In order to further improve the accuracy of similarity distance calculation, the server can also correct the one-dimensional coordinates obtained after dimensionality reduction. In one embodiment, the server obtains the first weight corresponding to the biometric feature and the second weight corresponding to the payment feature; corrects the one-dimensional biometric feature coordinates using the first weight; corrects the one-dimensional payment feature coordinates using the second weight; and generates a two-dimensional coordinate corresponding to the first terminal using the corrected one-dimensional biometric feature coordinates and the corrected one-dimensional payment feature coordinates. For example, the one-dimensional biometric feature coordinates can be corrected by multiplying the one-dimensional biometric feature coordinates by the first weight. The one-dimensional payment feature coordinates can be corrected by multiplying the one-dimensional payment feature coordinates by the second weight.
[0078] The server calculates the Euclidean distance between the first terminal and the second terminal using the corrected two-dimensional coordinates corresponding to the first terminal and the corrected two-dimensional coordinates corresponding to the second terminal to obtain the similarity distance between the first terminal and the second terminal, thereby further improving the accuracy of similarity distance calculation.
[0079] In one embodiment, the method further includes the step of encrypting the user account, such as Figure 4 As shown, this step specifically includes:
[0080] Step 402, obtain a preset key, encode the preset key, and obtain a key pattern.
[0081] Step 404, adding a key graphic to a preset position of a preset file to generate a key file.
[0082] Step 406: Send the key file to the first terminal. The first terminal is used to decrypt the key file to obtain a preset key. The preset key is used to encrypt the user account.
[0083] The server may pre-store a preset key corresponding to the payment application. The server may encode the preset key to obtain a corresponding key graphic. There may be multiple encoding methods, for example, it may be a base64 encoding method. A preset file is pre-stored on the server. The preset file sets a preset position corresponding to the key graphic, that is, a hidden position. The server may obtain multiple coordinates of the hidden position in the preset file, move the key graphic to the hidden position corresponding to the coordinates, superimpose the key graphic into the preset file, and mark the preset file after superimposing the key graphic as the corresponding key file, thereby generating a key file. In this way, the key is hidden in the key file, which effectively improves the security of the key. Furthermore, the preset key may be dynamically updated at a preset frequency, and the server may encrypt the key in the above manner and hide it in the updated key file. In this way, the security of the key is further improved.
[0084] The server stores the key file in a database. The key file in the database corresponds to the payment application identifier. When the first terminal starts the application for the first time, it can send a key file acquisition request to the server. The server queries the database based on the acquisition request whether there is a key file corresponding to the payment application identifier. If so, the key file is returned to the first terminal.
[0085] The first terminal parses the key file through the payment application. The first terminal can also extract the corresponding key graphic at the preset position of the key file. Specifically, the payment application obtains multiple coordinates corresponding to the hidden position in the key file, connects the multiple coordinates to form a graphic outline, extracts the corresponding graphic according to the image outline, and marks the extracted graphic as a key image. The payment application decodes the key image and marks the decoded string as the corresponding key. The payment application encrypts the user account logged in by the first terminal, so as to effectively prevent the user account from being stolen after the first terminal is illegally entered, thereby improving the security of online password-free payment.
[0086] In one embodiment, the method further includes: collecting consumption information corresponding to the user account; analyzing the consumption information to obtain the user's consumption habits; and adjusting the password-free payment limit corresponding to the user account according to the user's consumption habits.
[0087] The server can also collect corresponding consumption information based on the user account. Consumption information includes consumption type, consumption amount, consumption location, consumption time, etc. The server can analyze the user's consumption habits based on the consumption information within a preset time period. Among them, the server can count the consumption information of multiple user accounts based on dimensions such as consumption type and consumption amount. The consumption amount includes the consumption amount of password-free payment and the consumption amount that requires a payment password. The server obtains the consumption habits corresponding to each user account based on the statistical results, and establishes a consumption profile of the user. When the number of payments of the consumption amount corresponding to the user account that exceeds the threshold is greater than the preset number, the server can increase the password-free payment limit of the user account according to the preset range, and generate a prompt message for increasing the password-free payment limit, and send the prompt message to the first terminal.
[0088] Furthermore, the user account may be the same as or bound to the loan account. The server may also obtain the user credit and insurance policy information corresponding to the user account, and comprehensively calculate the user's loan amount. When the first terminal selects password-free payment to pay the loan account, the server may use its loan account to make online password-free payment. When the cumulative payment amount reaches the loan amount, the server suspends the use of the loan account for online payment, generates a prompt message of refusal to pay, and sends the prompt message to the first terminal.
[0089] By analyzing the consumption data corresponding to the user account, the limit of online password-free payment can be automatically adjusted, providing convenience for users. By using loan accounts for online password-free payment, it can also solve the difficulty of capital turnover for users and provide convenience for users. When the cumulative payment limit reaches the loan limit, the loan account will be stopped for online payment, which effectively controls risks and improves the security of online payment in the form of loans.
[0090] It should be understood that although Figure 2-4 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-4 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0091] In one embodiment, Figure 5As shown, a user identity authentication device is provided, including: a feature extraction module 502, an association module 504, an identity authentication module 506, and a communication module 508, wherein:
[0092] The feature extraction module 502 is used to obtain first information corresponding to a first terminal of a logged-in user account, and extract multi-dimensional features corresponding to the first terminal from the first information.
[0093] The association module 504 is used to associate the multi-dimensional features corresponding to the first terminal with the user account.
[0094] The feature extraction module 502 is also used to obtain multi-dimensional features corresponding to the second terminal when receiving a password-free payment request sent by the second terminal of the logged-in user account.
[0095] The identity authentication module 506 is used to calculate the similarity distance between the multi-dimensional features corresponding to the first terminal and the multi-dimensional features corresponding to the second terminal when receiving a password-free payment request sent by the second terminal through the user account; if the similarity distance does not exceed the threshold, it is determined that the user identity of the second terminal has passed the verification, and according to the password-free payment request, the second terminal is allowed to perform the password-free payment operation; if the similarity distance exceeds the threshold, it is determined that the user identity of the second terminal has not passed the verification.
[0096] The communication module 508 is used to intercept the password-free payment request and send corresponding prompt information to the first terminal.
[0097] In one embodiment, the identity authentication module is also used to perform dimensionality reduction processing on the multi-dimensional features corresponding to the first terminal to obtain the two-dimensional coordinates corresponding to the first terminal; perform dimensionality reduction processing on the multi-dimensional features corresponding to the second terminal to obtain the two-dimensional coordinates corresponding to the second terminal; and calculate the similarity distance using the two-dimensional coordinates corresponding to the first terminal and the two-dimensional coordinates corresponding to the second terminal.
[0098] In one embodiment, the identity authentication module is also used to group the multi-dimensional features corresponding to the first terminal to obtain a biometric feature group and a payment feature group; reduce the biometric feature group and the consumption feature group to one dimension respectively to obtain a one-dimensional biometric feature coordinate and a one-dimensional payment feature coordinate; and use the one-dimensional biometric feature coordinate and the one-dimensional payment feature coordinate to generate a two-dimensional coordinate corresponding to the first terminal.
[0099] In one embodiment, the identity authentication module is also used to obtain a first weight corresponding to the biometric feature and a second weight corresponding to the payment feature; use the first weight to correct the one-dimensional biometric feature coordinates; use the second weight to correct the one-dimensional payment feature coordinates; and use the corrected one-dimensional biometric feature coordinates and the corrected one-dimensional payment feature coordinates to generate a two-dimensional coordinate corresponding to the first terminal.
[0100] In one embodiment, the device also includes: an encryption module, used to obtain a preset key, encode the preset key, and obtain a key graphic; add a key graphic in a preset position of a preset file to generate a key file; the communication module is also used to send the key file to the first terminal, the first terminal is used to decrypt the key file to obtain the preset key, and the preset key is used to encrypt the user account.
[0101] In one embodiment, the device also includes: an adjustment module, which is used to collect consumption information corresponding to the user account; analyze the consumption information to obtain the user's consumption habits; and adjust the password-free payment limit corresponding to the user account according to the user's consumption habits.
[0102] For the specific definition of the user identity authentication device, please refer to the definition of the user identity authentication method above, which will not be repeated here. Each module in the above-mentioned user identity authentication device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0103] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store first information, user accounts, etc. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a user identity authentication method is implemented.
[0104] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0105] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the method steps provided in the above embodiment when executing the computer program.
[0106] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method steps provided in the above embodiment are implemented.
[0107] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0108] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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 specification.
[0109] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A user identity authentication method, the method comprising: Acquire first information corresponding to a first terminal of a logged-in user account, and extract multi-dimensional features corresponding to the first terminal from the first information; the multi-dimensional features are a feature set; the first information includes device information and consumption information corresponding to the first terminal; the first terminal is pre-installed with a payment application, and the payment application collects the first information corresponding to the first terminal when the first terminal is running; Associating the multi-dimensional features corresponding to the first terminal with the user account; When receiving a password-free payment request sent by a second terminal that has logged into the user account, obtaining a multi-dimensional feature corresponding to the second terminal; Grouping the multi-dimensional features corresponding to the first terminal to obtain a biometric feature group and a payment feature group; Reducing the biometric feature group and the payment feature group to one dimension respectively, to obtain one-dimensional biometric feature coordinates and one-dimensional payment feature coordinates; Generate a two-dimensional coordinate corresponding to the first terminal using the one-dimensional biometric feature coordinate and the one-dimensional payment feature coordinate; Performing dimensionality reduction processing on the multi-dimensional features corresponding to the second terminal to obtain two-dimensional coordinates corresponding to the second terminal; Calculating a similarity distance using the two-dimensional coordinates corresponding to the first terminal and the two-dimensional coordinates corresponding to the second terminal; If the similarity distance does not exceed the threshold, it is determined that the user identity of the second terminal has been verified, and according to the password-free payment request, the second terminal is allowed to perform the password-free payment operation; If the similarity distance exceeds a threshold, it is determined that the user identity of the second terminal has not passed the verification, the password-free payment request is intercepted, and a corresponding prompt message is sent to the first terminal; The method further includes: obtaining a preset key, encoding the preset key to obtain a key pattern; adding the key pattern to a preset position of a preset file to generate a key file, including: obtaining a plurality of coordinates of a hidden position in the preset file, moving the key pattern to a hidden position corresponding to the coordinates, the hidden position being a preset position corresponding to the key pattern set in the preset file, superimposing the key pattern on the preset file, and marking the preset file after superimposing the key pattern as a corresponding key file; The key file is sent to the first terminal, and the first terminal is used to decrypt the key file to obtain a preset key, and the preset key is used to encrypt the user account.
2. The method according to claim 1, characterized in that The method further comprises: Acquire a first facial image in the first information; Positioning key points of the first facial image, and identifying the positioned first facial image according to a preset facial recognition algorithm; Feature extraction is performed on the located first facial image to obtain first facial features corresponding to the first facial image.
3. The method according to claim 1, characterized in that The method further comprises: The voiceprint features in the first information are encoded to generate a first voiceprint text corresponding to the voiceprint features.
4. The method according to claim 1, characterized in that: The method further comprises: Obtaining a first weight corresponding to the biometric feature and a second weight corresponding to the payment feature; Correcting the one-dimensional biometric coordinates using the first weight; Using the second weight to modify the one-dimensional payment feature coordinates; The two-dimensional coordinates corresponding to the first terminal are generated by using the corrected one-dimensional biological feature coordinates and the corrected one-dimensional payment feature coordinates.
5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Collecting consumption information corresponding to the user account; Analyze the consumption information to obtain the user's consumption habits; The password-free payment limit corresponding to the user account is adjusted according to the user's consumption habits.
6. A user identity verification device, characterized in that: The device comprises: a feature extraction module, configured to obtain first information corresponding to a first terminal of a logged-in user account, and extract multi-dimensional features corresponding to the first terminal from the first information; the multi-dimensional features are a feature set; the first information includes device information and consumption information corresponding to the first terminal; the first terminal is pre-installed with a payment application, and the payment application collects the first information corresponding to the first terminal when the first terminal is running; an associating module, configured to associate the multi-dimensional features corresponding to the first terminal with the user account; The feature extraction module is further used to obtain the multi-dimensional features corresponding to the second terminal when receiving a password-free payment request sent by the second terminal that has logged into the user account; An identity authentication module, for, when receiving a password-free payment request sent by the second terminal through the user account, grouping the multi-dimensional features corresponding to the first terminal to obtain a biometric feature group and a payment feature group; reducing the biometric feature group and the payment feature group to one dimension respectively to obtain a one-dimensional biometric feature coordinate and a one-dimensional payment feature coordinate; generating a two-dimensional coordinate corresponding to the first terminal using the one-dimensional biometric feature coordinate and the one-dimensional payment feature coordinate; performing dimensionality reduction processing on the multi-dimensional features corresponding to the second terminal to obtain a two-dimensional coordinate corresponding to the second terminal; calculating a similarity distance using the two-dimensional coordinates corresponding to the first terminal and the two-dimensional coordinates corresponding to the second terminal; if the similarity distance does not exceed a threshold, determining that the user identity of the second terminal has been verified, and allowing the second terminal to perform a password-free payment operation according to the password-free payment request; if the similarity distance exceeds a threshold, determining that the user identity of the second terminal has not been verified; A communication module, used for intercepting the password-free payment request and sending corresponding prompt information to the first terminal; The encryption module is used to obtain a preset key, encode the preset key, and obtain a key graphic; add the key graphic in a preset position of a preset file to generate a key file, including: obtaining multiple coordinates of a hidden position in the preset file, moving the key graphic to a hidden position corresponding to the coordinates, the hidden position is a preset position corresponding to the key graphic set in the preset file, superimposing the key graphic on the preset file, and marking the preset file after superimposing the key graphic as a corresponding key file; the communication module is also used to send the key file to the first terminal, the first terminal is used to decrypt the key file to obtain a preset key, and the preset key is used to encrypt the user account.
7. The device according to claim 6, characterized in that The identity authentication module is also used to perform dimensionality reduction processing on the multi-dimensional features corresponding to the first terminal to obtain the two-dimensional coordinates corresponding to the first terminal; perform dimensionality reduction processing on the multi-dimensional features corresponding to the second terminal to obtain the two-dimensional coordinates corresponding to the second terminal; and calculate the similarity distance using the two-dimensional coordinates corresponding to the first terminal and the two-dimensional coordinates corresponding to the second terminal.
8. The device according to claim 6, characterized in that The identity authentication module is also used to group the multi-dimensional features corresponding to the first terminal to obtain a biometric feature group and a payment feature group; reduce the biometric feature group and the payment feature group to one dimension respectively to obtain one-dimensional biometric feature coordinates and one-dimensional payment feature coordinates; and use the one-dimensional biometric feature coordinates and the one-dimensional payment feature coordinates to generate two-dimensional coordinates corresponding to the first terminal.
9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Encryption method and apparatus
CN105550879A
Method and device for carrying out identity authentication through equipment operation features of user terminal
CN105591743A
Payment and business processing method and device based on mobile terminal bar code
CN106934615A
Information encryption processing method and device, computer equipment and storage medium
CN108512830A
Multi-application shared password unlocking method and device, equipment and storage medium
CN108647501A
