A dynamic verification system, method, device, electronic device and storage medium

By using a pre-trained risk level classification model to predict risk levels based on user and client information and dynamically adjust the verification method, the problem of poor user experience and verification effect in existing technologies is solved, and differentiated user verification and protection are achieved.

CN115563595BActive Publication Date: 2026-11-20BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211403135.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-10
Publication Date
2026-11-20
Estimated Expiration
2042-11-10

AI Technical Summary

Technical Problem

Existing human-machine verification methods can negatively impact user experience when complex, and are easily cracked when simple, making it difficult to achieve effective risk protection.

Method used

By using a pre-trained risk level classification model, the probability of a user being a non-human is predicted based on user and client information, the current risk level is determined, and corresponding verification methods are matched for human-machine verification, including simple or complex verification methods to improve user experience and verification accuracy.

Benefits of technology

It enables differentiated verification based on user risk levels, improving user experience while enhancing protection against non-human factors and ensuring the accuracy of the verification process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115563595B_ABST
    Figure CN115563595B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a kind of dynamic verification system, method, device, electronic equipment and storage medium, applied to information technology field, by receiving the request information sent by client, wherein the request information includes user information and client information;The request information is input into the risk level classification model trained in advance, and the current risk level corresponding to the request information is obtained;According to the current risk level and multiple preset verification methods, the target verification mode corresponding to the current risk level is determined;The verification information corresponding to the target verification mode is sent to the client, so that the user verifies according to the verification information corresponding to the target verification mode.The method of the embodiment of the present application can not only improve the experience of user in the verification process, but also can verify the accuracy of verification by complex verification mode for non-person.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of information technology, and in particular to a dynamic verification system, method, apparatus, electronic device, and storage medium. Background Technology

[0002] Currently, human verification is often performed in scenarios such as user login, withdrawal, and event voting to verify whether the person sending the request is a real person. This prevents criminals from impersonating real people through software programs to log in, withdraw funds, vote in events, etc., and causing losses to the company's interests.

[0003] However, common verification methods mainly include sliding puzzle verification, text selection verification, 3D verification, and intelligent contactless verification. When conducting human-computer verification, a single verification method is often used for all users. This approach can lead to cumbersome user operations and a negative impact on user experience when the verification method is complex, while a simple verification method is easily cracked, affecting the effectiveness of the verification. Summary of the Invention

[0004] The purpose of this invention is to provide a dynamic verification system, method, apparatus, electronic device, and storage medium to improve user experience and verification effectiveness during the verification process. The specific technical solution is as follows:

[0005] In a first aspect of this invention, a dynamic verification method is provided, applied to a server, the method comprising:

[0006] Receive request information sent by the client, wherein the request information includes user information and client information;

[0007] The request information is input into a pre-trained risk level classification model to obtain the current risk level corresponding to the request information. The pre-trained risk level classification model is used to predict the probability that the user is not human based on the user information and the client information, and to classify the risk level based on the predicted non-human probability.

[0008] Based on the current risk level and multiple preset verification methods, a target verification method corresponding to the current risk level is determined, wherein the preset verification method is used for human-machine verification;

[0009] The verification information corresponding to the target verification method is sent to the client so that the user can perform verification based on the verification information corresponding to the target verification method.

[0010] In one possible implementation, determining the target verification method corresponding to the current risk level based on the current risk level and multiple preset verification methods includes:

[0011] Obtain the correspondence between preset verification methods and risk levels;

[0012] Based on the correspondence, find the target verification method among the multiple preset verification methods corresponding to the current risk level.

[0013] In one possible implementation, the risk level includes a first risk level and a second risk level. The step of determining the target verification method corresponding to the current risk level based on the current risk level and multiple preset verification methods includes:

[0014] When the current risk level is the first risk level, the first preset type of verification method will be used as the target verification method;

[0015] When the current risk level is the second risk level, the second preset type of verification method is used as the target verification method, wherein the probability of non-humans corresponding to the second risk level is greater than that of the first risk level, and the complexity of user operations required by the second preset type of verification method is greater than that of the first preset type of verification method.

[0016] In one possible implementation, sending the verification information corresponding to the target verification method to the client, so that the user performs verification based on the verification information corresponding to the target verification method, includes:

[0017] The verification information corresponding to the target verification method is sent to the client, and the current operation information input by the user based on the verification information is received.

[0018] Obtain the verification information corresponding to the target verification method, and match the current operation information with the target verification information to obtain a matching result. When the matching result is a match, the verification is deemed successful.

[0019] In one possible implementation, after sending the verification information corresponding to the target verification method to the client so that the user performs verification based on the verification information corresponding to the target verification method, the method further includes:

[0020] Upon successful verification, the current operation information is input into a preset human-machine verification model for human-machine verification.

[0021] When the human-machine verification result indicates that the current operation information is not performed by a human, the risk level classification model is trained using the request information corresponding to the login operation information.

