Account data generation method and device, computer equipment and storage medium

By receiving user account generation requests in the bank test environment, extracting and verifying information, calling account generation scripts to generate target accounts, and performing verification, the problem of inefficient account generation in the existing technology is solved, and efficient and intelligent Account generation process.

CN119202003APending Publication Date: 2024-12-27PING AN BANK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411075507.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

The account generation method in the existing bank testing environment requires testers to manually generate account data in various platforms and perform complex login and configuration operations, resulting in inefficiency.

Method used

By receiving user account generation requests, extract target application information, user information and quantity information, collect biological information for verification, call account generation scripts, adjust scripts to generate target account, and perform availability verification to ensure the efficiency and accuracy of account generation of accounts sex.

Benefits of technology

It realizes the rapid and accurate generation of target accounts that meet user needs, improves the efficiency and intelligence of account generation, and ensures the availability of generated accounts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119202003A_ABST
    Figure CN119202003A_ABST
Patent Text Reader

Abstract

The invention belongs to the field of artificial intelligence and the field of financial science and technology, and relates to an account data generation method, which comprises the following steps: when an account generation request corresponding to a target application triggered by a user is received, extracting target application information, user information and quantity information from the account generation request; verifying the user based on the biological information of the user and the user information; if the user passes the verification, calling an account generation script corresponding to the target application information; adjusting the account generation script based on the quantity information to obtain a target account generation script; executing the target account generation script to obtain a target account; and if the target account passes the availability verification, sending the target account to the user. The invention further provides an account data generation device, computer equipment and a storage medium. In addition, the target account number can be stored in the block chain. According to the method and the device, the target accounts meeting the user requirements can be automatically generated in batches based on the target account generation script, so that the account generation efficiency is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence development technology and financial technology, and in particular to methods, devices, computer equipment and storage media for generating account data. Background Art

[0002] In the current bank testing environment, especially in the process of creating new bank accounts and verifying subsequent transaction functions, traditional, manual account generation and operation processes are generally relied on. The current account generation method used by banks requires testers to gradually generate account data through pages in various data generation platforms, and they need to perform a series of complex login and configuration operations in the bank, such as logging in with a mobile phone number, adding a bank card, and changing the payment password. Therefore. The existing account generation method used in the bank testing environment is inefficient. Summary of the invention

[0003] The purpose of the embodiments of the present application is to propose a method, device, computer equipment and storage medium for generating account data, so as to solve the problem that the existing method of generating accounts adopted by banks requires testers to gradually generate account data through pages in various number-generating platforms, and needs to perform a series of complex login and configuration operations in the bank, resulting in technical problems of inefficiency in the method of generating accounts.

[0004] In order to solve the above technical problems, the embodiment of the present application provides a method for generating account data, which adopts the following technical solution:

[0005] When receiving an account generation request corresponding to a target application triggered by a user, extracting target application information, user information, and quantity information from the account generation request; wherein the account generation request carries the target application information of the target application, the user information of the user, and the quantity information;

[0006] Collecting biometric information of the user, and verifying the user based on the biometric information and the user information;

[0007] If the user passes the verification, calling the account generation script corresponding to the target application information;

[0008] Adjust the account generation script based on the quantity information to obtain a corresponding target account generation script;

[0009] Execute the target account generation script to obtain the corresponding target account;

[0010] Performing availability check on the target account;

[0011] If the target account passes the availability check, the target account is sent to the user.

[0012] Furthermore, the step of adjusting the account generation script based on the quantity information to obtain a corresponding target account generation script specifically includes:

[0013] Get the preset initial loop structure;

[0014] Generate a number of loops corresponding to the initial sequential structure based on the quantity information to obtain a corresponding first loop structure;

[0015] Get the preset error handling logic;

[0016] Performing content addition processing on the first loop structure based on the error handling logic to obtain a corresponding second loop structure;

[0017] The second loop structure is added to the account generation script to obtain the target account generation script.

[0018] Furthermore, the step of performing availability verification on the target account specifically includes:

[0019] Calling a login test script corresponding to the target application information, and performing a test process on the target account based on the login test script to obtain a corresponding first test result;

[0020] Calling a payment test script corresponding to the target application information, and performing a test process on the target account based on the payment test script to obtain a corresponding second test result;

[0021] Determine whether the first test result and the second test result are both passed;

[0022] If so, it is determined that the target account has passed the availability check, otherwise it is determined that the target account has not passed the availability check.

[0023] Furthermore, the step of verifying the user based on the biometric information and the user information specifically includes:

[0024] Determining whether the user information is stored in a preset user information database;

[0025] If so, selecting target biological information from the biological information;

[0026] Screening out calibrated biometric information that matches the user information and the target biometric information from a preset biometric information database;

[0027] Calculating the similarity between the target biological information and the calibration biological information, and determining whether the similarity is greater than a preset similarity threshold;

[0028] If so, verify the user's authority based on the preset authority data table and the user information;

[0029] If the authority verification is passed, the user is determined to have passed the verification, otherwise the user is determined to have failed the verification.

[0030] Furthermore, the permission data table includes a user permission data table and an operation permission data table; the step of verifying the user's permission based on the preset permission data table and the user information specifically includes:

[0031] Calling the user authority data table and the operation authority data table;

[0032] Querying the target permission level matching the user information from the user permission data table;

[0033] Querying the specified permission level range corresponding to the account creation operation from the operation permission data table;

[0034] Determining whether the target permission level is within the specified permission level range;

[0035] If so, it is determined that the user has passed the authority verification; otherwise, it is determined that the user has not passed the authority verification.

[0036] Furthermore, before the step of calling the account generation script corresponding to the target application information, the method further includes:

[0037] Determine whether a request to build an account generation script triggered by a specified user has been received;

[0038] If yes, display the preset script building page;

[0039] Receiving application information and script configuration information input by the designated user in the script generation page; wherein the script configuration information at least includes environment configuration information, business interface information, and information generation operation logic;

[0040] Perform script construction processing based on the script configuration information to obtain a corresponding target automation script;

[0041] The target automation script is used as a designated account generation script that matches the application information, and the designated account generation script is stored based on the application information.

[0042] Furthermore, after the step of performing availability verification on the target account, the method further includes:

[0043] Storing the target account in a preset database;

[0044] Constructing a database query statement corresponding to a first account; wherein the first account is any one of all the target accounts;

[0045] Executing query processing corresponding to the database based on the database query statement to obtain a query result matching the first account;

[0046] generating an account uniqueness result corresponding to the first account based on the query result;

[0047] The target account in the database is filtered based on the account uniqueness result to obtain a filtered second account.

[0048] In order to solve the above technical problems, the embodiment of the present application further provides a device for generating account data, which adopts the following technical solution:

[0049] an extraction module, configured to extract target application information, user information, and quantity information from an account generation request corresponding to a target application triggered by a user when the account generation request is received; wherein the account generation request carries the target application information of the target application, the user information of the user, and the quantity information;

[0050] A verification module, used to collect the biometric information of the user and verify the user based on the biometric information and the user information;

[0051] A calling module, configured to call an account generation script corresponding to the target application information if the user passes the verification;

[0052] An adjustment module, configured to adjust the account generation script based on the quantity information to obtain a corresponding target account generation script;

[0053] An execution module, used for executing the target account generation script to obtain a corresponding target account;

[0054] A verification module, used to perform availability verification on the target account;

[0055] The sending module is used to send the target account to the user if the target account passes the availability check.

[0056] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:

[0057] When receiving an account generation request corresponding to a target application triggered by a user, extracting target application information, user information, and quantity information from the account generation request; wherein the account generation request carries the target application information of the target application, the user information of the user, and the quantity information;

[0058] Collecting biometric information of the user, and verifying the user based on the biometric information and the user information;

[0059] If the user passes the verification, calling the account generation script corresponding to the target application information;

[0060] Adjust the account generation script based on the quantity information to obtain a corresponding target account generation script;

[0061] Execute the target account generation script to obtain the corresponding target account;

[0062] Performing availability check on the target account;

[0063] If the target account passes the availability check, the target account is sent to the user.

[0064] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:

[0065] When receiving an account generation request corresponding to a target application triggered by a user, extracting target application information, user information, and quantity information from the account generation request; wherein the account generation request carries the target application information of the target application, the user information of the user, and the quantity information;

[0066] Collecting biometric information of the user, and verifying the user based on the biometric information and the user information;

[0067] If the user passes the verification, calling the account generation script corresponding to the target application information;

[0068] Adjust the account generation script based on the quantity information to obtain a corresponding target account generation script;

[0069] Execute the target account generation script to obtain the corresponding target account;

[0070] Performing availability check on the target account;

[0071] If the target account passes the availability check, the target account is sent to the user.

[0072] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0073] When receiving an account generation request corresponding to a target application triggered by a user, the present application extracts target application information, user information, and quantity information from the account generation request; then collects the user's biometric information, and verifies the user based on the biometric information and the user information; if the user passes the verification, calls the account generation script corresponding to the target application information; then adjusts the account generation script based on the quantity information to obtain the corresponding target account generation script; subsequently executes the target account generation script to obtain the corresponding target account; finally, performs an availability check on the target account; if the target account passes the availability check, sends the target account to the user. When receiving an account generation request corresponding to a target application triggered by a user, the present application first collects the user's biometric information, and verifies the user based on the biometric information and the user information; if the user passes the verification, calls the account generation script corresponding to the target application information, and adjusts the account generation script based on the quantity information to obtain the corresponding target account generation script, so as to quickly and accurately generate a target account generation script that meets the user's construction requirements. It is beneficial to obtain the corresponding target account by executing the target account generation script, so as to realize automatic batch generation of target accounts suitable for target applications that meet user needs based on the use of the target account generation script, thereby effectively improving the efficiency and intelligence of account generation. In addition, the target account will also be intelligently checked for availability to ensure the availability of the generated target account. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0075] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;

[0076] Figure 2 A flowchart of an embodiment of a method for generating account data according to the present application;

[0077] Figure 3 is a structural diagram of an embodiment of a device for generating account data according to the present application;

[0078] Figure 4 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION

[0079] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0080] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0081] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0082] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0083] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0084] The terminal devices 101, 102, and 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Layer IV) players, laptop computers, desktop computers, and the like.