[0022] In one possible implementation, the method further includes:

[0023] Get the total number of request messages received in the current statistical period;

[0024] When the total number of requested information exceeds a preset warning threshold, the rate limiting mode is activated starting from the next statistical period. Under the rate limiting mode, the number of user requests received in each statistical period does not exceed the preset rate limiting limit.

[0025] In a second aspect of the present invention, a dynamic verification system is also provided, the system comprising a server and a client;

[0026] The client is configured to receive request information input by the user and forward the request information to the server, wherein the request information includes user information and client information;

[0027] The server is configured to input the request information into a pre-trained risk level classification model to obtain the current risk level corresponding to the request information. The pre-trained risk level classification model is used to predict the probability that the user is not human based on the user information and the client information, and to classify the risk level based on the predicted non-human probability. Based on the current risk level and multiple preset verification methods, the server determines the target verification method corresponding to the current risk level, wherein the preset verification method is used for human-machine verification. The server then sends the verification information corresponding to the target verification method to the client.

[0028] The client is used to receive verification information corresponding to the target verification method, so that the user can perform verification based on the verification information corresponding to the target verification method.

[0029] In one possible implementation, the server is specifically used to obtain the correspondence between preset verification methods and risk levels; and based on the correspondence, to find the target verification method among multiple preset verification methods corresponding to the current risk level.

[0030] In one possible implementation, the risk level includes a first risk level and a second risk level.

[0031] Specifically, the server is used to use a first preset type of verification method as the target verification method when the current risk level is a first risk level; and to use a second preset type of verification method as the target verification method when the current risk level is a second risk level, wherein the probability of non-human activity corresponding to the second risk level is greater than that of the first risk level, and the complexity of user operation required by the second preset type of verification method is greater than that of the first preset type of verification method.

[0032] In one possible implementation, the server is specifically configured to send the verification information corresponding to the target verification method to the client, and receive the current operation information input by the user based on the verification information; obtain the verification information corresponding to the target verification method, and match the current operation information and the target verification information to obtain a matching result, wherein the verification is deemed successful when the matching result is a match.

[0033] In one possible implementation, the server is further configured to input the current operation information into a preset human-machine verification model for human-machine verification when the verification is successful; and to train the risk level classification model by using the request information corresponding to the login operation information when the human-machine verification result indicates that the current operation information is non-human-executed operation information.

[0034] In one possible implementation, the server is specifically used to obtain the total number of request information received in the current statistical period;

[0035] When the total number of requested information exceeds a preset warning threshold, the rate limiting mode is activated starting from the next statistical period. Under the rate limiting mode, the number of user requests received in each statistical period does not exceed the preset rate limiting limit.

[0036] In a third aspect of the invention, a dynamic verification device is also provided, applied to a server, comprising:

[0037] The request receiving module is used to receive request information sent by the client, wherein the request information includes user information and client information;

[0038] The risk level determination module is used to input the request information into a pre-trained risk level classification model to obtain the current risk level corresponding to the request information. The pre-trained risk level classification model is used to predict the probability that the user is not human based on the user information and the client information, and to classify the risk level based on the predicted non-human probability.

[0039] The verification method determination module is used to determine the target verification method corresponding to the current risk level based on the current risk level and multiple preset verification methods, wherein the preset verification method is used for human-machine verification;

[0040] The user verification module is used to send the verification information corresponding to the target verification method to the client, so that the user can perform verification based on the verification information corresponding to the target verification method.

[0041] Optionally, the verification method determination module includes:

[0042] The mapping relationship acquisition submodule is used to obtain the mapping relationship between preset verification methods and risk levels;

[0043] The verification method lookup submodule is used to find the target verification method among multiple preset verification methods corresponding to the current risk level based on the correspondence.

[0044] Optionally, the risk level includes a first risk level and a second risk level, and the verification method determination module includes:

[0045] The first verification method determination submodule is used to use the first preset type of verification method as the target verification method when the current risk level is the first risk level.

[0046] The second verification method determination submodule is used to select a second preset type of verification method as the target verification method when the current risk level is the second risk level. The probability of non-humans corresponding to the second risk level is greater than that of the first risk level, and the complexity of user operations required by the second preset type of verification method is greater than that of the first preset type of verification method.

[0047] Optionally, the user verification module includes:

[0048] The operation information receiving submodule is used to send the verification information corresponding to the target verification method to the client, and to receive the current operation information input by the user based on the verification information;

[0049] The matching result acquisition submodule is used to acquire the verification information corresponding to the target verification method, and match the current operation information with the target verification information to obtain the matching result. When the matching result is a match, the verification is determined to be successful.

[0050] Optionally, the device further includes:

[0051] The secondary verification module is used to input the current operation information into a preset human-machine verification model for human-machine verification when the verification is successful.

[0052] The model training module is used to train the risk level classification model using the request information corresponding to the login operation information when the human-machine verification result indicates that the current operation information is non-human-executed operation information.

[0053] Optionally, the device further includes:

[0054] The total quantity acquisition module is used to obtain the total number of request messages received in the current statistical period;

[0055] The scenario-based rate limiting module is used to start the rate limiting mode from the next statistical period when the total number of the requested information exceeds a preset warning threshold. Under the rate limiting mode, the number of user requests received in each statistical period does not exceed the preset rate limiting limit.

[0056] In another aspect of the present invention, an electronic device is also provided, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus.

[0057] Memory, used to store computer programs;

[0058] When the processor executes a program stored in memory, it performs any of the dynamic verification methods described above.

[0059] In another aspect of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored therein, and the computer program, when executed by a processor, implements any of the dynamic verification methods described above.

[0060] In another aspect of the present invention, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute any of the dynamic verification methods described above.

[0061] This invention provides a dynamic verification system, method, apparatus, electronic device, and storage medium. The system receives request information sent by a client, wherein the request information includes user information and client information. The request information is input into a pre-trained risk level classification model to obtain the current risk level corresponding to the request information. The pre-trained risk level classification model is used to predict the probability that the user is not human based on the user information and the client information, and to classify the risk level based on the predicted non-human probability. Based on the current risk level and multiple preset verification methods, a target verification method corresponding to the current risk level is determined, wherein the preset verification method is used for human-machine verification. Verification information corresponding to the target verification method is sent to the client so that the user can perform verification based on the verification information corresponding to the target verification method. The method of this invention can predict the probability that a user is not human based on the request information using a pre-trained risk level prediction model, and determine the corresponding risk level based on the predicted probability. Then, human-machine verification is performed by matching the corresponding verification method based on the risk level. This enables differentiated verification based on the probability that the user is not human. When the user is a real person, verification can be performed using a simple verification method, which not only improves the user experience during the verification process, but also improves the accuracy of verification by using a complex verification method for non-humans. Attached Figure Description

[0062] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below.

[0063] Figure 1 A flowchart illustrating a dynamic verification method provided in an embodiment of the present invention;

[0064] Figure 2 This is an example diagram of a dynamic verification system in an embodiment of the present invention;

[0065] Figure 3 A flowchart illustrating a target verification method provided in an embodiment of the present invention.

[0066] Figure 4 This is another example diagram of the dynamic verification system in this embodiment of the invention;

[0067] Figure 5 A flowchart illustrating a training method for a risk level classification module provided in an embodiment of the present invention;

[0068] Figure 6 This is a schematic diagram of a startup rate limiting mode provided in an embodiment of the present invention;

[0069] Figure 7 An interactive schematic diagram of a dynamic verification system provided in an embodiment of the present invention;

[0070] Figure 8 A structural diagram of a dynamic verification system provided in an embodiment of the present invention;

[0071] Figure 9 A schematic diagram of the structure of the dynamic verification device provided in an embodiment of the present invention;

[0072] Figure 10 This is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. Detailed Implementation

[0073] The technical solutions of the present invention will now be described with reference to the accompanying drawings in the embodiments of the present invention.

[0074] In a first aspect of this invention, a dynamic verification method is provided, applied to a server-side application, see [link to relevant documentation]. Figure 1 The above methods include:

[0075] Step S11: Receive the request information sent by the client.

[0076] In this embodiment of the invention, the server can be a server in a dynamic verification system, which may also include a client. Request information may include user information and client information. Specifically, in this embodiment, the request information sent by the client can be a login request, registration request, voting request, or a request for new user referrals and withdrawals, such as a login request sent by a user to the server when logging in through the client, or a login request sent by a user to the server when logging into their own account through the client. For example, when a user enters their account and password through the client and requests login, the client will send a login request to the server. The user's attribute information can be the user's personal information obtained through user input during this login, specifically including the user's age, gender, occupation, etc. The user's attribute information can also be pre-obtained user attribute information, such as pre-obtained and cached, and when the user enters their account, it matches the pre-cached attribute information corresponding to that account. The client's attribute information may include the client type, such as mobile or computer, as well as the client's location and IP address (Internet Protocol Address).

[0077] Step S12: Input the request information into the pre-trained risk level classification model to obtain the current risk level corresponding to the request information.

[0078] Among them, the pre-trained risk level classification model is used to predict the probability that the user is not human based on user information and client information, and to classify the risk level based on the predicted non-human probability.

[0079] The risk level assessment can be based on user and client attribute information using various preset methods, such as account usage and client location. Risk levels can be categorized as no risk, low risk, medium risk, and high risk. Specifically, for example, a risk list can be used. Accounts corresponding to different risk levels can be added to a risk list. If the current user's account is on this list, a risk level assessment can be made. Another example is based on client location information. For instance, if a user's previous login location was in Shanghai and their next login location is in Beijing, the distance indicates a risk, and a corresponding risk level is determined. Yet another example is using a pre-trained risk control strategy engine to predict risk based on user and client attribute information. Specifically, this risk control strategy engine can be a pre-trained network model trained using the attribute information of potentially risky users and their clients. This risk control decision engine can then assess risk based on user attribute information. In actual use, the risk level is determined by a variety of preset judgment methods. These preset judgment methods can be executed in parallel or sequentially. For example, after determining that there is no risk through a certain preset judgment method, further judgment can be made through other methods.