[0085] The server 105 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal devices 101 , 102 , and 103 .

[0086] It should be noted that the method for generating account data provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the device for generating account data is generally arranged in the server / terminal device.

[0087] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0088] Continue to refer Figure 2 , shows a flow chart of an embodiment of a method for generating account data according to the present application. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted. The method for generating account data provided in the embodiment of the present application can be applied to any scenario where account generation is required, and the method for generating account data can be applied to products in these scenarios, for example, account generation in the field of bank testing. The method for generating account data includes the following steps:

[0089] Step S201, when receiving an account generation request corresponding to a target application triggered by a user, extracting target application information, user information and quantity information from the account generation request; wherein the account generation request carries the target application information of the target application, the user information and quantity information of the user.

[0090] In this embodiment, the method for generating account data is executed on the electronic device (eg Figure 1The server / terminal device shown in the figure) can obtain the target application information, user information and quantity information through a wired connection or a wireless connection. It should be noted that the above wireless connection method may include but is not limited to 3G / 4G / 5G connection, Wi-Fi connection, Bluetooth connection, Wi MAX connection, Zigbee connection, UWB (Ultra Wi DeBand) connection, and other wireless connection methods currently known or to be developed in the future. The execution subject of the present application may be specifically an account generation system for account generation processing applied in the field of bank testing. The user can trigger the corresponding account generation request by clicking the account generation button in the account generation system. Among them, an information window can also be provided in the process of the above triggered account generation request for the user to enter the corresponding target application information, user information and quantity information. The above target application information is the application name of the target application. The above user may be an operation and maintenance personnel related to the bank testing business, and the above user information may include the user's name information. The above quantity information is the number of accounts that need to be generated that the user enters according to the actual account quantity construction requirement. In addition, the target application information, user information and quantity information can be extracted from the account generation request by extracting information from the above account generation request.

[0091] Step S202: collect the biometric information of the user, and verify the user based on the biometric information and the user information.

[0092] In this embodiment, the specific implementation process of verifying the user based on the biometric information and the user information will be described in further detail in subsequent specific embodiments of the present application, and will not be elaborated on here.

[0093] Step S203: If the user passes the verification, the account generation script corresponding to the target application information is called.

[0094] In this embodiment, for different types of applications, account generation scripts suitable for various applications are pre-built. The specific implementation process of building the account generation script will be further described in detail in the subsequent specific embodiments of this application, and will not be elaborated here.

[0095] Step S204: adjusting the account generation script based on the quantity information to obtain a corresponding target account generation script.

[0096] In this embodiment, the above-mentioned specific implementation process of adjusting the account generation script based on the quantity information to obtain the corresponding target account generation script will be further described in detail in subsequent specific embodiments of this application, and will not be elaborated on here.

[0097] Step S205, executing the target account generation script to obtain the corresponding target account.

[0098] In this embodiment, after the target account generation script is obtained, the target account generation script is executed to automatically generate target accounts with the same quantity information as the above.

[0099] Step S206: performing availability check on the target account.

[0100] In this embodiment, the specific implementation process of the above-mentioned availability verification of the target account will be further described in detail in subsequent specific embodiments of the present application, and will not be elaborated in detail here.

[0101] Step S207: If the target account passes the availability check, the target account is sent to the user.

[0102] In this embodiment, if the target account passes the availability check, the generated target account is determined to be an available account, and the target account will be subsequently fed back to the user to successfully complete the response processing of the account generation request corresponding to the target application triggered by the user.

[0103] When receiving an account generation request corresponding to a target application triggered by a user, the present application will first collect the user's biometric information, and verify the user based on the biometric information and the user information. When the user passes the verification, the account generation script corresponding to the target application information will be called, and the account generation script will be adjusted based on the quantity information to obtain the corresponding target account generation script, so as to quickly and accurately generate a target account generation script that meets the user's construction requirements. It is beneficial to obtain the corresponding target account by executing the target account generation script, so as to realize the automatic batch generation of target accounts suitable for target applications that meet user requirements based on the use of the target account generation script, thereby effectively improving the efficiency and intelligence of account generation. In addition, the target account will also be intelligently checked for availability to ensure the availability of the generated target account.

[0104] In some optional implementations, step S204 includes the following steps:

[0105] Get the preset initial loop structure.

[0106] In this embodiment, the initial loop structure is a pre-built loop, and the number of loops in the loop is the data to be filled. And for the initial loop structure, in each loop, the account generation script for generating a single account is called and executed to generate the corresponding account, and the generated number can also be stored in a list, array or file. Among them, the initial loop structure can specifically adopt a for loop.

[0107] The number of loops corresponding to the initial sequential structure is generated based on the quantity information to obtain a corresponding first loop structure.

[0108] In this embodiment, the quantity information is used as the number of loops of the initial sequential structure, and the quantity information is filled into the to-be-filled position corresponding to the number of loops in the initial loop structure, so as to generate a corresponding first loop structure.

[0109] Get the preset error handling logic.

[0110] In this embodiment, the error handling logic can be a pre-built logic for providing a corresponding handling method when a problem is encountered when using an account generation script to generate an account. The specific content of the error handling logic can be set according to actual error handling requirements.