[0080] Step S13: Determine the target verification method corresponding to the current risk level based on the current risk level and multiple preset verification methods.

[0081] The preset verification methods are used for human-machine verification. Human-machine verification can determine whether the person sending the request is a real person or a machine. These preset verification methods can include various verification methods with different levels of complexity, such as grid verification, character selection verification, and slider verification.

[0082] In practical use, the correspondence between risk levels and verification methods can be pre-defined. Specifically, more complex verification methods can be used for high-risk users, while simpler methods can be used for low-risk users. For example, high-risk users can be verified using methods like the nine-square grid or character selection verification, while low-risk users can be verified using simpler methods like slider verification. In practice, users deemed risk-free can be allowed to log in directly without verification or verified through a simple method.

[0083] Step S14: Send the verification information corresponding to the target verification method to the client so that the user can perform verification based on the verification information corresponding to the target verification method.

[0084] In one possible implementation, the verification information corresponding to the target verification method is sent to the client so that the user can perform verification based on the verification information corresponding to the target verification method. This includes: sending the verification information corresponding to the target verification method to the client and receiving the current operation information input by the user based on the verification information; obtaining the verification information corresponding to the target verification method and matching the current operation information with the target verification information to obtain a matching result, wherein the verification is deemed successful when the matching result is a match.

[0085] The verification information corresponding to the target verification method can include the display information and judgment criteria for that method. For example, for word selection verification, the verification information may include displaying images or other prompts to guide the user on how to perform the verification. When the user performs verification based on the verification information corresponding to the target verification method, the client can obtain the user's operation information, then match this operation information with the judgment criteria to obtain the corresponding verification result, i.e., whether the verification passed or failed. The operation information refers to the actions performed by the user based on the prompts for the current verification method. For example, when the verification method is swipe verification, the corresponding operation information could be "swipe". The prompts for the verification method can be information indicating the current verification method; for example, for swipe verification, the prompts could be prompting the user to swipe right. When verifying based on the operation information, the user's operation information can be matched with the correct swipe path; if they match, the verification passes; otherwise, the verification fails. For example, for swipe verification, the user's input swipe path can be matched with the correct swipe path.

[0086] In one example, see Figure 2 Users initiate requests through front-end interaction, inputting business identifiers and request parameters, and submitting request information to the service backend. The service backend then submits the request information to the risk control service engine, which calculates and outputs the risk level through data flow, relying on strategy operation and algorithm models. The service backend then matches the corresponding handling measures based on the risk level calculated by the risk control service and feeds it back to the front end for verification.

[0087] As can be seen, the method of this invention can predict the probability that a user is not human based on the request information using a pre-trained risk level prediction model, and determine the corresponding risk level based on the predicted probability. Then, human-machine verification is performed by matching the corresponding verification method based on the risk level. This enables differentiated verification based on the probability that the user is not human. When the user is a real person, verification can be performed using a simple verification method, which not only improves the user experience during the verification process, but also improves the accuracy of verification by using a complex verification method for non-humans.

[0088] In one possible implementation, see Figure 3 Step S13 determines the target verification method corresponding to the current risk level based on the current risk level and multiple preset verification methods, including:

[0089] Step S131: Obtain the correspondence between the preset verification methods and risk levels;

[0090] Step S132: Based on the correspondence, find the target verification method among the multiple preset verification methods corresponding to the current risk level.

[0091] In one possible implementation, the risk level includes a first risk level and a second risk level. Based on the current risk level and multiple preset verification methods, the target verification method corresponding to the current risk level is determined, including: when the current risk level is the first risk level, using the first preset type of verification method as the target verification method; when the current risk level is the second risk level, using the second preset type of verification method as the target verification method, wherein the probability of non-human activity corresponding to the second risk level is greater than that of the first risk level, and the user operation complexity required by the second preset type of verification method is greater than that of the first preset type of verification method.

[0092] In one example, a pre-defined mapping between risk levels and verification methods can be established. More complex verification methods can be used for high-risk users, while simpler methods can be used for low-risk users. For instance, a character selection verification method might be used for high-risk users, a nine-square grid verification method for medium-risk users, and a slider verification method for low-risk and no-risk users. In practice, users deemed risk-free can be allowed to log in directly without verification or verified through a simple method.

[0093] In another example, in this embodiment of the invention, the client's attribute information and the user's attribute information can be collected by introducing a device fingerprinting system when the user launches the APP (Application), including the user's mobile phone dimension data and user UID (user identity verification). In actual use, the client's attribute information and the user's attribute information can also be stored in a data warehouse for subsequent algorithm model analysis of data behavior. Specifically, the risk control service corresponds to the risk control strategy engine layer, which mainly analyzes the user's risk level and produces corresponding handling methods based on the data flow of device fingerprinting, the strategy operation system of strategy formulation, and algorithm models. The service backend corresponds to the verification center product, which decides different verification forms based on the handling methods produced by the risk control strategy engine layer, and performs subsequent human-machine verification. In this embodiment of the invention, the risk control strategy engine, specifically a pre-trained network model, can determine the user's risk level and produce corresponding verification methods based on the dimension data produced by the device fingerprinting system, the slider trajectory of the verification center, and the user's operation records in the App. See also Figure 4 Users send login requests through the client. The server authenticates the login requests and then forwards them to the risk control strategy engine. The risk control strategy engine analyzes the user's risk level and generates decision-making methods. Then, the verification center frontend initializes the verification, generates the corresponding verification method, and performs human-machine verification.

[0094] As can be seen, by using the method of this invention, the correspondence between preset verification methods and risk levels is obtained. Based on the correspondence, the target verification method is found among multiple preset verification methods corresponding to the current risk level. Thus, different verification methods can be matched for users with different risk levels. When the user is a real person, a simple verification method is used to improve the user experience, while a complex verification method is used to improve the accuracy of verification for non-human users.

[0095] In one possible implementation, after sending the verification information corresponding to the target verification method to the client so that the user can perform verification based on the verification information corresponding to the target verification method, see [link to relevant documentation]. Figure 5 The above methods also include:

[0096] Step S51: When the verification is successful, input the current operation information into the preset human-machine verification model to perform human-machine verification;

[0097] Step S52: When the human-machine verification result indicates that the current operation information is not performed by a human, the risk level classification model is trained using the request information corresponding to the login operation information.

[0098] In practical use, verified users can be re-identified. Specifically, a post-event analysis model can be introduced. This model uses granular time-based algorithmic analysis of the dimensional data and user data from the verified human-machine interface to identify whether the activity is a group act of deliberate manipulation. The results of this post-event analysis model are then used to train a risk level classification model. Specifically, this model can be cached at the risk control decision engine layer, allowing the risk control strategy engine to optimize and determine risk levels based on risk control behavior. For example, see... Figure 4 After human-machine verification is performed at the front end of the verification center, secondary verification can be performed at the back end of the verification center, and analysis can be performed through the post-analysis model.

[0099] In one possible implementation, see Figure 6 The above methods also include:

[0100] Step S61: Obtain the total number of request messages received in the current statistical period;

[0101] Step S62: When the total number of request information exceeds the preset warning threshold, the rate limiting mode is started from the next statistical period. In the rate limiting mode, the number of user requests received in each statistical period does not exceed the preset rate limiting number.

[0102] In practical use, a sudden increase in traffic may indicate a network attack. By obtaining the total number of current requests and comparing it with a warning threshold, it can be determined whether to enable rate limiting. This warning threshold can be set based on actual conditions and can be an empirical value. For example, see... Figure 4 If there is a sudden surge in traffic for a specific scenario at a certain moment, and the normal number of access requests per minute is 2 million, but suddenly increases to 10 million, then this value is compared with the threshold and determined to be an abnormal situation. In this case, the server can implement short-term traffic limiting for the scenario. Under the traffic limiting mode, the number of user requests received in each statistical period will not exceed the preset traffic limit.

[0103] To illustrate the solutions of the embodiments of the present invention, the following description is provided in conjunction with specific embodiments;

[0104] 1. Taking user login to the iQiyi APP as an example, the user first performs the login operation on the iQiyi client;

[0105] 2. The server verifies the user's login behavior and authenticates the user;

[0106] 3. In scenarios with high traffic, there may also be scenarios where traffic is limited for specific users;

[0107] 4. After the authentication and verification are completed, the system will pass through a risk control engine to analyze the user's risk level. If the user is risk-free, the system will let the user through directly; if the user is risky, the system will generate corresponding decision-making measures to conduct human-machine verification.

[0108] 5. Wake up the verification center client, initialize the verification center, and generate the corresponding verification form (slider verification, character selection verification, etc.) based on the decision-making methods produced by risk control.

[0109] 6. The front end of the verification center performs human-machine verification on the user's operation trajectory. After the operation trajectory verification is passed, the risk control model will be used to make decisions on the user's risky behavior.

[0110] 7. After all verifications are passed, the verification center backend will perform a second verification to check the user's entire operation behavior. Once the verification is passed, the user's login process is considered complete.

[0111] To illustrate the solutions of the embodiments of the present invention, the following description is combined with another embodiment, see [link]. Figure 7 ;