[0111] Content addition processing is performed on the first loop structure based on the error handling logic to obtain a corresponding second loop structure.

[0112] In this embodiment, the error handling logic is added to the corresponding position in the first loop structure to obtain the corresponding second loop structure, so that if any problems are encountered when generating accounts using the account generation script in the subsequent operation, the problems can be properly handled based on the use of the error handling logic, which is conducive to improving the smoothness and intelligence of account generation.

[0113] The second loop structure is added to the account generation script to obtain the target account generation script.

[0114] In this embodiment, the second loop structure is added to the corresponding position in the account generation script to obtain a processed account generation script, and the processed account generation script is used as the target account generation script. When the number of times the account generation script for generating a single account is called reaches the number of loops, i.e., the quantity information, the loop is terminated and the target account generation script is executed to obtain the corresponding target account.

[0115] This application obtains a preset initial loop structure; then generates the number of loops corresponding to the initial sequential structure based on the quantity information to obtain the corresponding first loop structure; then obtains the preset error handling logic, and adds content to the first loop structure based on the error handling logic to obtain the corresponding second loop structure; subsequently, the second loop structure is added to the account generation script to intelligently adjust the account generation script according to the quantity information, loop structure and error handling logic input by the user, thereby quickly and accurately generating a target account generation script that meets the user's construction requirements. This is conducive to the subsequent use of the target account generation script to automatically and batch generate target accounts that meet user requirements and are suitable for target applications, thereby effectively improving the efficiency and intelligence of account generation.

[0116] In some optional implementations of this embodiment, step S206 includes the following steps:

[0117] A login test script corresponding to the target application information is called, and a test process is performed on the target account based on the login test script to obtain a corresponding first test result.

[0118] In this embodiment, the interface endpoints for login and payment provided by the target application are predetermined, and the interface endpoints include a login interface and a payment interface. These interface endpoints are usually listed in the developer documentation or in the target application. The implementation steps of the above login test script include: Building a login request: According to the developer documentation, building a login request containing the mobile phone number and password corresponding to the target account. Sending a login request: Using the requests library or other HTTP client to send a POST request to the login interface. Parsing the login response: Receive the response of the login interface, parse the response body to obtain the login result. Check the login status: Specifically, detect the response status code, usually 200 indicates success. Check the specific fields in the response body (such as token, user I d, etc.) to confirm whether the login credentials are successfully obtained. Among them, when the target account is tested based on the login test script, if the login result is successful, that is, the target account can be successfully logged in, then it is determined that the above target account has passed the test. If the login result is a failure, it is determined that the above target account has not passed the test.

[0119] A payment test script corresponding to the target application information is called, and the target account is tested based on the payment test script to obtain a corresponding second test result.

[0120] In this embodiment, the payment test script is a pre-built test script for sending a payment request and checking the payment result. The target account is tested based on the payment test script, that is, the payment test script is run, and it is detected whether the payment operation based on the target account can be successfully completed. If the payment operation based on the target account can be successfully completed, it means that the target account can be successfully paid, and it is determined that the target account has passed the test. If the payment operation based on the target account fails to be successfully completed, it means that the target account cannot achieve the function of successful payment, and it is determined that the target account has not passed the test.

[0121] Determine whether the first test result and the second test result are both test passed.

[0122] In this embodiment, the content of the first test result includes a test pass or a test fail. Similarly, the content of the second test result includes a test pass or a test fail.

[0123] If so, it is determined that the target account has passed the availability check, otherwise it is determined that the target account has not passed the availability check.

[0124] In this embodiment, only when it is detected that the target account has passed both the login test based on the login test script and the payment test based on the payment test script, will the target account be determined to have passed the availability check. If the target account fails at least one test (login test or payment test), the target account is determined to have failed the availability check.

[0125] This application obtains a corresponding first test result by calling a login test script corresponding to the target application information, and testing the target account based on the login test script; and obtains a corresponding second test result by calling a payment test script corresponding to the target application information, and testing the target account based on the payment test script; and then determines whether the first test result and the second test result are both passed; if so, determines that the target account has passed the availability check, otherwise determines that the target account has not passed the availability check. This application can quickly and accurately complete the availability check of the target account based on the use of login test scripts and payment test scripts, ensuring the accuracy of the obtained availability check results, which is conducive to ensuring the availability of the target account finally generated.

[0126] In some optional implementations, step S202 includes the following steps:

[0127] Determine whether the user information is stored in a preset user information database.

[0128] In this embodiment, the user information database is a pre-built information database storing employee identity information of formal employees within the enterprise. If the user information is stored in the user information database, it indicates that the user is a formal enterprise employee. If the user information is not stored in the user information database, it indicates that the user is not an enterprise employee, and the user will be directly judged as not passing the verification, that is, the current user does not have the authority to perform the account generation operation, and the response to the account generation request will be restricted, thereby effectively ensuring the standardization and intelligence of the processing of the account generation request.

[0129] If yes, target biological information is screened out from the biological information.