[0112] Taking an application's app as an example: the business client is the app client itself, and the business server is the corresponding baseline server for that application. When a user logs in, the app client first calls the business service to log in. The business server then passes the user through a risk control service to determine if the user is legitimate. If the user is legitimate, a verification center is used to further identify them. The business backend calls the verification center backend, passing in information such as the unique APPID (application ID) to generate a time-sensitive verification token, which is returned to the verification center frontend. Simultaneously, the risk control engine layer generates corresponding decision-making methods (slider, word selection, etc.) and returns them to the verification center frontend. The verification center frontend then determines the appropriate verification method based on these decision-making methods. Specifically, the risk control strategy engine assesses the risk based on the user request sent by the business server and returns the risk control measures. The business server then requests verification from the verification center backend. The verification center backend can initialize first, then send the verification token to the business client via the business server. The business client then uses this token to request the verification page from the verification center frontend. When the verification center frontend sends the token and data collection fields to the verification center backend based on the token, the backend can encrypt the received information and send it to the risk control strategy engine. The backend then retrieves the corresponding verification method and sends the verification page back to the frontend. Following this, the user's slider trajectory is detected. If the detection is successful, further post-analysis is performed based on the user's behavior. Once the analysis is successful, the verification process on the client side ends, and the backend performs a second verification for that instance. Specifically, the verification center's front-end can send verification information to the verification center's back-end based on the user's swipe verification operation. The verification center can first perform basic verification, then send the riskLevel and business name to the risk control strategy engine for secondary verification through post-risk control model analysis, and feed back the handling measures to the verification center's back-end. The verification center's back-end then feeds back the handling measures to the verification center's front-end for client verification. After successful verification, the business operation is performed and the verification SDK (Software Development Kit) check is sent. The verification center's back-end performs secondary verification. If the secondary verification passes, a business operation success message is sent to the business client, indicating that the user's login operation is successful.

[0113] In a second aspect of this invention, a dynamic verification system is also provided, see [link to relevant documentation]. Figure 8 The system includes server 801 and client 802;

[0114] Client 802 is used to receive request information input by the user and forward the request information to the server. The request information includes user information and client information.

[0115] Server-side 801 is used to input request information into a pre-trained risk level classification model to obtain the current risk level corresponding to the request information. The pre-trained risk level classification model is used to predict the probability that the user is not human based on user and client information, and to classify the risk level based on the predicted non-human probability. Based on the current risk level and multiple preset verification methods, it determines the target verification method corresponding to the current risk level, where the preset verification method is used for human-machine verification. Finally, it sends the verification information corresponding to the target verification method to the client.

[0116] Client 802 is used to receive the verification information corresponding to the target verification method, so that the user can perform verification according to the verification information corresponding to the target verification method.

[0117] In one possible implementation, server 801 is specifically used to obtain the correspondence between preset verification methods and risk levels; and based on the correspondence, to find the target verification method among multiple preset verification methods corresponding to the current risk level.

[0118] In one possible implementation, the risk levels include a first risk level and a second risk level.

[0119] Server-side 801 is specifically used to use the first preset type of verification method as the target verification method when the current risk level is the first risk level; and to use the second preset type of verification method as the target verification method when the current risk level is the second risk level. The probability of non-humans corresponding to the second risk level is greater than that of the first risk level, and the complexity of user operations required by the second preset type of verification method is greater than that of the first preset type of verification method.

[0120] In one possible implementation, server 801 is specifically used to send the verification information corresponding to the target verification method to the client, and receive the current operation information input by the user based on the verification information; obtain the verification information corresponding to the target verification method, and match the current operation information and the target verification information to obtain a matching result, wherein the verification is deemed successful when the matching result is a match.

[0121] In one possible implementation, the server 801 is further configured to input the current operation information into a preset human-machine verification model for human-machine verification when the verification is successful; and to train the risk level classification model by using the request information corresponding to the login operation information when the human-machine verification result indicates that the current operation information is non-human-executed operation information.

[0122] In one possible implementation, server 801 is specifically used to obtain the total number of request information received in the current statistical period; when the total number of request information is greater than a preset warning threshold, the rate limiting mode is started from the next statistical period, wherein the number of user requests received in each statistical period under the rate limiting mode is not greater than the preset rate limiting number.

[0123] As can be seen, the system of this invention can predict the probability that a user is not human based on the request information using a pre-trained risk level prediction model, and determine the corresponding risk level based on the predicted probability. Then, human-machine verification is performed based on the corresponding verification method matched with the risk level. This enables differentiated verification based on the probability that the user is not human. When the user is a real person, verification can be performed using a simple verification method, which not only improves the user experience during the verification process, but also improves the accuracy of verification by using a complex verification method for non-humans.

[0124] In a third aspect of this invention, a dynamic verification device is also provided, applied to a server, see [link to relevant documentation]. Figure 9 ,include

[0125] The request receiving module 901 is used to receive request information sent by the client, wherein the request information includes user information and client information;