[0130] In this embodiment, the above-mentioned biometric information at least includes fingerprints, lips, irises, eyebrows, noses, voiceprints, etc. A random algorithm can be used to randomly select a type of information from all biometric information to be used as target biometric information, thereby improving the randomness and intelligence of using the target biometric information to authenticate the user and reducing the risk of fraud in a specific type of biometric information.

[0131] The calibrated biological information matching the user information and the target biological information is screened out from a preset biological information library.

[0132] In this embodiment, the biometric information database is a pre-built database storing the biometric information of regular employees within the enterprise. Specifically, all first biometric information matching the user information can be first screened out from the biometric information database, and then second biometric information matching the biometric information type of the target biometric information can be screened out from the first biometric information, and the biometric information is used as the calibration biometric information.

[0133] The similarity between the target biological information and the calibration biological information is calculated, and it is determined whether the similarity is greater than a preset similarity threshold.

[0134] In this embodiment, the similarity between the target biological information and the calibration biological information can be calculated by using a similarity algorithm. The similarity algorithm can be any one of the algorithms such as Euclidean distance, Jaccard similarity, cosine similarity, and Pearson similarity. In addition, there is no specific limitation on the selection of the value of the similarity threshold, which can be determined according to the actual information verification requirements, for example, it can be set to 0.95.

[0135] If so, the user is authenticated based on the preset permission data table and the user information.

[0136] In this embodiment, the specific implementation process of the above-mentioned authorization verification of the user based on the preset authorization data table and the user information will be described in further detail in subsequent specific embodiments of the present application, and will not be elaborated on here.

[0137] If the authority verification is passed, the user is determined to have passed the verification, otherwise the user is determined to have failed the verification.

[0138] In this embodiment, only when it is detected that the user has passed the identity verification based on the user information and the target biometric information, and passed the permission verification based on the permission data table and the user information, will the user be finally determined to have passed the verification, which effectively improves the rigor and standardization of user verification and improves the accuracy of the generated verification results. If it is detected that the user cannot pass the identity verification and permission verification at the same time, the user is determined to have failed the verification.

[0139] When receiving an account generation request triggered by a user, the present application will intelligently collect the user's biometric information, authenticate the user based on the user information and the target biometric information, and verify the user's permissions based on the permission data table and the user information. Only after ensuring that the user has passed both the identity authentication and permission verification will the subsequent response processing for the user-triggered account generation request be executed, which effectively improves the intelligent and standardized processing of the account generation request and ensures the security of the response to the account generation request.

[0140] In some optional implementations, the permission data table includes a user permission data table and an operation permission data table; and the user permission verification based on the preset permission data table and the user information includes the following steps:

[0141] The user authority data table and the operation authority data table are called.

[0142] In this embodiment, the user authority data table is a pre-constructed data table storing employee identity information of formal employees within the enterprise, and the authority level corresponding to the employee identity information. The operation authority data table is a pre-constructed data table storing multiple business operation identifiers, and the authority level range corresponding to the various business operation identifiers. Among them, the business operation identifier is unique, and one business operation corresponds to one business operation identifier.

[0143] A target authority level matching the user information is queried from the user authority data table.

[0144] In this embodiment, the user information may be used to query the user authority data table to obtain a target authority level that matches the user information.

[0145] The specified permission level range corresponding to the account creation operation is queried from the operation permission data table.

[0146] In this embodiment, the designated business operation identifier corresponding to the account generation operation may be obtained, and then the designated business operation identifier may be used to query the operation authority data table to obtain the designated authority level range corresponding to the account generation operation.

[0147] Determine whether the target permission level is within the specified permission level range.

[0148] In this embodiment, the target permission level can be compared with the two endpoint values ​​of the above-mentioned specified permission level range to obtain a corresponding comparison result, and based on the comparison result, it can be identified whether the target permission level is within the specified permission level range.

[0149] If so, it is determined that the user has passed the authority verification; otherwise, it is determined that the user has not passed the authority verification.

[0150] In this embodiment, if the target permission level is within the specified permission level range, it indicates that the user has the permission to perform the account creation operation, and thus the user is determined to have passed the permission verification. If the target permission level is not within the specified permission level range, it indicates that the user does not have the permission to perform the account creation operation, and thus the user is determined to have failed the permission verification.

[0151] The present application calls the user authority data table and the operation authority data table; then queries the target authority level that matches the user information from the user authority data table; and queries the specified authority level range corresponding to the account generation operation from the operation authority data table; and subsequently determines whether the target authority level is within the specified authority level range. Only when it is detected that the target authority level is within the specified authority level range, it indicates that the user has the authority to perform the account generation operation, and thus determines that the user has passed the authority verification, which effectively improves the processing intelligence and processing accuracy of the user's authority verification, and ensures the accuracy of the obtained user's authority verification result.

[0152] In some optional implementations of this embodiment, before step S203, the electronic device may further perform the following steps:

[0153] Determine whether a request to build an account generation script triggered by a specified user has been received.

[0154] In this embodiment, the designated user may be an operation and maintenance personnel responsible for the relevant application. The construction request may be a request for building an account generation script corresponding to the relevant application and triggered by the designated user according to actual business needs.

[0155] If yes, display the default script building page.