[0126] The risk level determination module 902 is used to input the request information into a pre-trained risk level classification model to obtain the current risk level corresponding to the request information. The pre-trained risk level classification model is used to predict the probability that the user is not human based on user information and client information, and to classify the risk level based on the predicted probability of not being human.

[0127] The verification method determination module 903 is used to determine the target verification method corresponding to the current risk level based on the current risk level and multiple preset verification methods. The preset verification methods are used for human-machine verification.

[0128] User verification module 904 is used to send the verification information corresponding to the target verification method to the client so that the user can verify according to the verification information corresponding to the target verification method.

[0129] Optionally, the verification method determination module 903 includes:

[0130] The mapping relationship acquisition submodule is used to obtain the mapping relationship between preset verification methods and risk levels;

[0131] The verification method lookup submodule is used to find the target verification method among multiple preset verification methods corresponding to the current risk level based on the correspondence.

[0132] Optionally, the risk level includes a first risk level and a second risk level. The verification method determination module 903 includes:

[0133] The first verification method determination submodule is used to select the first preset type of verification method as the target verification method when the current risk level is the first risk level.

[0134] The second verification method determination submodule is used to select the second preset type of verification method as the target verification method when the current risk level is the second risk level. The probability of non-humans corresponding to the second risk level is greater than that of the first risk level, and the complexity of user operations required by the second preset type of verification method is greater than that of the first preset type of verification method.

[0135] Optionally, the user authentication module 904 includes:

[0136] The operation information receiving submodule is used to send the verification information corresponding to the target verification method to the client, and to receive the current operation information input by the user based on the verification information;

[0137] The matching result acquisition submodule is used to obtain the verification information corresponding to the target verification method, and match the current operation information with the target verification information to obtain the matching result. When the matching result is a match, the verification is considered successful.

[0138] Optionally, the above-mentioned device further includes:

[0139] The secondary verification module is used to input the current operation information into the preset human-machine verification model for human-machine verification when the verification is successful.

[0140] The model training module is used to train the risk level classification model by using the request information corresponding to the login operation information when the human-machine verification result indicates that the current operation information is not performed by a human.

[0141] Optionally, the above-mentioned device further includes:

[0142] The total quantity acquisition module is used to obtain the total number of request messages received in the current statistical period;

[0143] The scenario-based rate limiting module is used to start the rate limiting mode from the next statistical period when the total number of request information exceeds the preset warning threshold. In the rate limiting mode, the number of user requests received in each statistical period does not exceed the preset rate limiting limit.

[0144] As can be seen, the device of this invention can predict the probability that a user is not human based on the request information using a pre-trained risk level prediction model, and determine the corresponding risk level based on the predicted probability. Then, human-machine verification is performed based on the corresponding verification method matched with the risk level. This enables differentiated verification based on the probability that the user is not human. When the user is a real person, verification can be performed using a simple verification method, which not only improves the user experience during the verification process, but also improves the accuracy of verification by using a complex verification method for non-humans.

[0145] This invention also provides an electronic device, such as... Figure 10 As shown, it includes a processor 1001, a communication interface 1002, a memory 1003, and a communication bus 1004, wherein the processor 1001, the communication interface 1002, and the memory 1003 communicate with each other through the communication bus 1004.

[0146] Memory 1003 is used to store computer programs;

[0147] When processor 1001 executes a program stored in memory 1003, it performs the following steps:

[0148] Receive request information sent by the client, including user attribute information and client attribute information;

[0149] The user's risk level is determined based on the user's attribute information and the client's attribute information;

[0150] The system matches the corresponding verification method based on the determined risk level and sends the matched verification method to the client so that the client can verify the user using the matched verification method.

[0151] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0152] The communication interface is used for communication between the aforementioned terminal and other devices.

[0153] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0154] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0155] In another embodiment of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored therein, and when the computer program is executed by a processor, it implements any of the dynamic verification methods described in the above embodiments.

[0156] In another embodiment of the present invention, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute any of the dynamic verification methods described in the above embodiments.

[0157] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).

[0158] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0159] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of methods, apparatus, electronic devices, storage media, and computer program products are basically similar to the system embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0160] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.

Claims

1. A dynamic verification method, characterized in that, Applied to the server side, the method includes: Receive request information sent by the client, wherein the request information includes user information and client information; The request information is input into a pre-trained risk level classification model to obtain the current risk level corresponding to the request information. The pre-trained risk level classification model is used to predict the probability that the user is not human based on the user information and the client information, and to classify the risk level based on the predicted non-human probability. Based on the current risk level and multiple preset verification methods, a target verification method corresponding to the current risk level is determined, wherein the preset verification method is used for human-machine verification; The verification information corresponding to the target verification method is sent to the client, and the current operation information input by the user based on the verification information is received. Obtain the verification information corresponding to the target verification method, and match the current operation information and the target verification information to obtain the matching result. When the matching result is a match, the verification is determined to be successful. Upon successful verification, the current operation information is input into a preset human-machine verification model for human-machine verification. When the human-machine verification result indicates that the current operation information is not performed by a human, the risk level classification model is trained using the request information corresponding to the login operation information.