[0156] In this embodiment, the script construction page is a pre-built editable page for assisting users in the construction process of the process canvas. A construction reminder box can also be set in the script construction page, and preset script construction guidance information is displayed in the construction reminder box. The script construction guidance information is pre-written and generated according to the actual account generation script construction requirements to guide users on how to construct a standardized account generation script.

[0157] Receive application information and script configuration information input by the designated user in the script generation page; wherein the script configuration information at least includes environment configuration information, business interface information, and information generation operation logic.

[0158] In this embodiment, the above application information and script configuration information are information entered by the user in the script generation page according to the actual account generation script construction requirements. The above application information may refer to the application name of the above related application. The above environment configuration information includes the Python environment and necessary libraries, and the libraries include at least requests and json. Requests is used for HTTP requests, and json is used to process JSON data, etc. The above business interface information is the number-making interface information that needs to be integrated. The number-making interface may include at least a user information generation interface, a card number generation interface, a login interface, and a payment interface. The above information generation operation logic may include at least the operation logic of generating user information, generating bank card information, account registration and login, card recharge and online banking upgrade.

[0159] A script construction process is performed based on the script configuration information to obtain a corresponding target automation script.

[0160] In this embodiment, after obtaining the environment configuration information, the initialization configuration process is first performed, and then the official documents of each business interface information are obtained, and for each interface, a client class is written in Python, which encapsulates all the details of the interaction with the interface. Among them, the interaction details include: authentication: setting the authentication information according to the requirements of the official documents. Sending a request: using Python's requests library or a similar library to send an HTTP request. Parsing the response: parsing the response body from JSON or XML into a Python object. Error handling: capturing and handling HTTP errors and API-specific errors. Subsequently, the client class of each interface is instantiated, and their methods are called in the order of the business logic in the above information generation operation logic to generate the required data and perform the necessary operations, thereby generating an automated script that can realize the automated generation process of the account. Among them, if the above-mentioned related application is a target application, the corresponding automated script's function of realizing the automated generation process of the account may include: generating name, mobile phone number, first-class account card number, second-class account card number, card recharge, recharge payment password, card recharge, pocket member registration, login, card addition, upgrade advanced online banking and other operations to generate account data suitable for the target application.

[0161] The target automation script is used as a designated account generation script that matches the application information, and the designated account generation script is stored based on the application information.

[0162] In this embodiment, the designated account generation script may be stored by binding the target automation script with the application information and using the application information as index information of the target automation script.

[0163] After receiving a construction request for an account generation script triggered by a designated user, the application can automatically and quickly complete the construction of an account generation script that meets the user's requirements for the relevant application based on the script construction page and the application information and script configuration information entered by the designated user in the script generation page, effectively improving the construction efficiency and intelligence of the account generation script and improving the user's work experience. In addition, the designated account generation script will be stored based on the application information, thereby ensuring the data security of the generated designated account generation script and improving the storage intelligence of the designated account generation script.

[0164] In some optional implementations of this embodiment, after step S206, the electronic device may further perform the following steps:

[0165] The target account is stored in a preset database.

[0166] In this embodiment, the above database is a pre-built database for storing newly generated accounts applicable to the target application.

[0167] Construct a database query statement corresponding to a first account; wherein the first account is any one of all the target accounts.

[0168] In this embodiment, the above database query statement is a query statement used to detect whether the first account already exists in the database.

[0169] Execute query processing corresponding to the database based on the database query statement to obtain a query result matching the first account.

[0170] In this embodiment, the database query statement is sent to the database, and the query result returned by the database is obtained, wherein the content of the query result includes whether a matching account exists or does not exist.

[0171] An account uniqueness result corresponding to the first account is generated based on the query result.

[0172] In this embodiment, if the query result is that there is no matching account, an account uniqueness result is generated that the content corresponding to the first account is unique. If the query result is that there is a matching account, an account uniqueness result is generated that the content corresponding to the first account is not unique.

[0173] The target account in the database is filtered based on the account uniqueness result to obtain a filtered second account.

[0174] In this embodiment, the designated account uniqueness result whose content is not unique can be filtered out from the account uniqueness result, and the designated account corresponding to the designated account uniqueness result is obtained from the above-mentioned target account, and then the designated account is filtered, that is, only one of the repeated designated accounts is retained, so as to obtain a processed account and use it as the above-mentioned second account.

[0175] After executing the target account generation script to obtain the corresponding target account, the present application will further verify the uniqueness of the obtained target account based on the use of the database and database query statements, and will intelligently filter the target account in the database according to the obtained account uniqueness result, thereby effectively avoiding the repeated generation of the target account and ensuring the data accuracy of the filtered second account.

[0176] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0177] It should be emphasized that in order to further ensure the privacy and security of the above-mentioned target account, the above-mentioned target account can also be stored in a node of a blockchain.

[0178] The blockchain referred to in this application is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0179] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0180] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0181] Further references Figure 3 , as a response to the above Figure 2 The present application provides an embodiment of a device for generating account data, and the device embodiment is similar to Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0182] like Figure 3 As shown, the account data generation device 300 described in this embodiment includes: an extraction module 301, a verification module 302, a calling module 303, an adjustment module 304, an execution module 305, a verification module 306 and a sending module 307. Among them:

[0183] The extraction module 301 is used to extract the target application information, user information and quantity information from the account generation request when receiving an account generation request corresponding to the target application triggered by the user; wherein the account generation request carries the target application information of the target application, the user information and quantity information of the user;

[0184] The verification module 302 is used to collect the biometric information of the user and verify the user based on the biometric information and the user information;

[0185] A calling module 303 is used to call an account generation script corresponding to the target application information if the user passes the verification;

[0186] An adjustment module 304, configured to adjust the account generation script based on the quantity information to obtain a corresponding target account generation script;

[0187] An execution module 305 is used to execute the target account generation script to obtain a corresponding target account;

[0188] Verification module 306, used to perform availability verification on the target account;

[0189] The sending module 307 is configured to send the target account to the user if the target account passes the availability check.

[0190] In this embodiment, the operations performed by the above modules or units correspond one-to-one to the steps of the method for generating account data in the aforementioned implementation mode, and are not described in detail here.

[0191] In some optional implementations of this embodiment, the adjustment module 304 includes:

[0192] A first acquisition submodule is used to acquire a preset initial loop structure;

[0193] A first generating submodule, configured to generate a number of loops corresponding to the initial sequential structure based on the quantity information, and obtain a corresponding first loop structure;

[0194] The second acquisition submodule is used to acquire the preset error handling logic;

[0195] A first adding submodule, configured to perform content adding processing on the first loop structure based on the error handling logic to obtain a corresponding second loop structure;

[0196] The second adding submodule is used to add the second loop structure into the account generation script to obtain the target account generation script.

[0197] In some optional implementations of this embodiment, the verification module 306 includes:

[0198] A first calling submodule is used to call a login test script corresponding to the target application information, and perform a test process on the target account based on the login test script to obtain a corresponding first test result;

[0199] A second calling submodule is used to call a payment test script corresponding to the target application information, and perform a test process on the target account based on the payment test script to obtain a corresponding second test result;

[0200] A first judgment submodule, used to judge whether the first test result and the second test result are both passed;

[0201] The first determination submodule is configured to determine that if yes, the target account has passed the availability check, and otherwise, determine that the target account has not passed the availability check.

[0202] In some optional implementations of this embodiment, the verification module 302 includes:

[0203] A second determination submodule is used to determine whether the user information is stored in a preset user information database;

[0204] A first screening submodule, for screening out target biological information from the biological information if yes;

[0205] A second screening submodule, used to screen out the calibrated biological information matching the user information and the target biological information from a preset biological information library;

[0206] A calculation submodule, used to calculate the similarity between the target biological information and the calibration biological information, and determine whether the similarity is greater than a preset similarity threshold;

[0207] A verification submodule, for, if yes, performing authority verification on the user based on a preset authority data table and the user information;

[0208] The second determination submodule is used to determine that the user has passed the verification if the authority verification is passed, otherwise determine that the user has not passed the verification.

[0209] In some optional implementations of this embodiment, the verification submodule includes:

[0210] A calling unit, used for calling the user authority data table and the operation authority data table;

[0211] A first query unit, configured to query a target permission level matching the user information from the user permission data table;

[0212] A second query unit, configured to query the specified permission level range corresponding to the account creation operation from the operation permission data table;

[0213] A judging unit, used to judge whether the target permission level is within the specified permission level range;

[0214] The determination unit is used to determine that if yes, the user has passed the authority verification; otherwise, determine that the user has not passed the authority verification.

[0215] In some optional implementations of this embodiment, the device for generating account data further includes:

[0216] A judgment module, used to judge whether a construction request for an account generation script triggered by a specified user is received;

[0217] Display module, used to display the preset script construction page if yes;

[0218] A receiving module, configured to receive application information and script configuration information input by the designated user in the script generation page; wherein the script configuration information at least includes environment configuration information, business interface information, and information generation operation logic;

[0219] A first construction module is used to perform script construction processing based on the script configuration information to obtain a corresponding target automation script;

[0220] A processing module is used to use the target automation script as a designated account generation script that matches the application information, and store the designated account generation script based on the application information.

[0221] In some optional implementations of this embodiment, the device for generating account data further includes:

[0222] A storage module, used to store the target account in a preset database;

[0223] A second construction module is used to construct a database query statement corresponding to a first account; wherein the first account is any one of all the target accounts;

[0224] A query module, configured to execute query processing corresponding to the database based on the database query statement to obtain a query result matching the first account;

[0225] A generating module, configured to generate an account uniqueness result corresponding to the first account based on the query result;

[0226] The filtering module is used to filter the target account in the database based on the account uniqueness result to obtain a filtered second account.

[0227] To solve the above technical problems, the present application also provides a computer device. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.

[0228] The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 4 with components 41-43, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital processors (DSPs), embedded devices, etc.

[0229] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.

[0230] The memory 41 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 41 can be an internal storage unit of the computer device 4, such as a hard disk or memory of the computer device 4. In other embodiments, the memory 41 can also be an external storage device of the computer device 4, such as a plug-in hard disk equipped on the computer device 4, a smart memory card (Smart Med ia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 41 can also include both the internal storage unit of the computer device 4 and its external storage device. In this embodiment, the memory 41 is generally used to store the operating system and various application software installed on the computer device 4, such as computer-readable instructions of a method for generating account data, etc. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or are to be output.

[0231] The processor 42 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 42 is generally used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to run computer-readable instructions or process data stored in the memory 41, such as computer-readable instructions for running the method for generating the account data.

[0232] The network interface 43 may include a wireless network interface or a wired network interface. The network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.

[0233] The present application also provides another embodiment, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to enable the at least one processor to perform the steps of the method for generating account data as described above.

[0234] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0235] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.

Claims

1. A method for generating account data, characterized in that: The steps include: When receiving an account generation request corresponding to a target application triggered by a user, extracting target application information, user information, and quantity information from the account generation request; wherein the account generation request carries the target application information of the target application, the user information of the user, and the quantity information; Collecting biometric information of the user, and verifying the user based on the biometric information and the user information; If the user passes the verification, calling the account generation script corresponding to the target application information; Adjust the account generation script based on the quantity information to obtain a corresponding target account generation script; Execute the target account generation script to obtain the corresponding target account; Performing availability check on the target account; If the target account passes the availability check, the target account is sent to the user.

2. The method for generating account data according to claim 1, characterized in that: The step of adjusting the account generation script based on the quantity information to obtain a corresponding target account generation script specifically includes: Get the preset initial loop structure; Generate a number of loops corresponding to the initial sequential structure based on the quantity information to obtain a corresponding first loop structure; Get the preset error handling logic; Performing content addition processing on the first loop structure based on the error handling logic to obtain a corresponding second loop structure; The second loop structure is added to the account generation script to obtain the target account generation script.

3. The method for generating account data according to claim 1, characterized in that: The step of performing availability verification on the target account specifically includes: Calling a login test script corresponding to the target application information, and performing a test process on the target account based on the login test script to obtain a corresponding first test result; Calling a payment test script corresponding to the target application information, and performing a test process on the target account based on the payment test script to obtain a corresponding second test result; Determine whether the first test result and the second test result are both passed; If so, it is determined that the target account has passed the availability check, otherwise it is determined that the target account has not passed the availability check.

4. The method for generating account data according to claim 1, characterized in that: The step of verifying the user based on the biometric information and the user information specifically includes: Determining whether the user information is stored in a preset user information database; If so, selecting target biological information from the biological information; Screening out calibrated biometric information that matches the user information and the target biometric information from a preset biometric information database; Calculating the similarity between the target biological information and the calibration biological information, and determining whether the similarity is greater than a preset similarity threshold; If so, verify the user's authority based on the preset authority data table and the user information; If the authority verification is passed, the user is determined to have passed the verification, otherwise the user is determined to have failed the verification.

5. The method for generating account data according to claim 4, characterized in that: The permission data table includes a user permission data table and an operation permission data table; the step of verifying the user's permission based on the preset permission data table and the user information specifically includes: Calling the user authority data table and the operation authority data table; Querying the target permission level matching the user information from the user permission data table; Querying the specified permission level range corresponding to the account creation operation from the operation permission data table; Determining whether the target permission level is within the specified permission level range; If so, it is determined that the user has passed the authority verification; otherwise, it is determined that the user has not passed the authority verification.

6. The method for generating account data according to claim 1, characterized in that: Before the step of calling the account generation script corresponding to the target application information, the method further includes: Determine whether a request to build an account generation script triggered by a specified user has been received; If yes, display the preset script building page; Receiving application information and script configuration information input by the designated user in the script generation page; wherein the script configuration information at least includes environment configuration information, business interface information, and information generation operation logic; Perform script construction processing based on the script configuration information to obtain a corresponding target automation script; The target automation script is used as a designated account generation script that matches the application information, and the designated account generation script is stored based on the application information.

7. The method for generating account data according to claim 1, characterized in that: After the step of performing availability verification on the target account, the method further includes: Storing the target account in a preset database; Constructing a database query statement corresponding to a first account; wherein the first account is any one of all the target accounts; Executing query processing corresponding to the database based on the database query statement to obtain a query result matching the first account; generating an account uniqueness result corresponding to the first account based on the query result; The target account in the database is filtered based on the account uniqueness result to obtain a filtered second account.

8. A device for generating account data, characterized in that: include: an extraction module, configured to extract target application information, user information, and quantity information from an account generation request corresponding to a target application triggered by a user when the account generation request is received; wherein the account generation request carries the target application information of the target application, the user information of the user, and the quantity information; A verification module, used to collect the biometric information of the user and verify the user based on the biometric information and the user information; A calling module, configured to call an account generation script corresponding to the target application information if the user passes the verification; An adjustment module, configured to adjust the account generation script based on the quantity information to obtain a corresponding target account generation script; An execution module, used for executing the target account generation script to obtain a corresponding target account; A verification module, used to perform availability verification on the target account; The sending module is used to send the target account to the user if the target account passes the availability check.

9. A computer device comprising a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the method for generating account data as described in any one of claims 1 to 7 when executing the computer-readable instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, implement the steps of the method for generating account data according to any one of claims 1 to 7.