2. The method according to claim 1, characterized in that, The step of determining the target verification method corresponding to the current risk level based on the current risk level and multiple preset verification methods includes: Obtain the correspondence between the preset verification methods and risk levels; Based on the correspondence, find the target verification method among the multiple preset verification methods corresponding to the current risk level.

3. The method according to claim 1, characterized in that, The risk levels include a first risk level and a second risk level. The step of determining the target verification method corresponding to the current risk level based on the current risk level and multiple preset verification methods includes: When the current risk level is the first risk level, the first preset type of verification method will be used as the target verification method; When the current risk level is the second risk level, the second preset type of verification method is used as the target verification method, wherein the probability of non-humans corresponding to the second risk level is greater than that of the first risk level, and the complexity of user operations required by the second preset type of verification method is greater than that of the first preset type of verification method.

4. The method according to claim 1, characterized in that, The method further includes: Get the total number of request messages received in the current statistical period; When the total number of requested information exceeds a preset warning threshold, the rate limiting mode is activated starting from the next statistical period. Under the rate limiting mode, the number of user requests received in each statistical period does not exceed the preset rate limiting limit.

5. A dynamic verification system, characterized in that, The system includes a server and a client; The client is configured to receive request information input by the user and forward the request information to the server, wherein the request information includes user information and client information; The server is used to input the request information into a pre-trained risk level classification model to obtain the current risk level corresponding to the request information. The pre-trained risk level classification model is used to predict the probability that the user is not human based on the user information and the client information, and to classify the risk level based on the predicted non-human probability. Based on the current risk level and multiple preset verification methods, the server determines the target verification method corresponding to the current risk level. The preset verification method is used for human-machine verification; the verification information corresponding to the target verification method is sent to the client. The client is used to receive verification information corresponding to the target verification method, so that the user can perform verification according to the verification information corresponding to the target verification method. The server is specifically used to send the verification information corresponding to the target verification method to the client, and receive the current operation information input by the user based on the verification information; obtain the verification information corresponding to the target verification method, and match the current operation information and the target verification information to obtain a matching result, wherein the verification is deemed successful when the matching result is a match; The server is also used to input the current operation information into a preset human-machine verification model for human-machine verification when the verification is successful; when the human-machine verification result indicates that the current operation information is non-human-executed operation information, the risk level classification model is trained by using the request information corresponding to the login operation information.

6. The system according to claim 5, characterized in that, The server is specifically used to obtain the correspondence between preset verification methods and risk levels; and based on the correspondence, to find the target verification method among multiple preset verification methods corresponding to the current risk level.

7. The system according to claim 5, characterized in that, The risk levels include a first risk level and a second risk level. Specifically, the server is used to use a first preset type of verification method as the target verification method when the current risk level is a first risk level; and to use a second preset type of verification method as the target verification method when the current risk level is a second risk level, wherein the probability of non-human activity corresponding to the second risk level is greater than that of the first risk level, and the complexity of user operation required by the second preset type of verification method is greater than that of the first preset type of verification method.

8. The system according to claim 5, characterized in that, The server is specifically used to obtain the total number of request messages received in the current statistical period; When the total number of requested information exceeds a preset warning threshold, the rate limiting mode is activated starting from the next statistical period. Under the rate limiting mode, the number of user requests received in each statistical period does not exceed the preset rate limiting limit.

9. A dynamic verification device, characterized in that, Applied to the server side, including: The request receiving module is used to receive request information sent by the client, wherein the request information includes user information and client information; The risk level determination module is used to input the request information into a pre-trained risk level classification model to obtain the current risk level corresponding to the request information. The pre-trained risk level classification model is used to predict the probability that the user is not human based on the user information and the client information, and to classify the risk level based on the predicted non-human probability. The verification method determination module is used to determine the target verification method corresponding to the current risk level based on the current risk level and multiple preset verification methods, wherein the preset verification method is used for human-machine verification; The user authentication module includes: The operation information receiving submodule is used to send the verification information corresponding to the target verification method to the client, and to receive the current operation information input by the user based on the verification information; The matching result acquisition submodule is used to acquire the verification information corresponding to the target verification method, and match the current operation information and the target verification information to obtain the matching result. When the matching result is a match, the verification is determined to be successful. The device further includes: The secondary verification module is used to input the current operation information into a preset human-machine verification model for human-machine verification when the verification is successful. The model training module is used to train the risk level classification model by using the request information corresponding to the login operation information when the human-machine verification result indicates that the current operation information is non-human-executed operation information.

10. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the steps of the method described in any one of claims 1-4.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method described in any one of claims 1-4.

Citation Information

Patent Citations

  • Multi-man-machine verification method, device and equipment and storage medium

    CN111200591A