WO2021169212A1 - Risk control model construction method and apparatus, risk control checking method and apparatus, and computer device - Google Patents

Risk control model construction method and apparatus, risk control checking method and apparatus, and computer device Download PDF

Info

Publication number
WO2021169212A1
WO2021169212A1 PCT/CN2020/111948 CN2020111948W WO2021169212A1 WO 2021169212 A1 WO2021169212 A1 WO 2021169212A1 CN 2020111948 W CN2020111948 W CN 2020111948W WO 2021169212 A1 WO2021169212 A1 WO 2021169212A1
Authority
WO
WIPO (PCT)
Prior art keywords
risk control
target
result
query result
query
Prior art date
Application number
PCT/CN2020/111948
Other languages
French (fr)
Chinese (zh)
Inventor
万忠伟
甘丽婷
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021169212A1 publication Critical patent/WO2021169212A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0635Risk analysis of enterprise or organisation activities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof

Definitions

  • This application relates to the field of artificial intelligence technology, and in particular to a method for building a risk control model based on a decision tree, a method, device, device, computer equipment, and computer-readable storage medium for risk control review based on a decision tree.
  • risk control business there is a type of business that requires users to pass a risk control assessment before they can be processed.
  • a risk control model is used for the user's risk control assessment, and different business needs to use different risk control models.
  • customers can only transact business after they have passed the system risk control review. Since different operators and different cities have different business conditions, it is obviously not feasible to use the same set of risk control models for all.
  • Yes for example, there are many colleges and universities in City A, and many college students are blank credit accounts. It is necessary to establish a set of risk control models suitable for college students, which is different from ordinary salary groups. Under normal circumstances, different risk control models need to be developed accordingly.
  • multiple risk control models need to be developed, but the development of multiple risk control models will cause time-consuming and labor-intensive problems.
  • the system needs to support configurable risk control model functions.
  • risk control model functions In traditional technology, there is a configurable risk control system, but it cannot meet various business scenarios. Many risk control models for specific business scenarios still need to be developed by code to achieve. It takes a lot of manpower to construct or adjust, which reduces the update efficiency of the risk control model.
  • This application provides a method for constructing a risk control model based on a decision tree, a method for reviewing a risk control based on a decision tree, a device, computer equipment, and a computer-readable storage medium, which can solve the update efficiency of the risk control model in the traditional technology, thereby improving the risk Control the accuracy of the audit.
  • this application provides a method for constructing a risk control model based on a decision tree.
  • the method includes: when a preset operation for constructing a risk control model is received, displaying a preset interface code table and query through a list page A result code table and a risk control result code table; wherein the interface code table includes multiple interface codes, the query result code table includes multiple query results, and the risk control result code table includes multiple risk control results ; Receiving through the list page a selection instruction to determine a target interface code from the interface code table, determine a target query result from the query result code table, and determine a target risk control result from the risk control result code table , Obtain the corresponding relationship between the target interface code, the target query result, and the target risk control result; based on the corresponding relationship, the target interface code, the target query result, and the target risk control The results are respectively configured at the nodes of the preset decision tree to generate a risk control model based on the decision tree.
  • this application provides a risk control review method based on a decision tree, the method comprising: receiving user data of a user, the user data including preset information used to determine the user's business type; The preset information retrieves a risk control model based on a decision tree from a preset storage file; the risk control review is performed based on the user profile through the risk control model based on the decision tree.
  • the present application also provides a decision tree-based risk control model construction device, including: a display unit for displaying the preset interface code through the list page when the preset operation of constructing the risk control model is received Table, query result code table, and risk control result code table; wherein, the interface code table includes multiple interface codes, the query result code table includes multiple query results, and the risk control result code table includes multiple A risk control result; a first receiving unit configured to receive, through the list page, the target interface code determined from the interface code table, the target query result determined from the query result code table, and the risk control result code The selection instruction for determining the target risk control result in the table is used to obtain the corresponding relationship between the target interface code, the target query result, and the target risk control result; The target interface code, the target query result, and the target risk control result are respectively configured at nodes of a preset decision tree to generate a risk control model based on the decision tree.
  • this application also provides a risk control review device based on a decision tree, including: a second receiving unit for receiving user data of a user, and the user data includes information for determining the user's business type Preset information; a retrieval unit for retrieving a risk control model based on a decision tree from a preset storage file according to the preset information; an auditing unit for retrieving a risk control model based on a decision tree based on the decision tree The user information is reviewed for risk control.
  • the present application also provides a computer device that includes a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the storage in the memory
  • the computer program to achieve the following steps: when receiving the preset operation of constructing the risk control model, display the preset interface code table, the query result code table and the risk control result code table through the list page; wherein, the interface code The table contains multiple interface codes, the query result code table contains multiple query results, and the risk control result code table includes multiple risk control results; the target is determined from the interface code table by receiving through the list page Interface code, determine the target query result from the query result code table, and determine the selection instruction of the target risk control result from the risk control result code table to obtain the target interface code, the target query result, and the The corresponding relationship between the target risk control results; based on the corresponding relationship, the target interface code, the target query result, and the target risk control result are respectively configured at the nodes of the preset decision tree to generate a decision tree-based Risk control
  • the present application also provides a computer device, the computer device including a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the memory stored in the memory
  • the computer program to achieve the following steps: receiving user information of the user, the user information including preset information used to determine the type of business of the user; according to the preset information, retrieve from a preset storage file based on A risk control model of the decision tree; the risk control review is performed according to the user data through the risk control model based on the decision tree.
  • the present application also provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, the following steps are implemented: During the preset operation, the preset interface code table, query result code table, and risk control result code table are displayed on the list page; wherein, the interface code table includes multiple interface codes, and the query result code table includes multiple Query results, the risk control result code table includes a plurality of risk control results; receive through the list page the target interface code determined from the interface code table, and the target query result determined from the query result code table, and The selection instruction of the target risk control result is determined from the risk control result code table, and the corresponding relationship between the target interface code, the target query result, and the target risk control result is obtained; based on the corresponding relationship, The target interface code, the target query result, and the target risk control result are respectively configured at nodes of a preset decision tree to generate a risk control model based on the decision tree.
  • the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented: receiving user information from a user,
  • the user profile includes preset information used to determine the user's business type; according to the preset information, a risk control model based on a decision tree is retrieved from a preset storage file; through the risk control model based on a decision tree Conduct a risk control review based on the user profile.
  • FIG. 1 is a schematic flowchart of a method for constructing a risk control model based on a decision tree provided by an embodiment of the application;
  • FIG. 2 is a schematic diagram of the relationship between three code tables involved in the risk control model based on a decision tree provided by an embodiment of the application;
  • FIG. 3 is a schematic diagram of a decision tree architecture provided by an embodiment of the application.
  • FIG. 4 is a schematic flowchart of a risk control review method based on a decision tree provided by an embodiment of the application
  • FIG. 5 is a schematic diagram of another decision tree architecture provided by an embodiment of this application.
  • FIG. 6 is a schematic diagram of a sub-process of a risk control review method based on a decision tree provided by an embodiment of the application;
  • FIG. 7 is a schematic block diagram of a device for constructing a risk control model based on a decision tree provided by an embodiment of the application;
  • FIG. 8 is a schematic block diagram of a risk control review device based on a decision tree provided by an embodiment of the application.
  • FIG. 9 is a schematic block diagram of a computer device provided by an embodiment of the application.
  • FIG. 1 is a schematic flowchart of a method for constructing a risk control model based on a decision tree provided in an embodiment of the application
  • FIG. 2 is a relationship between three code tables involved in a risk control model based on a decision tree provided in an embodiment of the application
  • Figure 3 is a schematic diagram of a decision tree architecture provided by an embodiment of the application. As shown in Figure 1, the method includes the following steps S101-S103:
  • an interface code table is preset, the interface code table includes multiple interface codes, each of the interface codes corresponds to a query result code table, and each query result code table contains multiple query results, each The query result corresponds to a risk control result coding table, and each risk control result coding table includes multiple risk control results.
  • the risk control model manager starts to build the risk control model, and the computer equipment receives the preset operation of the risk control model manager to construct the risk control model.
  • the list is passed The page displays the preset interface code table, query result code table, and risk control result code table.
  • the computer device receives the operation of constructing the risk control model, and according to the operation, displays the preset interface code table and the query result code corresponding to each interface code contained in the interface code table in a preset manner through the list page according to the operation.
  • Table, and a risk control result code table corresponding to each query result contained in each query result code table are examples of the risk control model.
  • the display modes of the three code tables of the interface code table, the query result code table, and the risk control result code table can include the following two ways: 1) The preset interface code table and each of the interface code tables The query result code table corresponding to each interface code, and the risk control result code table corresponding to each query result contained in the query result code table are displayed on the list page at the same time, so that the risk control model managers can learn from three Select one code table one by one.
  • the display mode of the above three code tables can be implemented in a variety of specific forms according to the page design of the list page. No matter how the display order and display mode of the three code tables change, they all reflect the display shown in Figure 2.
  • the association relationship of the three code tables that is, each interface code contained in the three code tables, the query result code table corresponding to each of the interface codes, and the risk control result corresponding to each query result The corresponding relationship.
  • S102 Receive, through the list page, information about determining a target interface code from the interface code table, determining a target query result from the target query result code table, and determining a target risk control result from the risk control result code table. Select the instruction to obtain the correspondence between the target interface code, the target query result, and the target risk control result.
  • the risk control model manager selects the required interface code from the interface code table according to business needs to obtain the target interface code, and then selects the required target query result from the query result code table associated with each target interface code. Finally, the target risk control result corresponding to each target query result is selected from the risk control result code table corresponding to each target query result, and the computer equipment receives the risk control model management personnel from the list page in turn.
  • the target interface code is determined from the interface code table, the target query result corresponding to the target interface code is determined from the query result code table, and the target query result corresponding to the target query result is determined from the risk control result code table
  • the target risk control result selection instruction is based on the preset target interface code, the target query result and the association relationship between the target risk control result to obtain the target interface code, the target query result, and the target risk control result. The corresponding relationship between the target risk control results. Please continue to refer to Figure 2.
  • the interface code 2 corresponding to node 2 of the decision tree shown in Figure 2 corresponds to query result 1 and query result 2 and their respective query results.
  • Interface code 2 can also be customized as Corresponding to the query result 3 and its risk control result, a corresponding relationship between the target interface code, each target query result, and the target risk control result corresponding to each target query result is formed.
  • the relationship between interface coding, query results, and risk control results can be implemented based on one-to-one, one-to-many, and many-to-one mapping relationships in the design of database tables. For example, in SQL databases, one For multiple mapping relationships, foreign keys are generally added to the table on the multiple side.
  • the one-to-many mapping relationship in JAVA can be achieved by defining classes and arrays.
  • the association relationship between the interface code, the query result, and the risk control result may specifically include the following two ways:
  • the mapping relationship between the interface code and the query result adopts a one-to-many mapping relationship.
  • the mapping relationship between the query result and the risk control result can be a one-to-one mapping relationship, or a many-to-one mapping relationship. For example, if all query results correspond to the same risk control results, each query result corresponds to a one-to-one mapping relationship of a risk control result code table, which will increase the number of risk control result code tables, thereby increasing database resources
  • the query result and the risk control result code table can adopt a many-to-one mapping relationship, that is, when each query result sets its own corresponding risk control result, the same risk control result code table is called to save the risk control result.
  • the resource of the code table improves the efficiency of the use of the code table of risk control results.
  • the target interface code, the target query result, and the target risk control result are respectively configured at nodes of a preset decision tree to generate a risk control model based on the decision tree.
  • each node of the decision tree corresponds to an interface code
  • each interface code is associated with one or more query results
  • each query result corresponds to a risk control result
  • the corresponding relationship corresponding to each interface code is
  • a node corresponding to the decision tree is set in advance to generate a risk control model based on the decision tree, that is, the corresponding relationship between the target interface code, the target query result, and the target risk control result is coded through the interface
  • the embodiment of this application is based on the design of three code tables of interface coding table, query result coding table and risk control result coding table.
  • Three code tables of interface coding table, query result coding table and risk control result coding table are established in advance to realize decision-based
  • the tree's risk control model When the tree's risk control model is constructed, it receives the preset operation of constructing the risk control model.
  • the preset interface code table, query result code table and risk control result are displayed on the list page.
  • a code table is received through the list page to determine a target interface code from the interface code table, determine a target query result from the target query result code table, and determine a target risk control result from the risk control result code table
  • the corresponding relationship between the target interface code, the target query result, and the target risk control result is obtained, and the corresponding relationship corresponding to the interface code is preset to correspond to the node of the decision tree
  • the risk control model manager can customize the corresponding to each node contained in the risk control model based on the decision tree from the three code tables according to the business needs corresponding to the business type.
  • the embodiment of this application is based on decision-making
  • the construction and update of the tree's risk control model are simple and efficient. Therefore, the efficiency of the construction and update of the risk control model is improved, and the timeliness of the construction and update of the risk control model is improved.
  • the receiving through the list page determines the target interface code from the interface code table, determines the target query result from the target query result code table, and receives from the risk control result code table
  • the step of determining the selection instruction of the target risk control result, and obtaining the corresponding relationship between the target interface code, the target query result, and the target risk control result includes: receiving the target interface code determined from the interface code table Select an instruction to obtain a target interface code; display the query result code table associated with the target interface code through the list page; receive a selection instruction for determining a target query result from the query result code table to obtain the target interface
  • the target query result corresponding to the code display the risk control result code table associated with the target query result through the list page; receive a selection instruction to determine the target risk control result from the risk control result code table to obtain the result
  • the target risk control result corresponding to the target query result; the target interface code, the target query result, and the target risk control result are associated through a preset association method to obtain the target interface code, the target Correspondence between the
  • the risk control model manager starts the configuration of the risk control model, and the computer device receives the operation to start the configuration of the risk control model, and the preset interface code table is displayed through the list page, and the risk control model manager selects from the interface code table Target interface code, the computer device receives the selection of the interface code contained in the interface code table to obtain the target interface code, and after receiving the target interface code selected by the risk control model manager, it displays each interface code through the list page.
  • the query result code table associated with the target interface code itself, and the computer equipment then receives the risk control model manager’s selection of the query results contained in the query result code table to obtain the corresponding code of the target interface code.
  • the target query result, the query result is used to describe the preset classification corresponding to the user profile, for example, the age interface code corresponds to the division of age groups, and the computer device further displays the target query result through the list page according to the target query result.
  • the risk control result code table associated with the target query result itself, and the computer device then receives the selection of the risk control result contained in the risk control result code table to obtain the target risk control result corresponding to the target query result, thereby Obtain the corresponding relationship between the target interface code selected by the risk control model manager, the target query result corresponding to the target interface code, and the risk control result corresponding to the target query result, and the target interface code, the target query result
  • the target query result and the target risk control result are related by a preset association method, for example, the interface code table and the query result are through a one-to-many relationship, and the query result and the risk control result adopt a one-to-one association Relationship to obtain the corresponding relationship between the target interface code, the target query result, and the target
  • the interface code table, the query result code table corresponding to each target interface code, and the risk control result code table corresponding to each target query result are displayed in sequence according to the selection of the model manager ,
  • the risk control model manager selects the target interface code from the three code tables, several target query results corresponding to each target interface code, and the target risk control result corresponding to each target query result, which can make a visualized page
  • the design is hierarchical and a rational page layout is constructed to save page resources and cache resources of computer equipment, and improve the display efficiency of computer equipment, especially when the computer equipment is multi-tasking, which can improve the resource utilization of computer equipment.
  • the established query result code table includes the query result, the query result code corresponding to the query result, and the query result judgment condition.
  • the query result is used to describe the corresponding classification category of the data specified in advance by the user according to the preset classification condition satisfied by the data. Since the query result, the query result code and the query result judgment condition can be set separately, the query result, the query result code and the query result judgment condition have the flexibility of their respective settings. For example, please refer to Table 1.
  • Table 1 is an example of the query result code table of the age control interface.
  • the interface code return result of the age control interface is age, which can be configured as the following query results shown in Table 1.
  • the age of the user is combined with the age judgment condition to obtain the user's age query result and the query result code corresponding to the age query result.
  • the query results in Table 1 can be further subdivided according to business needs. For example, the query result judgment conditions can be divided into 0-17 years old, 18-30 years old, 31-50 years old, 50-65 years old, and The corresponding query results and query result codes are also adjusted to five types for the classification of five conditions, including those over 65 years old.
  • the user condition control interface corresponding to an interface code can return various query results according to the customized query result judgment conditions. Different corresponding query results, so as to achieve the same user condition control interface to realize the customization of different conditions.
  • the more detailed the definition of the judgment condition of the customized query result the more detailed the query result returned by the interface code, so that the wind can be realized.
  • the refined configuration of the control model For example, since the age control interface can return the 4 kinds of query results shown in Table 1, it can also return the 5 kinds of query results mentioned above according to business needs, or return the control age control interface to other settings according to business needs.
  • Table 2 is an example of a risk control result coding table.
  • the risk control results of "pass" and “reject” are established respectively, and the results of each category can support the configuration of multiple specific sub-categories.
  • the risk control results can be set according to business needs.
  • a risk control result can be uniquely determined by combining a custom credit line with a query result code according to business needs.
  • a custom credit line refers to a credit line that meets preset conditions.
  • the risk control result corresponding to the age under 18 is rejected, or it can be set to the risk control result corresponding to the age under 22 as reject, where the age is over 18 Or 22 years of age or older is a custom credit line, which is self-defined according to business needs.
  • Form 2 is for the telecommunications (campus) card business of the organization, its business processing requirements allow customers aged 18 to 70 years old to apply.
  • the risk control results can be selected: 1) The customer type is "Age” 18 years old (customer_class002)", set the risk control result to "pass”. 2) The customer type is "Over 70 years old (customer_class004)", and the risk control result is "Rejected”.
  • a corresponding query result code is set in the query result coding table through each query result, and the risk control result corresponding to the query result is coded by the query result corresponding to the query result
  • the computer device obtains the target query result code corresponding to the target query result according to the target query result, and then displays the target query result code through the list page
  • the risk control result code table associated with the target query result code the computer equipment then receives the risk control model manager’s selection of the risk control results contained in the risk control result code table to obtain the corresponding target query result code
  • the target risk control result so as to obtain the target risk control result corresponding to the target query result, for multiple nodes of the decision tree, repeat the generation process of the corresponding relationship corresponding to one of the nodes until the model manager according to the business requirements
  • the setting of the risk control review model is completed to generate the risk control review model based on the decision tree.
  • the query result is associated with the risk control result by setting a query result code between the query result and the risk control result. Since there is no direct correlation between the query result and the risk control result, there is no need to directly modify the query result or the risk control result. Modifying the code of the risk control results and query results reduces the workload of the development model.
  • the configuration of the risk control model is simple and clear, which reduces the probability of errors in the configuration of complex risk control models, and reduces the use of risk control model managers. Threshold makes the configuration and operation of the risk control model as simple and efficient as possible, improves the generation efficiency of the risk control model, and improves the timeliness of the update of the risk control model.
  • FIG. 4 is a schematic flowchart of a risk control review method based on a decision tree provided by an embodiment of the application. As shown in Figure 4, the method includes the following steps S401-S403:
  • S401 Receive user data of a user, where the user data includes preset information used to determine a service type of the user.
  • the business type refers to the type of business with different target groups as the target objects obtained by classifying the business according to the business goal.
  • the risk control review there is a type of risk control review business for college students. Since the conditions of the college student group and the salary group are different, the respective risk control reviews for the college student group and the salary group are carried out through different conditions.
  • the preset information includes the user's address, the user's age, the business name, and the ID number. The preset information is mainly used to judge and identify the type of business handled by the user.
  • the user information includes a preset for determining the user’s business type Information, through the preset information to determine the type of business the user handles.
  • the user information that needs to be provided includes personal information and the type of package processed, and the user's business type is determined by the information such as the personal information and the type of package.
  • S402 According to the preset information, retrieve the risk control model based on the decision tree from the preset storage file.
  • the decision tree is Decision Tree in English.
  • the decision tree is a tree structure in which each internal node represents an attribute, each node represents a branch, and each branch represents an attribute output, and each node includes at least one leaf Nodes, each leaf node represents a risk control result, and the nodes of the decision tree support serial and parallel relationships, AND/or relationships, and multi-level structures.
  • the risk control model in this embodiment of the application is based on a decision tree description.
  • the risk control model It is constructed based on the decision tree-based risk control model construction method of each of the foregoing embodiments.
  • the preset information includes the user address and the target business name.
  • the step of retrieving a risk control model based on a decision tree from a preset storage file includes: according to the user address and the target business name, retrieving the pre- and The risk control model based on the decision tree of the business type corresponding to the user address and the target business name.
  • the risk control review will be conducted according to the user's address and the user's target business name. If the preset information includes the user address and the target business name, it will retrieve the pre-built relationship with the user address and the target business name from the preset storage file according to the user address and the target business name.
  • a risk control model based on a decision tree corresponding to the business type. For example, in the risk control review business, because different business operators have different business conditions in different regions and cities, the corresponding business types are generally formulated according to the regions, cities and target groups. Therefore, the user address and target business name can be pre-defined.
  • the information determines the risk control model corresponding to the user's risk control review, and the risk control model is only carried out by the risk control model manager in the background of the system through the visual risk control model configuration page according to the actual business needs of different cities
  • the configuration can be obtained without the need to develop the code of the risk control model, so as to realize a simple, flexible and refined configuration of the risk control model to improve the accuracy and efficiency of the risk control review process.
  • S403 Perform a risk control review based on the user profile through the risk control model based on the decision tree.
  • the risk control review target can be audited through the decision tree, so that the risk control review target can be reviewed according to the risk control model.
  • Obtain the results of the risk control audit for example, get the audit results of two categories: "approved” and "failed”.
  • the risk control review based on the user data through the risk control model based on the decision tree is based on the structure of the preset decision tree and the risk control results of each node in the decision tree, and the user's risk control can be obtained. Control audit results.
  • the target query result corresponding to each interface code in the risk control model is obtained through each of the interface codes, and the target query result corresponding to the target query result is obtained according to the target query result.
  • the target risk control result to obtain the target risk control result corresponding to the interface code so as to obtain the target risk control result corresponding to each node included in the risk control model, so as to obtain a risk control review according to the risk control model the result of.
  • the structure of the decision tree and the relationship between the nodes can be set according to business needs.
  • the nodes of the decision tree can include an "and” relationship and an "or” relationship, and the "and” relationship is used to describe the The risk control model needs to satisfy that the risk control results of two nodes are both "passed", and the "or” relationship is used to describe that the risk control model needs to satisfy that at least one of the risk control results of the two nodes is "passed”.
  • the step of obtaining the result of the risk control review according to the risk control model includes: judging the risk control Whether the risk control results corresponding to the interface codes corresponding to the nodes in the "and” relationship in the model are all "passed”; if the risk control model corresponds to the nodes in the "and” relationship The risk control results corresponding to the interface code are all "passed", and it is determined that the user's risk control review is passed; if the risk control model in the risk control model corresponds to the interface code corresponding to the node in the "and” relationship If the risk control results are not all "passed", it is determined that the user's risk control review has not passed.
  • the decision tree includes multiple nodes, and the multiple nodes may have an "and” relationship or an “or” relationship, etc.
  • the decision tree corresponding to the risk control model shown in Figure 3 contains nodes: A, A1, A2, A3, A11, A12, A31, and A32.
  • Each node represents an interface code.
  • These nodes can be "and "Or” relationship, the relationship between nodes is "and”, which means that the conditions of two nodes need to be met at the same time, and the relationship between nodes is "or”, which means that the condition of one of the two nodes is satisfied.
  • the risk control model constructed by the decision tree-based risk control model construction method in each of the above embodiments because the risk control model can be refined at the interface level Customize the configuration, so that every construction and update of the risk control model can be tailored to the actual business needs, and the risk control model will take effect immediately after configuration, enabling the risk control model to match the risk control review business in a refined and efficient manner, and improve The efficiency and accuracy of the risk control review process.
  • each query result contained in the query result coding table is correspondingly set with a query result code;
  • the step of performing risk control review according to the user data through the decision tree-based risk control model includes :
  • the target query result corresponding to each interface code is obtained through the interface code corresponding to each node included in the risk control model; each target query result is obtained according to each target query result.
  • the target query result code corresponding to each of the target query results; according to each target query result code, the target risk control result corresponding to each target query result code is obtained to obtain each node
  • Each corresponding risk control result; according to the risk control result corresponding to each node, the risk control audit of the user is performed through the risk control model based on the decision tree.
  • the computer device retrieves the risk control model of the business type corresponding to the preset information according to the preset information in the user profile, and compares the received user profile with each of the risk control model based on the decision tree. Nodes are matched. For example, the user’s age information is matched with the interface code through the node corresponding to the age interface code in the risk control model, and the user’s income information is matched through the node and interface code corresponding to the income interface code in the risk control model.
  • Matching, etc. obtain the target query result corresponding to each of the interface codes in the risk control model through each of the interface codes, and obtain the corresponding corresponding to each target query result according to each of the target query results According to the target query result code of each target query result code, the target risk control result corresponding to each target query result code is obtained to obtain the risk control result corresponding to each node, according to The risk control result corresponding to each node is combined with the tree structure of the decision tree to conduct a risk control review on the user.
  • the method before the step of obtaining the target risk control result corresponding to each of the target query result codes, the method further includes: pre-querying the node information contained in the risk control model. Pre-query the corresponding risk control results.
  • pre-query refers to pre-query the risk control results of the credit reporting and risk control interface.
  • the pre-query method includes pre-query according to the interface type of the credit reporting and risk control interface, and time-consuming pre-query according to the interface query of the credit reporting and risk control interface. Query and combine the above two methods to pre-query the credit information and risk control interface involved in the risk control model.
  • the response time of the risk control review system can be shortened, and the efficiency of the computer equipment in processing the risk control review can be improved.
  • the interface code includes multiple, and each of the interface codes corresponds to a credit information and risk control query interface.
  • the decision tree includes multiple levels, and the step of pre-querying the risk control results corresponding to the nodes included in the risk control model by pre-querying
  • the credit information and risk control query interface performs concurrent queries, and each query result corresponding to the first type of credit information and risk control query interface is stored in the cache.
  • the first type of credit and risk control query interface includes free credit information.
  • the respective query results of the second type of credit information and risk control query interface are stored in the cache for subsequent use by the decision tree, and the second type of credit and risk control query interface
  • the credit report and risk control query interface includes a query interface for charging for each query.
  • risk control review in order to more accurately identify the risks of customers, it is generally necessary to obtain user data from multiple credit data sources to establish a risk control model, such as a third-party identity verification interface, a blacklist interface, Interfaces such as the multi-head lending interface and the credit score query interface involve obtaining verification results from multiple third-party interfaces, leading to more and more time-consuming risk control reviews.
  • a risk control model such as a third-party identity verification interface, a blacklist interface
  • Interfaces such as the multi-head lending interface and the credit score query interface
  • the risk control review data of multiple data sources can be processed separately through the following steps:
  • the first type of credit information and risk control query interface includes the free credit information and risk control query interface and the credit information and risk control query interface for fee packages.
  • the respective query results of the second type of credit information and risk control query interface are stored in the cache for subsequent call by the decision tree, and the second type of credit information and risk control query interface includes billing for each query Query interface.
  • FIG. 5 is a schematic diagram of another decision tree architecture in the decision tree-based risk control review method provided by an embodiment of the application. As shown in Figure 5, if judgment A is currently being executed, the data of six interfaces B1, B2, C1, C2, C3, and C4 can be queried in advance.
  • the risk control result can be obtained by judgment A, there is no need to query D1, D2
  • the data of eight interfaces such as D3, D4, D5, D6, D7 and D8, especially when D1-D8 interfaces include interfaces that need to be charged, it can avoid query waste and shorten the response time of the credit review system; if B2 is currently implemented To judge, it is necessary to query the data of six interfaces such as C3, C4, D5, D6, D7 and D8 in advance. If the risk control result can be obtained through the B2 judgment, there is no need to query the data of the interface corresponding to the node after the D5 to D8 level.
  • the embodiment of this application uses the pre-query mechanism of the credit investigation and risk control interface in the above-mentioned risk control review, within the controllable range of the credit inquiry fee, by shortening the response time of the credit review system, and improving the performance of the computer equipment in processing the credit review. Improve the efficiency of credit review.
  • FIG. 6 is a schematic diagram of a sub-process of the risk control review method based on a decision tree provided by an embodiment of the application.
  • the decision tree includes multiple levels, and the nodes included in the risk control model are corresponding to the nodes included in the risk control model through a pre-query.
  • the steps of pre-querying the results of risk control include: S601.
  • the query time-consuming historical data for querying according to each credit information and risk control query interface is calculated, and the query consumption of each of the credit information and risk control query interfaces in the preset time period is counted.
  • Time data; S602. Sort the query time-consuming data in a preset order to obtain a preset number of the credit information and risk control query interfaces obtained according to the query time-consuming order in descending order, to form a query interface Information and risk control query interface set; S603. Determine whether the query interface corresponding to the child node contained in the second preset number below the current level to which the decision tree execution node belongs includes the information and risk control query interface set Credit information and risk control query interface; S604.
  • the credit information and risk control query interface in the centralized interface calls the credit information and risk control query interface in the credit information and risk control query interface set, and stores the query results corresponding to the query interface in the credit and risk control query interface set in the cache S605, if the current level to which the decision tree execution node belongs, the query interface corresponding to the child node included in the second preset number of levels below does not include the The credit information and risk control query interface in the centralized credit information and risk control query interface does not call the credit information and risk control query interface in the centralized credit and risk control query interface.
  • the query time-consuming historical data can be queried according to the various credit reporting and risk control query interfaces, before statistics
  • the query time-consuming data of each of the credit investigation risk control query interfaces within a preset time period is sorted in a preset order to obtain the query time-consuming data in descending order according to the query time
  • a preset number of the credit information and risk control query interfaces are formed to form a credit information and risk control query interface set, and the query interfaces corresponding to the child nodes included in the second preset number below the current level to which the decision tree execution node belongs are determined Whether it contains the credit information and risk control query interface in the credit information and risk control query interface set, if the current level to which the decision tree execution node belongs, the sub-nodes included in the second preset number of levels below correspond to the
  • the query interface includes the credit report and risk control query interface in the credit report and risk control query interface collection, calls the credit report and risk
  • the query interface does not include the credit information and risk control query interface in the credit information and risk control query interface set, and does not call the credit information and risk control query interface in the credit information and risk control query interface set. For example, according to the time-consuming monitoring of each interface in the previous hour in the history, the most time-consuming interface is counted. If this interface appears in the lower five sub-nodes, it will be called in advance and stored in the Redis cache and other caches for subsequent decision tree calls. , So as to improve query efficiency, can shorten the response time of the credit review system, improve the performance of computer equipment to process credit review, so as to improve the efficiency of credit review.
  • the pre-query according to the interface type of the credit reporting risk control interface and the time-consuming pre-query according to the interface query of the credit reporting risk control interface are combined to compare the risks involved in the risk control model. Pre-query through the credit report and risk control interface.
  • the pre-query can be performed according to the interface type of the credit reporting and risk control interface, and then the time-consuming pre-query can be performed according to the interface query of the credit reporting and risk control interface, or the pre-query can be performed first according to the interface query of the credit reporting and risk control interface. Query, and then pre-query according to the interface type of the credit information risk control interface. Please continue to refer to Figure 5.
  • FIG. 7 is a schematic block diagram of a device for constructing a risk control model based on a decision tree provided by an embodiment of the application.
  • an embodiment of the present application also provides a device for building a risk control model based on a decision tree.
  • the decision tree-based risk control model construction device includes a unit for executing the above-mentioned decision tree-based risk control model construction method, and the device can be configured in a computer device such as a server.
  • the device 700 for constructing a risk control model based on a decision tree includes a display unit 701, a first receiving unit 702 and a generating unit 703.
  • the display unit 701 is configured to display the preset interface code table, query result code table, and risk control result code table through the list page when the preset operation of constructing the risk control model is received; wherein, the interface code table Contains multiple interface codes, the query result code table contains multiple query results, and the risk control result code table includes multiple risk control results; the first receiving unit 702 is configured to receive data from all sources through the list page.
  • the target interface code is determined in the interface code table, the target query result is determined from the query result code table, and the selection instruction of the target risk control result is determined from the risk control result code table to obtain the target interface code,
  • a risk control model based on the decision tree is generated.
  • the first receiving unit 702 includes: a first receiving subunit, configured to receive a selection instruction for determining a target interface code from the interface code table to obtain the target interface code; a first display subunit, It is used to display the query result code table associated with the target interface code through the list page; the second receiving subunit is used to receive a selection instruction for determining the target query result from the query result code table to obtain the The target query result corresponding to the target interface code; the second display sub-unit is used to display the risk control result code table associated with the target query result through the list page; the third receiving sub-unit is used to receive from the The selection instruction for determining the target risk control result in the risk control result coding table to obtain the target risk control result corresponding to the target query result; the correlation subunit is used to encode the target interface code, the target query result and all The target risk control results are associated through a preset association method to obtain the corresponding relationship between the target interface code, the target query result, and the target risk control result.
  • each query result contained in the query result code table corresponds to a query result code;
  • the third receiving subunit includes: an obtaining subunit for obtaining the target query result The corresponding target query result code;
  • the third display subunit is used to display the risk control result code table associated with the target query result code through the list page;
  • the fourth receiving subunit is used to receive data from the risk control The selection instruction of the target risk control result is determined in the result code table to obtain the target risk control result corresponding to the target query result code, so as to obtain the target risk control result corresponding to the target query result.
  • FIG. 8 is a schematic block diagram of a risk control review device based on a decision tree provided by an embodiment of the application.
  • an embodiment of the present application also provides a risk control review device based on the decision tree.
  • the decision tree-based risk control review device includes a unit for executing the above-mentioned decision tree-based risk control review method, and the device can be configured in a computer device such as a terminal.
  • the risk control review device 800 based on a decision tree includes a second receiving unit 801, a retrieval unit 802 and a review unit 803.
  • the second receiving unit 801 is configured to receive user data of the user, and the user data includes preset information used to determine the service type of the user;
  • the calling unit 802 is configured to obtain information from A risk control model based on a decision tree is retrieved from a preset storage file;
  • the review unit 803 is configured to conduct a risk control review based on the user profile through the risk control model based on the decision tree.
  • each query result contained in the query result code table is correspondingly set with a query result code;
  • the review unit 803 includes: a first obtaining subunit, which is configured to pass the The interface code corresponding to each node included in the risk control model obtains the target query result corresponding to each of the interface codes; the second obtaining subunit is used to obtain each target query result according to each target query result.
  • the target query result code corresponding to each of the target query results; the audit subunit is used to perform risk control on the user through the risk control model based on the decision tree according to the risk control result corresponding to each of the nodes Audit.
  • the decision tree-based risk control review device 800 further includes: a pre-query unit for performing a pre-query method on the risk control results corresponding to the nodes included in the risk control model. Pre-query.
  • the above-mentioned decision tree-based risk control model construction device and the decision tree-based risk control review device are only used as examples for the division and connection of each unit.
  • the decision tree-based risk control model The construction device and the decision tree-based risk control review device are divided into different units as needed.
  • the units in the decision tree-based risk control model construction device and the decision tree-based risk control review device can also be connected in different connection sequences. And methods to respectively complete all or part of the functions of the above-mentioned decision tree-based risk control model construction device and the decision tree-based risk control review device.
  • the aforementioned decision tree-based risk control model construction device and the decision tree-based risk control review device can be implemented in the form of a computer program, and the computer program can run on the computer device as shown in FIG. 9 respectively.
  • the computer device 900 may be a computer device such as a desktop computer or a server, and may also be a component or component in other devices.
  • the computer device 900 includes a processor 902, a memory, and a network interface 905 connected through a system bus 901.
  • the memory may include a non-volatile storage medium 903 and an internal memory 904, and the memory may also be volatile storage. medium.
  • the non-volatile storage medium 903 can store an operating system 9031 and a computer program 9032.
  • the computer program 9032 When the computer program 9032 is executed, it can make the processor 902 execute the aforementioned decision tree-based risk control model construction method, or can make the processor 902 execute the aforementioned decision tree-based risk control review method.
  • the processor 902 is used to provide calculation and control capabilities to support the operation of the entire computer device 900.
  • the internal memory 904 provides an environment for the operation of the computer program 9032 in the non-volatile storage medium 903.
  • the processor 902 can execute a risk control model construction based on the decision tree described above.
  • the processor 902 may be caused to execute the above-mentioned risk control review method based on the decision tree.
  • the network interface 905 is used for network communication with other devices.
  • the structure shown in FIG. 9 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 900 to which the solution of the present application is applied.
  • the specific computer device 900 may include more or fewer parts than shown in the figure, or combine certain parts, or have a different arrangement of parts.
  • the computer device may only include a memory and a processor. In such embodiments, the structures and functions of the memory and the processor are consistent with the embodiment shown in FIG. 9 and will not be repeated here.
  • the processor 902 is configured to run a computer program 9032 stored in the memory to implement the risk control model construction method of the embodiment of the present application. Or risk control review method.
  • the processor 902 may be a central processing unit (Central Processing Unit, CPU), and the processor 902 may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), and special purpose processors.
  • Integrated circuit Application Specific Integrated Circuit, ASIC
  • ready-made programmable gate array Field-Programmable Gate Array, FPGA
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor.
  • the embodiment of the present application also provides a computer-readable storage medium.
  • the computer-readable storage medium may be a non-volatile computer-readable storage medium, or may be a volatile storage medium.
  • the computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the processor Perform the steps of the decision tree-based risk control model construction method described in the above embodiments, or make the computer execute the steps of the decision tree-based risk control review method described in the above embodiments.
  • the storage medium is a physical, non-transitory storage medium, such as a U disk, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a magnetic disk or an optical disk, etc., which can store computer programs. medium.
  • a physical, non-transitory storage medium such as a U disk, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a magnetic disk or an optical disk, etc., which can store computer programs. medium.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Educational Administration (AREA)
  • Technology Law (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Air Conditioning Control Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A risk control model construction method and apparatus, a risk control checking method and apparatus, a computer device, and a computer-readable storage medium, which belong to the technical field of artificial intelligence. The risk control model construction method comprises: when a preset operation for constructing a risk control model is received, displaying a preset interface coding table, a query result coding table and a risk control result coding table by means of a list page (S101); receiving, by means of the list page, a selection instruction used for determining a target interface code from the interface coding table, determining a target query result from the query result coding table and determining a target risk control result from the risk control result coding table, so as to obtain a correlation between the target interface code, the target query result and the target risk control result (S102); and on the basis of the correlation, respectively configuring the target interface code, the target query result and the target risk control result to be on nodes of a preset decision tree, so as to generate a risk control model based on the decision tree (S103).

Description

风控模型构建方法、风控审核方法、装置及计算机设备Risk control model construction method, risk control review method, device and computer equipment
本申请要求于2020年02月26日提交中国专利局、申请号为202010120287.7、发明名称为“风控模型构建方法、风控审核方法、装置及计算机设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on February 26, 2020, the application number is 202010120287.7, and the invention title is "risk control model construction method, risk control review method, device and computer equipment", all of which The content is incorporated in this application by reference.
技术领域Technical field
本申请涉及人工智能技术领域,尤其涉及一种基于决策树的风控模型构建方法、基于决策树的风控审核方法、装置、计算机设备及计算机可读存储介质。This application relates to the field of artificial intelligence technology, and in particular to a method for building a risk control model based on a decision tree, a method, device, device, computer equipment, and computer-readable storage medium for risk control review based on a decision tree.
背景技术Background technique
在风控业务中,有一类业务需要用户通过风控评估后才能办理,一般针对用户的风控评估使用风控模型进行,不同的业务需要使用不同的风控模型。例如,在手机分期业务中,客户通过系统风控审核后才能办理业务,由于不同的运营商、不同的地市开展业务的情况都不一样,全部使用相同的一套风控模型显然是不可行的,比如在城市A有很多高校,大学生很多为征信空白户,需要区别于普通工薪群体建立一套适合大学生群体的风控模型等。一般情况下,针对不同的风控模型需要进行对应开发,存在多种业务时,需要开发多种风控模型,但开发多种风控模型会造成耗时耗力的问题。In the risk control business, there is a type of business that requires users to pass a risk control assessment before they can be processed. Generally, a risk control model is used for the user's risk control assessment, and different business needs to use different risk control models. For example, in the mobile phone installment business, customers can only transact business after they have passed the system risk control review. Since different operators and different cities have different business conditions, it is obviously not feasible to use the same set of risk control models for all. Yes, for example, there are many colleges and universities in City A, and many college students are blank credit accounts. It is necessary to establish a set of risk control models suitable for college students, which is different from ordinary salary groups. Under normal circumstances, different risk control models need to be developed accordingly. When there are multiple businesses, multiple risk control models need to be developed, but the development of multiple risk control models will cause time-consuming and labor-intensive problems.
为了支持业务发展,系统需要支持可配置化的风控模型功能。传统技术中,存在可配置化的风控系统,但满足不了各种各样的业务场景,很多特定业务场景的风控模型还是需要开发代码去实现,发明人意识到,针对风控模型每次构建或者调整都需要花费很大人力,降低了风控模型的更新效率。In order to support business development, the system needs to support configurable risk control model functions. In traditional technology, there is a configurable risk control system, but it cannot meet various business scenarios. Many risk control models for specific business scenarios still need to be developed by code to achieve. It takes a lot of manpower to construct or adjust, which reduces the update efficiency of the risk control model.
发明内容Summary of the invention
本申请提供了一种基于决策树的风控模型构建方法、基于决策树的风控审核方法、装置、计算机设备及计算机可读存储介质,能够解决传统技术中风控模型的更新效率,从而提高风控审核的准确性。This application provides a method for constructing a risk control model based on a decision tree, a method for reviewing a risk control based on a decision tree, a device, computer equipment, and a computer-readable storage medium, which can solve the update efficiency of the risk control model in the traditional technology, thereby improving the risk Control the accuracy of the audit.
第一方面,本申请提供了一种基于决策树的风控模型构建方法,所述方法包括:当接收到构建风控模型的预设操作时,通过列表页面显示预先设置的接口编码表、查询结果编码表以及风控结果编码表;其中,所述接口编码表包含多个接口编码,所述查询结果编码表中包含多个查询结果,所述风控结果编码表中包括多个风控结果;通过所述列表页面接收从所述接口编码表中确定目标接口编码、从所述查询结果编码表中确定目标查询结果,以及从所述风控结果编码表中确定目标风控结果的选择指令,得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系;基于所述对应关系,将所述目标接口编码、所述目标查询结果以及所述目标风控结果分别配置于预设决策树的节点,生成基于决策树的风控模型。In the first aspect, this application provides a method for constructing a risk control model based on a decision tree. The method includes: when a preset operation for constructing a risk control model is received, displaying a preset interface code table and query through a list page A result code table and a risk control result code table; wherein the interface code table includes multiple interface codes, the query result code table includes multiple query results, and the risk control result code table includes multiple risk control results ; Receiving through the list page a selection instruction to determine a target interface code from the interface code table, determine a target query result from the query result code table, and determine a target risk control result from the risk control result code table , Obtain the corresponding relationship between the target interface code, the target query result, and the target risk control result; based on the corresponding relationship, the target interface code, the target query result, and the target risk control The results are respectively configured at the nodes of the preset decision tree to generate a risk control model based on the decision tree.
第二方面,本申请提供了一种基于决策树的风控审核方法,所述方法包括:接收用户的用户资料,所述用户资料包括用于确定所述用户的业务类型的预设信息;根据所述预设信息,从预设存储文件中调取基于决策树的风控模型;通过所述基于决策树的风控模型根据所述用户资料进行风控审核。In a second aspect, this application provides a risk control review method based on a decision tree, the method comprising: receiving user data of a user, the user data including preset information used to determine the user's business type; The preset information retrieves a risk control model based on a decision tree from a preset storage file; the risk control review is performed based on the user profile through the risk control model based on the decision tree.
第三方面,本申请还提供了一种基于决策树的风控模型构建装置,包括:显示单元,用于当接收到构建风控模型的预设操作时,通过列表页面显示预先设置的接口编码表、查询结果编码表以及风控结果编码表;其中,所述接口编码表包含多个接口编码,所述查询结果编码表中包含多个查询结果,所述风控结果编码表中包括多个风控结果;第一接收单元,用于通过所述列表页面接收从所述接口编码表中确定目标接口编码、从所述查询结果编码表中确定目标查询结果,以及从所述风控结果编码表中确定目标风控结果的选择指令,得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系;生成单元,用于基于所述对应关系,将所述目标接口编码、所述目标查询结果以及所述目标风控结果分别配置于 预设决策树的节点,生成基于决策树的风控模型。In the third aspect, the present application also provides a decision tree-based risk control model construction device, including: a display unit for displaying the preset interface code through the list page when the preset operation of constructing the risk control model is received Table, query result code table, and risk control result code table; wherein, the interface code table includes multiple interface codes, the query result code table includes multiple query results, and the risk control result code table includes multiple A risk control result; a first receiving unit configured to receive, through the list page, the target interface code determined from the interface code table, the target query result determined from the query result code table, and the risk control result code The selection instruction for determining the target risk control result in the table is used to obtain the corresponding relationship between the target interface code, the target query result, and the target risk control result; The target interface code, the target query result, and the target risk control result are respectively configured at nodes of a preset decision tree to generate a risk control model based on the decision tree.
第四方面,本申请还提供了一种基于决策树的风控审核装置,包括:第二接收单元,用于接收用户的用户资料,所述用户资料包括用于确定所述用户的业务类型的预设信息;调取单元,用于根据所述预设信息,从预设存储文件中调取基于决策树的风控模型;审核单元,用于通过所述基于决策树的风控模型根据所述用户资料进行风控审核。In a fourth aspect, this application also provides a risk control review device based on a decision tree, including: a second receiving unit for receiving user data of a user, and the user data includes information for determining the user's business type Preset information; a retrieval unit for retrieving a risk control model based on a decision tree from a preset storage file according to the preset information; an auditing unit for retrieving a risk control model based on a decision tree based on the decision tree The user information is reviewed for risk control.
第五方面,本申请还提供了一种计算机设备,所述计算机设备包括存储器以及与所述存储器相连的处理器;所述存储器用于存储计算机程序;所述处理器用于运行所述存储器中存储的计算机程序,以实现如下步骤:当接收到构建风控模型的预设操作时,通过列表页面显示预先设置的接口编码表、查询结果编码表以及风控结果编码表;其中,所述接口编码表包含多个接口编码,所述查询结果编码表中包含多个查询结果,所述风控结果编码表中包括多个风控结果;通过所述列表页面接收从所述接口编码表中确定目标接口编码、从所述查询结果编码表中确定目标查询结果,以及从所述风控结果编码表中确定目标风控结果的选择指令,得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系;基于所述对应关系,将所述目标接口编码、所述目标查询结果以及所述目标风控结果分别配置于预设决策树的节点,生成基于决策树的风控模型。In a fifth aspect, the present application also provides a computer device that includes a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the storage in the memory The computer program to achieve the following steps: when receiving the preset operation of constructing the risk control model, display the preset interface code table, the query result code table and the risk control result code table through the list page; wherein, the interface code The table contains multiple interface codes, the query result code table contains multiple query results, and the risk control result code table includes multiple risk control results; the target is determined from the interface code table by receiving through the list page Interface code, determine the target query result from the query result code table, and determine the selection instruction of the target risk control result from the risk control result code table to obtain the target interface code, the target query result, and the The corresponding relationship between the target risk control results; based on the corresponding relationship, the target interface code, the target query result, and the target risk control result are respectively configured at the nodes of the preset decision tree to generate a decision tree-based Risk control model.
第六方面,本申请还提供了一种计算机设备,所述计算机设备包括存储器以及与所述存储器相连的处理器;所述存储器用于存储计算机程序;所述处理器用于运行所述存储器中存储的计算机程序,以实现如下步骤:接收用户的用户资料,所述用户资料包括用于确定所述用户的业务类型的预设信息;根据所述预设信息,从预设存储文件中调取基于决策树的风控模型;通过所述基于决策树的风控模型根据所述用户资料进行风控审核。In a sixth aspect, the present application also provides a computer device, the computer device including a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the memory stored in the memory The computer program to achieve the following steps: receiving user information of the user, the user information including preset information used to determine the type of business of the user; according to the preset information, retrieve from a preset storage file based on A risk control model of the decision tree; the risk control review is performed according to the user data through the risk control model based on the decision tree.
第七方面,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:当接收到构建风控模型的预设操作时,通过列表页面显示预先设置的接口编码表、查询结果编码表以及风控结果编码表;其中,所述接口编码表包含多个接口编码,所述查询结果编码表中包含多个查询结果,所述风控结果编码表中包括多个风控结果;通过所述列表页面接收从所述接口编码表中确定目标接口编码、从所述查询结果编码表中确定目标查询结果,以及从所述风控结果编码表中确定目标风控结果的选择指令,得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系;基于所述对应关系,将所述目标接口编码、所述目标查询结果以及所述目标风控结果分别配置于预设决策树的节点,生成基于决策树的风控模型。In a seventh aspect, the present application also provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a processor, the following steps are implemented: During the preset operation, the preset interface code table, query result code table, and risk control result code table are displayed on the list page; wherein, the interface code table includes multiple interface codes, and the query result code table includes multiple Query results, the risk control result code table includes a plurality of risk control results; receive through the list page the target interface code determined from the interface code table, and the target query result determined from the query result code table, and The selection instruction of the target risk control result is determined from the risk control result code table, and the corresponding relationship between the target interface code, the target query result, and the target risk control result is obtained; based on the corresponding relationship, The target interface code, the target query result, and the target risk control result are respectively configured at nodes of a preset decision tree to generate a risk control model based on the decision tree.
第八方面,本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:接收用户的用户资料,所述用户资料包括用于确定所述用户的业务类型的预设信息;根据所述预设信息,从预设存储文件中调取基于决策树的风控模型;通过所述基于决策树的风控模型根据所述用户资料进行风控审核。In an eighth aspect, the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented: receiving user information from a user, The user profile includes preset information used to determine the user's business type; according to the preset information, a risk control model based on a decision tree is retrieved from a preset storage file; through the risk control model based on a decision tree Conduct a risk control review based on the user profile.
附图说明Description of the drawings
为了更清楚地说明本申请实施例技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the drawings used in the description of the embodiments. Obviously, the drawings in the following description are some embodiments of the present application. Ordinary technicians can obtain other drawings based on these drawings without creative work.
图1为本申请实施例提供的基于决策树的风控模型构建方法的一个流程示意图;FIG. 1 is a schematic flowchart of a method for constructing a risk control model based on a decision tree provided by an embodiment of the application;
图2为本申请实施例提供的基于决策树的风控模型中涉及的三个码表的关系的一个示意图;2 is a schematic diagram of the relationship between three code tables involved in the risk control model based on a decision tree provided by an embodiment of the application;
图3为本申请实施例提供的一个决策树架构示意图;FIG. 3 is a schematic diagram of a decision tree architecture provided by an embodiment of the application;
图4为本申请实施例提供的基于决策树的风控审核方法的一个流程示意图;FIG. 4 is a schematic flowchart of a risk control review method based on a decision tree provided by an embodiment of the application;
图5为本申请实施例提供的另一个决策树架构示意图;FIG. 5 is a schematic diagram of another decision tree architecture provided by an embodiment of this application;
图6为本申请实施例提供的基于决策树的风控审核方法的一个子流程示意图;FIG. 6 is a schematic diagram of a sub-process of a risk control review method based on a decision tree provided by an embodiment of the application;
图7为本申请实施例提供的基于决策树的风控模型构建装置的一个示意性框图;FIG. 7 is a schematic block diagram of a device for constructing a risk control model based on a decision tree provided by an embodiment of the application;
图8为本申请实施例提供的基于决策树的风控审核装置的一个示意性框图;以及FIG. 8 is a schematic block diagram of a risk control review device based on a decision tree provided by an embodiment of the application; and
图9为本申请实施例提供的计算机设备的示意性框图。FIG. 9 is a schematic block diagram of a computer device provided by an embodiment of the application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
请参阅图1至图3。图1为本申请实施例提供的基于决策树的风控模型构建方法的一个示意性流程图,图2为本申请实施例提供的基于决策树的风控模型中涉及的三个码表的关系的一个示意图,图3为本申请实施例提供的一个决策树架构示意图。如图1所示,该方法包括以下步骤S101-S103:Please refer to Figure 1 to Figure 3. FIG. 1 is a schematic flowchart of a method for constructing a risk control model based on a decision tree provided in an embodiment of the application, and FIG. 2 is a relationship between three code tables involved in a risk control model based on a decision tree provided in an embodiment of the application Figure 3 is a schematic diagram of a decision tree architecture provided by an embodiment of the application. As shown in Figure 1, the method includes the following steps S101-S103:
S101、当接收到构建风控模型的预设操作时,通过列表页面显示预先设置的接口编码表、查询结果编码表以及风控结果编码表;其中,所述接口编码表包含多个接口编码,所述查询结果编码表中包含多个查询结果,所述风控结果编码表中包括多个风控结果。S101. When a preset operation for constructing a risk control model is received, display a preset interface code table, query result code table, and risk control result code table through a list page; wherein the interface code table includes multiple interface codes, The query result code table includes multiple query results, and the risk control result code table includes multiple risk control results.
具体地,预先设置接口编码表,所述接口编码表包含多个接口编码,每个所述接口编码对应一个查询结果编码表,每个所述查询结果编码表中包含多个查询结果,每个所述查询结果对应一个风控结果编码表,每个所述风控结果编码表中包括多个风控结果。需要构建风控模型时,风控模型管理人员启动构建风控模型,计算机设备接收风控模型管理人员构建风控模型的预设操作,当接收到构建风控模型的预设操作时,通过列表页面显示预先设置的接口编码表、查询结果编码表以及风控结果编码表。例如,计算机设备接收构建风控模型的操作,根据所述操作,通过列表页面按照预设方式依次显示预先设置的接口编码表、接口编码表中包含的每项接口编码各自所对应的查询结果编码表,以及每个所述查询结果编码表中包含的每项查询结果各自所对应的风控结果编码表。进一步地,对于接口编码表、查询结果编码表以及风控结果编码表三张码表的显示方式可以包括以下两种方式:1)将预先设置的接口编码表、接口编码表中包含的每个接口编码各自所对应的查询结果编码表,以及所述查询结果编码表中包含的每个查询结果各自所对应的风控结果编码表同时显示在列表页面上,以让风控模型管理人员从三个码表中依次进行选择。2)先显示预先设置的接口编码表,根据风控模型管理人员从所述接口编码表中选择的目标接口编码,再显示所述目标接口编码所对应的查询结果码表,根据风控模型管理人员从所述查询结果码表中确定的目标查询结果,再显示目标查询结果所对应的风控结果码表,以使风控模型管理人员根据业务需要自定义所述目标查询结果所对应的目标风控结果。Specifically, an interface code table is preset, the interface code table includes multiple interface codes, each of the interface codes corresponds to a query result code table, and each query result code table contains multiple query results, each The query result corresponds to a risk control result coding table, and each risk control result coding table includes multiple risk control results. When the risk control model needs to be constructed, the risk control model manager starts to build the risk control model, and the computer equipment receives the preset operation of the risk control model manager to construct the risk control model. When the preset operation to construct the risk control model is received, the list is passed The page displays the preset interface code table, query result code table, and risk control result code table. For example, the computer device receives the operation of constructing the risk control model, and according to the operation, displays the preset interface code table and the query result code corresponding to each interface code contained in the interface code table in a preset manner through the list page according to the operation. Table, and a risk control result code table corresponding to each query result contained in each query result code table. Further, the display modes of the three code tables of the interface code table, the query result code table, and the risk control result code table can include the following two ways: 1) The preset interface code table and each of the interface code tables The query result code table corresponding to each interface code, and the risk control result code table corresponding to each query result contained in the query result code table are displayed on the list page at the same time, so that the risk control model managers can learn from three Select one code table one by one. 2) First display the preset interface code table, according to the target interface code selected by the risk control model manager from the interface code table, and then display the query result code table corresponding to the target interface code, and manage according to the risk control model The personnel determines the target query result from the query result code table, and then displays the risk control result code table corresponding to the target query result, so that the risk control model manager can customize the target corresponding to the target query result according to business needs Risk control results.
需要说明的是,对于上述三张码表的显示方式可以根据列表页面的页面设计有多种具体实现形式,不管三张码表的显示顺序及显示方式如何变化,均体现出图2所示的三张码表的关联关系,即三张码表中包含的每个接口编码、每个所述接口编码各自所对应的查询结果码表及每个所述查询结果所对应的风控结果之间的对应关系。It should be noted that the display mode of the above three code tables can be implemented in a variety of specific forms according to the page design of the list page. No matter how the display order and display mode of the three code tables change, they all reflect the display shown in Figure 2. The association relationship of the three code tables, that is, each interface code contained in the three code tables, the query result code table corresponding to each of the interface codes, and the risk control result corresponding to each query result The corresponding relationship.
S102、通过所述列表页面接收从所述接口编码表中确定目标接口编码、从所述目标查询结果编码表中确定目标查询结果,以及从所述风控结果编码表中确定目标风控结果的选择指令,得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系。S102. Receive, through the list page, information about determining a target interface code from the interface code table, determining a target query result from the target query result code table, and determining a target risk control result from the risk control result code table. Select the instruction to obtain the correspondence between the target interface code, the target query result, and the target risk control result.
具体地,风控模型管理人员根据业务需要从接口编码表中选择需要的接口编码以得到目标接口编码,再从每个所述目标接口编码关联的查询结果编码表中选择需要的目标查询结果,最后从每个所述目标查询结果所对应的风控结果编码表中选择每个所述目标查询结果所对应的目标风控结果,计算机设备通过所述列表页面接收风控模型管理人员依次从所述接口编码表中确定目标接口编码、从所述查询结果编码表中确定所述目标接口编码所对应的目标查询结果,以及从所述风控结果编码表中确定所述目标查询结果所对应的目标风控结果的选择指令,根据预先设置的所述目标接口编码、所述目标查询结果及所述目标风控结果之间的关联关系,得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系。请 继续参阅图2,图2中所示的决策树节点2所对应的接口编码2,接口编码2分别对应查询结果1与查询结果2及各自的查询结果,接口编码2还可以被自定义为对应查询结果3及其风控结果,形成了所述目标接口编码、每个所述目标查询结果及每个所述目标查询结果所对应的所述目标风控结果之间的对应关系。其中,接口编码、查询结果及风控结果之间的关联关系,在数据库表的设计中,可以根据一对一、一对多及多对一的映射关系实现,例如,在SQL数据库中,一对多的映射关系实现方法,一般在多的一方的表里面,添加外键。在JAVA中实现一对多的映射关系,可以通过定义类结合数组的方式来实现。在本申请实施例中,接口编码、查询结果及风控结果之间的关联关系,具体可以包括以下两种方式:Specifically, the risk control model manager selects the required interface code from the interface code table according to business needs to obtain the target interface code, and then selects the required target query result from the query result code table associated with each target interface code. Finally, the target risk control result corresponding to each target query result is selected from the risk control result code table corresponding to each target query result, and the computer equipment receives the risk control model management personnel from the list page in turn. The target interface code is determined from the interface code table, the target query result corresponding to the target interface code is determined from the query result code table, and the target query result corresponding to the target query result is determined from the risk control result code table The target risk control result selection instruction is based on the preset target interface code, the target query result and the association relationship between the target risk control result to obtain the target interface code, the target query result, and the target risk control result. The corresponding relationship between the target risk control results. Please continue to refer to Figure 2. The interface code 2 corresponding to node 2 of the decision tree shown in Figure 2 corresponds to query result 1 and query result 2 and their respective query results. Interface code 2 can also be customized as Corresponding to the query result 3 and its risk control result, a corresponding relationship between the target interface code, each target query result, and the target risk control result corresponding to each target query result is formed. Among them, the relationship between interface coding, query results, and risk control results can be implemented based on one-to-one, one-to-many, and many-to-one mapping relationships in the design of database tables. For example, in SQL databases, one For multiple mapping relationships, foreign keys are generally added to the table on the multiple side. The one-to-many mapping relationship in JAVA can be achieved by defining classes and arrays. In the embodiment of the present application, the association relationship between the interface code, the query result, and the risk control result may specifically include the following two ways:
1)接口编码与查询结果之间的映射关系采取一对多的映射关系。2)查询结果与风控结果之间的映射关系可以采取一对一的映射关系,或者采取多对一的映射关系。例如,若所有查询结果各自所对应的风控结果都一样,每一个查询结果对应一个风控结果编码表的一对一的映射关系,会增加风控结果编码表的数量,从而增加数据库的资源重复使用,查询结果与风控结果编码表可以采取多对一的映射关系,即每个查询结果在设置本身对应的风控结果时,去调用同一个风控结果编码表,从而节省风控结果编码表的资源,提高风控结果编码表的使用效率。1) The mapping relationship between the interface code and the query result adopts a one-to-many mapping relationship. 2) The mapping relationship between the query result and the risk control result can be a one-to-one mapping relationship, or a many-to-one mapping relationship. For example, if all query results correspond to the same risk control results, each query result corresponds to a one-to-one mapping relationship of a risk control result code table, which will increase the number of risk control result code tables, thereby increasing database resources For repeated use, the query result and the risk control result code table can adopt a many-to-one mapping relationship, that is, when each query result sets its own corresponding risk control result, the same risk control result code table is called to save the risk control result. The resource of the code table improves the efficiency of the use of the code table of risk control results.
S103、基于所述对应关系,将所述目标接口编码、所述目标查询结果以及所述目标风控结果分别配置于预设决策树的节点,生成基于决策树的风控模型。S103. Based on the corresponding relationship, the target interface code, the target query result, and the target risk control result are respectively configured at nodes of a preset decision tree to generate a risk control model based on the decision tree.
具体地,决策树的每一个节点对应一个接口编码,每一个接口编码关联一个或者多个查询结果,每一个查询结果对应一个风控结果,将每一个所述接口编码所对应的所述对应关系按照预先设置对应于决策树的一个节点以生成基于决策树的风控模型,也即所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系通过所述接口编码与决策树的节点对应关联设置,从而生成基于决策树的风控模型。Specifically, each node of the decision tree corresponds to an interface code, each interface code is associated with one or more query results, each query result corresponds to a risk control result, and the corresponding relationship corresponding to each interface code is A node corresponding to the decision tree is set in advance to generate a risk control model based on the decision tree, that is, the corresponding relationship between the target interface code, the target query result, and the target risk control result is coded through the interface Correspondingly set with the nodes of the decision tree to generate a risk control model based on the decision tree.
本申请实施例基于接口编码表、查询结果编码表及风控结果编码表三张码表的设计,预先建立接口编码表、查询结果编码表及风控结果编码表三张码表,实现基于决策树的风控模型构建时,接收构建风控模型的预设操作,当接收到构建风控模型的预设操作时,通过列表页面显示预先设置的接口编码表、查询结果编码表以及风控结果编码表,通过所述列表页面接收从所述接口编码表中确定目标接口编码、从所述目标查询结果编码表中确定目标查询结果,以及从所述风控结果编码表中确定目标风控结果的选择指令,得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系,将所述接口编码所对应的所述对应关系按照预先设置对应于决策树的节点以生成基于决策树的风控模型,从而实现由风控模型管理人员根据业务类型所对应的业务需求,从三张码表中自定义基于决策树的风控模型中包含的每个节点所对应的目标接口编码、每个所述目标接口编码所对应的若干个目标查询结果及每个所述目标查询结果所对应的目标风控结果,以生成基于决策树的风控模型,实现自定义决策树,一个决策树对应一个最终的风控模型,从而满足风控业务对风控模型的灵活配置需求,能够实现根据不同业务需要支持不同场景下的风控模型的个性化配置。由于配置风控模型及修改风控模型均不需要开发代码,并且在风控模式配置后实时生效,相比传统技术中的可配置化风控系统,由于传统技术中的可配置化的风控系统都是事先定义好一批固定的风控条件,然后做一些简单的选择与组合,因而无法做到很精细的配置,导致风控模型的配置不够灵活,满足不了各种各样的业务场景下对风控模型实现接口级别的精细化配置,所以传统技术中很多特定的业务场景的风控模型还是需要开发代码去实现,每次调整都需要花费很大人力,本申请实施例的基于决策树的风控模型的构建及更新风控模型具备简便性和高效性,因此,提高了风控模型的构建及更新的效率,提高了风控模型构建及更新的时效性。The embodiment of this application is based on the design of three code tables of interface coding table, query result coding table and risk control result coding table. Three code tables of interface coding table, query result coding table and risk control result coding table are established in advance to realize decision-based When the tree's risk control model is constructed, it receives the preset operation of constructing the risk control model. When the preset operation of constructing the risk control model is received, the preset interface code table, query result code table and risk control result are displayed on the list page. A code table is received through the list page to determine a target interface code from the interface code table, determine a target query result from the target query result code table, and determine a target risk control result from the risk control result code table The corresponding relationship between the target interface code, the target query result, and the target risk control result is obtained, and the corresponding relationship corresponding to the interface code is preset to correspond to the node of the decision tree In order to generate a risk control model based on the decision tree, the risk control model manager can customize the corresponding to each node contained in the risk control model based on the decision tree from the three code tables according to the business needs corresponding to the business type. The target interface code of the target interface code, the target query results corresponding to each target interface code, and the target risk control result corresponding to each target query result, to generate a risk control model based on a decision tree to realize custom decision making Tree, a decision tree corresponds to a final risk control model, so as to meet the flexible configuration requirements of the risk control business for the risk control model, and can realize the personalized configuration of the risk control model in different scenarios according to different business needs. Since neither the configuration of the risk control model nor the modification of the risk control model need to develop code, and will take effect in real time after the risk control mode is configured, compared with the configurable risk control system in the traditional technology, due to the configurable risk control in the traditional technology The system defines a batch of fixed risk control conditions in advance, and then makes some simple choices and combinations. Therefore, it is unable to achieve very detailed configuration, resulting in the risk control model configuration is not flexible enough to meet various business scenarios The risk control model implements the refined configuration of the interface level. Therefore, the risk control model of many specific business scenarios in the traditional technology still needs to be developed to realize the risk control model. Each adjustment requires a lot of manpower. The embodiment of this application is based on decision-making The construction and update of the tree's risk control model are simple and efficient. Therefore, the efficiency of the construction and update of the risk control model is improved, and the timeliness of the construction and update of the risk control model is improved.
在一个实施例中,所述通过所述列表页面接收从所述接口编码表中确定目标接口编码、从所述目标查询结果编码表中确定目标查询结果,以及从所述风控结果编码表中确定目标风控结果的选择指令,得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系的步骤包括:接收从所述接口编码表中确定目标接口编码的选择指令以得到目标接 口编码;通过所述列表页面显示所述目标接口编码所关联的查询结果编码表;接收从所述查询结果编码表中确定目标查询结果的选择指令,以得到所述目标接口编码所对应的目标查询结果;通过所述列表页面显示所述目标查询结果所关联的风控结果编码表;接收从所述风控结果编码表中确定目标风控结果的选择指令,以得到所述目标查询结果所对应的目标风控结果;将所述目标接口编码、所述目标查询结果及所述目标风控结果通过预设关联方式进行关联,以得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系。In an embodiment, the receiving through the list page determines the target interface code from the interface code table, determines the target query result from the target query result code table, and receives from the risk control result code table The step of determining the selection instruction of the target risk control result, and obtaining the corresponding relationship between the target interface code, the target query result, and the target risk control result includes: receiving the target interface code determined from the interface code table Select an instruction to obtain a target interface code; display the query result code table associated with the target interface code through the list page; receive a selection instruction for determining a target query result from the query result code table to obtain the target interface The target query result corresponding to the code; display the risk control result code table associated with the target query result through the list page; receive a selection instruction to determine the target risk control result from the risk control result code table to obtain the result The target risk control result corresponding to the target query result; the target interface code, the target query result, and the target risk control result are associated through a preset association method to obtain the target interface code, the target Correspondence between the query result and the target risk control result.
具体地,由风控模型管理人员启动配置风控模型,计算机设备接收到启动配置风控模型的操作,通过列表页面显示预先设置的接口编码表,由风控模型管理人员从接口编码表中选择目标接口编码,计算机设备接收对所述接口编码表中所包含的接口编码的选择以得到目标接口编码,接收到风控模型管理人员选择的目标接口编码后,通过所述列表页面显示每个所述目标接口编码自身所关联的所述查询结果编码表,计算机设备再接收风控模型管理人员对所述查询结果码表中所包含的查询结果的选择,以得到所述目标接口编码所对应的目标查询结果,所述查询结果用于描述用户资料所对应的预设分类,例如年龄接口编码对应对年龄段的划分,计算机设备进一步根据该所述目标查询结果,通过所述列表页面显示所述目标查询结果自身所关联的风控结果编码表,计算机设备再接收对所述风控结果编码表中包含的风控结果的选择,以得到所述目标查询结果所对应的目标风控结果,从而得到由风控模型管理人员选择的目标接口编码、所述目标接口编码所对应的目标查询结果及所述目标查询结果所对应的风控结果之间的对应关系,将所述目标接口编码、所述目标查询结果及所述目标风控结果通过预设关联方式进行关联,例如接口编码表与查询结果之间通过一对多的关联关系,查询结果与风控结果之间采取一对一的关联关系,以得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系。本申请实施例中,通过先后的顺序根据模型管理人员的选择依次显示接口编码表、每个所述目标接口编码所对应的查询结果编码表及每个目标查询结果所对应的风控结果编码表,由风控模型管理人员从三张码表中选择目标接口编码、每个目标接口编码所对应的若干个目标查询结果及每个目标查询结果所对应的目标风控结果,能够使可视化的页面设计具备层次性,构建合理化的页面布局,从而节省页面资源及计算机设备的缓存资源,提高计算机设备的显示效率,尤其在计算机设备多任务运行时,可以提高计算机设备的资源利用率。Specifically, the risk control model manager starts the configuration of the risk control model, and the computer device receives the operation to start the configuration of the risk control model, and the preset interface code table is displayed through the list page, and the risk control model manager selects from the interface code table Target interface code, the computer device receives the selection of the interface code contained in the interface code table to obtain the target interface code, and after receiving the target interface code selected by the risk control model manager, it displays each interface code through the list page. The query result code table associated with the target interface code itself, and the computer equipment then receives the risk control model manager’s selection of the query results contained in the query result code table to obtain the corresponding code of the target interface code. The target query result, the query result is used to describe the preset classification corresponding to the user profile, for example, the age interface code corresponds to the division of age groups, and the computer device further displays the target query result through the list page according to the target query result. The risk control result code table associated with the target query result itself, and the computer device then receives the selection of the risk control result contained in the risk control result code table to obtain the target risk control result corresponding to the target query result, thereby Obtain the corresponding relationship between the target interface code selected by the risk control model manager, the target query result corresponding to the target interface code, and the risk control result corresponding to the target query result, and the target interface code, the target query result The target query result and the target risk control result are related by a preset association method, for example, the interface code table and the query result are through a one-to-many relationship, and the query result and the risk control result adopt a one-to-one association Relationship to obtain the corresponding relationship between the target interface code, the target query result, and the target risk control result. In the embodiment of the application, the interface code table, the query result code table corresponding to each target interface code, and the risk control result code table corresponding to each target query result are displayed in sequence according to the selection of the model manager , The risk control model manager selects the target interface code from the three code tables, several target query results corresponding to each target interface code, and the target risk control result corresponding to each target query result, which can make a visualized page The design is hierarchical and a rational page layout is constructed to save page resources and cache resources of computer equipment, and improve the display efficiency of computer equipment, especially when the computer equipment is multi-tasking, which can improve the resource utilization of computer equipment.
在一个实施例中,所述查询结果编码表中所包含的每个查询结果对应设定一个查询结果编码;所述接收从所述风控结果编码表中确定目标风控结果的选择指令,以得到所述目标查询结果所对应的目标风控结果的步骤包括:获取所述目标查询结果所对应的目标查询结果编码;通过所述列表页面显示所述目标查询结果编码所关联的风控结果编码表;接收从所述风控结果编码表中确定目标风控结果的选择指令,以得到所述目标查询结果编码所对应的目标风控结果,从而得到所述目标查询结果所对应的目标风控结果。In one embodiment, each query result contained in the query result code table is correspondingly set with a query result code; said receiving a selection instruction for determining a target risk control result from the risk control result code table, to The step of obtaining the target risk control result corresponding to the target query result includes: obtaining the target query result code corresponding to the target query result; displaying the risk control result code associated with the target query result code through the list page Table; receiving a selection instruction for determining a target risk control result from the risk control result code table to obtain the target risk control result corresponding to the target query result code, thereby obtaining the target risk control corresponding to the target query result result.
具体地,通过每个所述查询结果在查询结果编码表中设定一个对应的查询结果编码,建立的查询结果编码表就包括查询结果、查询结果所对应的查询结果编码及查询结果判断条件,其中,所述查询结果用于描述所述用户预先指定的资料根据所述资料所满足的预设分类条件所得到的对应分类类别。由于查询结果、查询结果编码及查询结果判断条件可以各自设置,因此,查询结果、查询结果编码及查询结果判断条件具有各自设置的灵活性。例如,请参阅表格1,表格1为年龄控制接口的查询结果码表的一个示例,年龄控制接口的接口编码返回结果为年龄age,可配置为表格1所示的以下几个查询结果,当接收到一个风控审核中的用户资料中包含的用户的年龄信息时,根据用户的年龄结合年龄判断条件,以得到用户的年龄查询结果及年龄查询结果所对应的查询结果编码。进一步地,还可以将表格1中的查询结果根据业务需求进行进一步细分,比如,将查询结果判断条件划分为0-17岁、18-30岁、31-50岁、50岁-65岁及超过65岁等五种条件的划分,相应的查询结果及查询结果编码也对应调整成五种。Specifically, by setting a corresponding query result code in the query result coding table for each query result, the established query result code table includes the query result, the query result code corresponding to the query result, and the query result judgment condition. Wherein, the query result is used to describe the corresponding classification category of the data specified in advance by the user according to the preset classification condition satisfied by the data. Since the query result, the query result code and the query result judgment condition can be set separately, the query result, the query result code and the query result judgment condition have the flexibility of their respective settings. For example, please refer to Table 1. Table 1 is an example of the query result code table of the age control interface. The interface code return result of the age control interface is age, which can be configured as the following query results shown in Table 1. When receiving When it comes to the user's age information contained in the user profile in a risk control review, the age of the user is combined with the age judgment condition to obtain the user's age query result and the query result code corresponding to the age query result. Further, the query results in Table 1 can be further subdivided according to business needs. For example, the query result judgment conditions can be divided into 0-17 years old, 18-30 years old, 31-50 years old, 50-65 years old, and The corresponding query results and query result codes are also adjusted to five types for the classification of five conditions, including those over 65 years old.
表格1Table 1
Figure PCTCN2020111948-appb-000001
Figure PCTCN2020111948-appb-000001
进一步地,通过表格1可知,在本申请实施例中,由于只需要自定义不同的查询结果判断条件,一个接口编码所对应的用户条件控制接口就可以根据自定义的查询结果判断条件返回各种不同的对应查询结果,从而做到同一用户条件控制接口实现不同条件的自定义,对自定义的查询结果判断条件定义的越细致,接口编码所返回的查询结果就越细致,从而越能够实现风控模型的精细化配置。例如,由于年龄控制接口可以返回表格1所示的4种查询结果,还可以根据业务需求将控制年龄控制接口返回上述的5种查询结果,也可以根据业务需求将控制年龄控制接口返回另外设置的3种查询结果,从而实现风控模型管理人员可以在后台系统通过可视化的风控模型配置页面配置实现风控模型的精细化配置,从而提高接口编码返回查询结果的灵活性和准确性,以实现风控模型设置的准确性、灵活性和精细化配置。Furthermore, it can be seen from Table 1 that in this embodiment of the application, since only different query result judgment conditions need to be customized, the user condition control interface corresponding to an interface code can return various query results according to the customized query result judgment conditions. Different corresponding query results, so as to achieve the same user condition control interface to realize the customization of different conditions. The more detailed the definition of the judgment condition of the customized query result, the more detailed the query result returned by the interface code, so that the wind can be realized. The refined configuration of the control model. For example, since the age control interface can return the 4 kinds of query results shown in Table 1, it can also return the 5 kinds of query results mentioned above according to business needs, or return the control age control interface to other settings according to business needs. 3 kinds of query results, so as to realize the risk control model manager can realize the fine configuration of the risk control model through the visual risk control model configuration page configuration in the background system, thereby improving the flexibility and accuracy of the query results returned by the interface code to achieve Accuracy, flexibility and refined configuration of wind control model settings.
进一步地,请参阅表格2,表格2为一个风控结果编码表示例。在表格2中,根据不同业务需求的风控要求,分别建立“通过”与“拒绝”两个大类的风控结果,每个大类的结果中又可以支持配置多个具体的小类结果。其中,风控结果可以根据业务需求自行进行设置,例如可以根据业务需求通过自定义授信额度结合查询结果编码唯一确定一个风控结果,其中,自定义授信额度是指满足预设条件才能取得授信的预设条件所对应的要求,比如,针对年龄条件,年龄未满18周岁对应的风控结果为拒绝,也可以设置为年龄未满22周岁对应的风控结果为拒绝,其中,年龄满18周岁或者年龄满22周岁就是自定义的授信额度,授信额度是根据业务需求自行进行定义的。Further, please refer to Table 2. Table 2 is an example of a risk control result coding table. In Table 2, according to the risk control requirements of different business needs, the risk control results of "pass" and "reject" are established respectively, and the results of each category can support the configuration of multiple specific sub-categories. . Among them, the risk control results can be set according to business needs. For example, a risk control result can be uniquely determined by combining a custom credit line with a query result code according to business needs. Among them, a custom credit line refers to a credit line that meets preset conditions. The requirements corresponding to the preset conditions, for example, for age conditions, the risk control result corresponding to the age under 18 is rejected, or it can be set to the risk control result corresponding to the age under 22 as reject, where the age is over 18 Or 22 years of age or older is a custom credit line, which is self-defined according to business needs.
表格2Form 2
Figure PCTCN2020111948-appb-000002
Figure PCTCN2020111948-appb-000002
请继续参阅表格2,若表格2针对组织机构是电信(校园)卡业务,其业务办理需求允许满18周岁至70周岁以内的客户可以办理,风控结果可选择:1)客户类型为“年龄满18周岁(customer_class002)”,设其风控结果为“通过”。2)客户类型为“年龄超过70周岁(customer_class004)”,设其风控结果为“拒绝”。Please continue to refer to Form 2. If Form 2 is for the telecommunications (campus) card business of the organization, its business processing requirements allow customers aged 18 to 70 years old to apply. The risk control results can be selected: 1) The customer type is "Age" 18 years old (customer_class002)", set the risk control result to "pass". 2) The customer type is "Over 70 years old (customer_class004)", and the risk control result is "Rejected".
本申请实施例,通过每个所述查询结果在所述查询结果编码表中设定一个对应的查询结果编码,所述查询结果所对应的风控结果由所述查询结果所对应的查询结果编码进行关联,计算机设备在获取由风控模型管理人员选择的目标查询结果后,根据所述目标查询结果,获取所述目标查询结果所对应的目标查询结果编码,再通过所述列表页面显示所述目标查询结果编码所关联的风控结果编码表,计算机设备再接收风控模型管理人员对所述风控结果编码表中包含的风控结果的选择,以得到所述目标查询结果编码所对应的目标风控结果,从而得到所述目标查询结果所对应的目标风控结果,针对决策树的多个节点,重复上述一个所述节点所对应的对应关系的生成过程,直至模型管理人员根据业务需求完成对所述风控审核模型的设置,以基于所述决策树生成所述风控审核模型。通过在查询结果与风控结果之间设置一个查询结果编码将查询结果与风控结果进行关联,由于查询结果与风控结果之间没有直接关 联,在修改查询结果或者风控结果时,无需直接对风控结果及查询结果进行代码上的修改,减少了开发模型的工作量,风控模型配置简单明了,降低了复杂风控模型配置出错的概率,并且,降低了风控模型管理人员的使用门槛,使风控模型配置操作尽可能简单高效,提高了风控模型的生成效率,提高了风控模型更新时效性。In this embodiment of the application, a corresponding query result code is set in the query result coding table through each query result, and the risk control result corresponding to the query result is coded by the query result corresponding to the query result For association, after obtaining the target query result selected by the risk control model manager, the computer device obtains the target query result code corresponding to the target query result according to the target query result, and then displays the target query result code through the list page The risk control result code table associated with the target query result code, the computer equipment then receives the risk control model manager’s selection of the risk control results contained in the risk control result code table to obtain the corresponding target query result code The target risk control result, so as to obtain the target risk control result corresponding to the target query result, for multiple nodes of the decision tree, repeat the generation process of the corresponding relationship corresponding to one of the nodes until the model manager according to the business requirements The setting of the risk control review model is completed to generate the risk control review model based on the decision tree. The query result is associated with the risk control result by setting a query result code between the query result and the risk control result. Since there is no direct correlation between the query result and the risk control result, there is no need to directly modify the query result or the risk control result. Modifying the code of the risk control results and query results reduces the workload of the development model. The configuration of the risk control model is simple and clear, which reduces the probability of errors in the configuration of complex risk control models, and reduces the use of risk control model managers. Threshold makes the configuration and operation of the risk control model as simple and efficient as possible, improves the generation efficiency of the risk control model, and improves the timeliness of the update of the risk control model.
请参阅图4,图4为本申请实施例提供的基于决策树的风控审核方法的一个示意性流程图。如图4所示,该方法包括以下步骤S401-S403:Please refer to FIG. 4, which is a schematic flowchart of a risk control review method based on a decision tree provided by an embodiment of the application. As shown in Figure 4, the method includes the following steps S401-S403:
S401、接收用户的用户资料,所述用户资料包括用于确定所述用户的业务类型的预设信息。S401. Receive user data of a user, where the user data includes preset information used to determine a service type of the user.
其中,业务类型指根据业务目标对业务进行分类得到的以不同目标群体为目标对象的业务的类型。例如,风控审核中,有一类风控审核业务是针对大学生群体的,由于大学生群体与工薪群体各方面的条件均不相同,针对大学生群体与工薪群体的各自风控审核是通过不同条件进行的,会对应产生针对大学生群体的风控审核业务类型与针对工薪群体的风控审核业务类型。其中,预设信息包括用户地址、用户年龄、业务名称及身份证号码,预设信息主要用于对用户进行办理的业务类型进行判断和识别。Among them, the business type refers to the type of business with different target groups as the target objects obtained by classifying the business according to the business goal. For example, in the risk control review, there is a type of risk control review business for college students. Since the conditions of the college student group and the salary group are different, the respective risk control reviews for the college student group and the salary group are carried out through different conditions. , Will correspond to the type of risk control review business for college students and the type of risk control review business for salary groups. Among them, the preset information includes the user's address, the user's age, the business name, and the ID number. The preset information is mainly used to judge and identify the type of business handled by the user.
具体地,用户办理需要进行风控审核的业务时,会要求用户通过计算机设备提供用户资料,计算机设备接收进行用户的用户资料,所述用户资料包括用于确定所述用户的业务类型的预设信息,通过预设信息判断用户办理业务的业务类型。例如,用户办理消费分期业务时,需要提供的用户资料包括个人资料及办理的套餐类型,通过所述个人资料及套餐类型等信息确定用户的业务类型。Specifically, when a user handles a business that requires a risk control review, the user will be required to provide user information through a computer device, and the computer device will receive the user information of the user. The user information includes a preset for determining the user’s business type Information, through the preset information to determine the type of business the user handles. For example, when a user handles a consumer installment service, the user information that needs to be provided includes personal information and the type of package processed, and the user's business type is determined by the information such as the personal information and the type of package.
S402、根据所述预设信息,从预设存储文件中调取基于决策树的风控模型。S402: According to the preset information, retrieve the risk control model based on the decision tree from the preset storage file.
其中,决策树,英文为Decision Tree,决策树是一种树形结构,其中每个内部节点表示一个属性,每个节点代表一个分支,每个分支代表一个属性输出,每个节点至少包括一个叶子节点,每个叶子节点代表一种风控结果,所述决策树的节点支持串行与并行关系、与/或关系及多层级等结构。Among them, the decision tree is Decision Tree in English. The decision tree is a tree structure in which each internal node represents an attribute, each node represents a branch, and each branch represents an attribute output, and each node includes at least one leaf Nodes, each leaf node represents a risk control result, and the nodes of the decision tree support serial and parallel relationships, AND/or relationships, and multi-level structures.
具体地,为了实现不同业务场景下,例如由于不同地市及不同的套餐等业务类型需要设置不同风控模型的情形,本申请实施例中的风控模型基于决策树描述,所述风控模型基于上述各个实施例的所述基于决策树的风控模型构建方法所构建。对用户进行风控审核时,根据所述预设信息,从预设存储文件中调取预先构建的与所述预设信息所对应的所述业务类型的基于决策树的风控模型。Specifically, in order to achieve different business scenarios, for example, because different regions and cities, different packages and other business types need to set up different risk control models, the risk control model in this embodiment of the application is based on a decision tree description. The risk control model It is constructed based on the decision tree-based risk control model construction method of each of the foregoing embodiments. When conducting a risk control review on a user, according to the preset information, a pre-built risk control model based on the decision tree of the business type corresponding to the preset information is retrieved from a preset storage file.
进一步地,所述预设信息包括用户地址及目标业务名称。所述根据所述预设信息,从预设存储文件中调取基于决策树的风控模型的步骤包括:根据所述用户地址及所述目标业务名称,从预设存储文件中调取预先与所述用户地址及所述目标业务名称所对应的所述业务类型的基于决策树的风控模型。Further, the preset information includes the user address and the target business name. According to the preset information, the step of retrieving a risk control model based on a decision tree from a preset storage file includes: according to the user address and the target business name, retrieving the pre- and The risk control model based on the decision tree of the business type corresponding to the user address and the target business name.
具体地,由于在风控业务中,会根据不同地区的不同群体设置对应的风控模型,在进行风控审核时,会根据用户地址及用户的目标业务名称进行风控审核。若所述预设信息包括用户地址及目标业务名称,会根据所述用户地址及所述目标业务名称,从预设存储文件中调取预先构建的与所述用户地址及所述目标业务名称所对应的所述业务类型的基于决策树的风控模型。例如,在风控审核业务中,由于不同业务运营商在不同地市开展业务的情况都不一样,一般根据地市及目标群体制定相应的业务类型,因此,可以通过用户地址及目标业务名称等预设信息确定对用户进行风控审核所对应的风控模型,而所述风控模型仅由风控模型管理人员预先在系统后台通过可视化的风控模型配置页面根据不同地市的实际业务需求进行配置即可得到,而无需进行风控模型的代码开发,从而实现简便、灵活且精细化的配置风控模型,以提高风控审核处理的准确性与效率。Specifically, since in the risk control business, corresponding risk control models will be set up according to different groups in different regions, during the risk control review, the risk control review will be conducted according to the user's address and the user's target business name. If the preset information includes the user address and the target business name, it will retrieve the pre-built relationship with the user address and the target business name from the preset storage file according to the user address and the target business name. A risk control model based on a decision tree corresponding to the business type. For example, in the risk control review business, because different business operators have different business conditions in different regions and cities, the corresponding business types are generally formulated according to the regions, cities and target groups. Therefore, the user address and target business name can be pre-defined. It is assumed that the information determines the risk control model corresponding to the user's risk control review, and the risk control model is only carried out by the risk control model manager in the background of the system through the visual risk control model configuration page according to the actual business needs of different cities The configuration can be obtained without the need to develop the code of the risk control model, so as to realize a simple, flexible and refined configuration of the risk control model to improve the accuracy and efficiency of the risk control review process.
S403、通过所述基于决策树的风控模型根据所述用户资料进行风控审核。S403: Perform a risk control review based on the user profile through the risk control model based on the decision tree.
具体地,由于通过决策树(又称为分类树)可以实现对目标的分类,在本申请实施例中,通过决策树可以实现对风控审核目标进行风控审核,以根据所述风控模型获得风控审核的结 果,例如得出“审核通过”与“审核不通过”两个类别的审核结果。进一步地,通过所述基于决策树的风控模型根据所述用户资料进行风控审核,是根据预设的决策树的结构及决策树中的每个节点的风控结果,可以得到用户的风控审核结果。例如,根据所述用户资料,通过每个所述接口编码获取所述风控模型中每个所述接口编码所对应的目标查询结果,根据所述目标查询结果获取所述目标查询结果所对应的目标风控结果,以得到所述接口编码所对应的目标风控结果,从而得到所述风控模型包含的每个节点所对应的目标风控结果,从而根据所述风控模型获得风控审核的结果。Specifically, since the target classification can be achieved through a decision tree (also called a classification tree), in the embodiment of the present application, the risk control review target can be audited through the decision tree, so that the risk control review target can be reviewed according to the risk control model. Obtain the results of the risk control audit, for example, get the audit results of two categories: "approved" and "failed". Further, the risk control review based on the user data through the risk control model based on the decision tree is based on the structure of the preset decision tree and the risk control results of each node in the decision tree, and the user's risk control can be obtained. Control audit results. For example, according to the user profile, the target query result corresponding to each interface code in the risk control model is obtained through each of the interface codes, and the target query result corresponding to the target query result is obtained according to the target query result. The target risk control result to obtain the target risk control result corresponding to the interface code, so as to obtain the target risk control result corresponding to each node included in the risk control model, so as to obtain a risk control review according to the risk control model the result of.
更进一步地,决策树的结构及节点之间的关系可以根据业务需要进行设置,例如,决策树的节点之间可以包括“与”关系及“或”关系,“与”关系用于描述所述风控模型需要同时满足两个节点的风控结果均为“通过”,“或”关系用于描述所述风控模型需要满足两个节点中的风控结果中至少一个为“通过”。以基于决策树的风控模型中包含的节点之间包括“与”关系及“或”关系为例,所述根据所述风控模型获得风控审核的结果的步骤包括:判断所述风控模型中为“与”关系的节点所对应的所述接口编码所对应的所述风控结果是否均为“通过”;若所述风控模型中为“与”关系的节点所对应的所述接口编码所对应的所述风控结果均为“通过”,判定所述用户的风控审核通过;若所述风控模型中为“与”关系的节点所对应的所述接口编码所对应的所述风控结果未均为“通过”,判定所述用户的风控审核未通过。例如基于决策树的风控模型中,所述决策树包括多个节点,多个所述节点之间可以为“与”关系或者“或”关系等,请继续参阅图3,如图3所示,图3所示的风控模型所对应的决策树里面包含节点:A、A1、A2、A3、A11、A12、A31及A32,每个节点代表一个接口编码,这些节点之间可以为“与”或者“或”关系,节点之间是“与”关系,表示需要同时满足两个节点的条件,节点之间是“或”关系,表示满足两个节点中的一个节点的条件即可,可以通过节点之间的“与”关系或者“或”关系,以及每个节点所对应的风控结果,得到该决策树的结果,从而得到风控审核的结果。Furthermore, the structure of the decision tree and the relationship between the nodes can be set according to business needs. For example, the nodes of the decision tree can include an "and" relationship and an "or" relationship, and the "and" relationship is used to describe the The risk control model needs to satisfy that the risk control results of two nodes are both "passed", and the "or" relationship is used to describe that the risk control model needs to satisfy that at least one of the risk control results of the two nodes is "passed". Taking the decision tree-based risk control model including the "and" relationship and the "or" relationship between the nodes as an example, the step of obtaining the result of the risk control review according to the risk control model includes: judging the risk control Whether the risk control results corresponding to the interface codes corresponding to the nodes in the "and" relationship in the model are all "passed"; if the risk control model corresponds to the nodes in the "and" relationship The risk control results corresponding to the interface code are all "passed", and it is determined that the user's risk control review is passed; if the risk control model in the risk control model corresponds to the interface code corresponding to the node in the "and" relationship If the risk control results are not all "passed", it is determined that the user's risk control review has not passed. For example, in a risk control model based on a decision tree, the decision tree includes multiple nodes, and the multiple nodes may have an "and" relationship or an "or" relationship, etc., please continue to refer to Figure 3, as shown in Figure 3 , The decision tree corresponding to the risk control model shown in Figure 3 contains nodes: A, A1, A2, A3, A11, A12, A31, and A32. Each node represents an interface code. These nodes can be "and "Or" relationship, the relationship between nodes is "and", which means that the conditions of two nodes need to be met at the same time, and the relationship between nodes is "or", which means that the condition of one of the two nodes is satisfied. Through the "and" relationship or "or" relationship between nodes, and the risk control result corresponding to each node, the result of the decision tree is obtained, and the result of the risk control review is thus obtained.
本申请实施例实现基于决策树的风控审核时,通过上述各个实施例中的所述基于决策树的风控模型构建方法构建的风控模型,由于风控模型可以做到接口级别的精细化自定义配置,从而每一次风控模型的构建及更新都能针对实际业务的需求,并且风控模型配置后即时生效,能够使风控模型与风控审核业务实现精细化的高效率匹配,提高风控审核处理的效率和准确性。When the embodiment of this application implements decision tree-based risk control review, the risk control model constructed by the decision tree-based risk control model construction method in each of the above embodiments, because the risk control model can be refined at the interface level Customize the configuration, so that every construction and update of the risk control model can be tailored to the actual business needs, and the risk control model will take effect immediately after configuration, enabling the risk control model to match the risk control review business in a refined and efficient manner, and improve The efficiency and accuracy of the risk control review process.
在一个实施例中,查询结果编码表中所包含的每个查询结果对应设定一个查询结果编码;所述通过所述基于决策树的风控模型根据所述用户资料进行风控审核的步骤包括:根据所述用户资料,通过所述风控模型中包含的每个节点所对应的接口编码获取每个所述接口编码各自所对应的目标查询结果;根据每个所述目标查询结果,获取每个所述目标查询结果各自所对应的目标查询结果编码;根据每个所述目标查询结果编码,获取每个所述目标查询结果编码各自所对应的目标风控结果,以得到每个所述节点各自所对应的风控结果;根据每个所述节点各自所对应的风控结果,通过所述基于决策树的风控模型对所述用户进行风控审核。In one embodiment, each query result contained in the query result coding table is correspondingly set with a query result code; the step of performing risk control review according to the user data through the decision tree-based risk control model includes : According to the user profile, the target query result corresponding to each interface code is obtained through the interface code corresponding to each node included in the risk control model; each target query result is obtained according to each target query result. The target query result code corresponding to each of the target query results; according to each target query result code, the target risk control result corresponding to each target query result code is obtained to obtain each node Each corresponding risk control result; according to the risk control result corresponding to each node, the risk control audit of the user is performed through the risk control model based on the decision tree.
具体地,计算机设备根据用户资料中的预设信息,调取与所述预设信息所对应的业务类型的风控模型,将接收到的用户资料与所述基于决策树的风控模型的各个节点进行匹配,例如,用户的年龄信息通过风控模型中的年龄接口编码所对应的节点与接口编码进行匹配,用户的收入信息通过风控模型中的收入接口编码所对应的节点与接口编码进行匹配等,通过每个所述接口编码获取所述风控模型中每个所述接口编码所对应的目标查询结果,根据每个所述目标查询结果,获取每个所述目标查询结果各自所对应的目标查询结果编码,根据每个所述目标查询结果编码,获取每个所述目标查询结果编码各自所对应的目标风控结果,以得到每个所述节点各自所对应的风控结果,根据每个所述节点各自所对应的风控结果,结合决策树的树结构对所述用户进行风控审核。Specifically, the computer device retrieves the risk control model of the business type corresponding to the preset information according to the preset information in the user profile, and compares the received user profile with each of the risk control model based on the decision tree. Nodes are matched. For example, the user’s age information is matched with the interface code through the node corresponding to the age interface code in the risk control model, and the user’s income information is matched through the node and interface code corresponding to the income interface code in the risk control model. Matching, etc., obtain the target query result corresponding to each of the interface codes in the risk control model through each of the interface codes, and obtain the corresponding corresponding to each target query result according to each of the target query results According to the target query result code of each target query result code, the target risk control result corresponding to each target query result code is obtained to obtain the risk control result corresponding to each node, according to The risk control result corresponding to each node is combined with the tree structure of the decision tree to conduct a risk control review on the user.
在一个实施例中,所述获取每个所述目标查询结果编码各自所对应的目标风控结果的步骤之前,还包括:通过预查询方式对所述风控模型中所包含的所述节点所对应的风控结果进 行预查询。In one embodiment, before the step of obtaining the target risk control result corresponding to each of the target query result codes, the method further includes: pre-querying the node information contained in the risk control model. Pre-query the corresponding risk control results.
其中,预查询是指预先查询征信风控接口的风控结果,所述预查询方式包括按照征信风控接口的接口类型进行预查询、按照征信风控接口的接口查询耗时进行预查询以及将上述两种方式结合起来对风控模型中涉及的征信风控接口进行预查询。Among them, pre-query refers to pre-query the risk control results of the credit reporting and risk control interface. The pre-query method includes pre-query according to the interface type of the credit reporting and risk control interface, and time-consuming pre-query according to the interface query of the credit reporting and risk control interface. Query and combine the above two methods to pre-query the credit information and risk control interface involved in the risk control model.
具体地,通过对所述风控模型中包含的节点所对应的接口编码的风控结果进行预查询,可以缩短风控审核系统的响应时间,提高计算机设备处理风控审核的效率。Specifically, by pre-querying the risk control results of the interface codes corresponding to the nodes included in the risk control model, the response time of the risk control review system can be shortened, and the efficiency of the computer equipment in processing the risk control review can be improved.
进一步地,以按照征信风控接口的接口类型进行预查询为例,在一个实施例中,所述接口编码包括多个,每个所述接口编码对应一个征信风控查询接口,所述决策树包括多个层级,所述通过预查询方式对所述风控模型中所包含的所述节点所对应的风控结果进行预查询的步骤包括:在风控审核初始化时,对第一类征信风控查询接口进行并发查询,并将所述第一类征信风控查询接口所对应的各个查询结果存储在缓存中,所述第一类征信风控查询接口包括免费征信风控查询接口及费用包时的征信风控查询接口;根据执行的所述决策树的节点所属的当前层级,预先请求所述当前层级以下第一预设层数内包含的子节点所对应的第二类征信风控查询接口各自的查询结果,并将所述第二类征信风控查询接口各自的查询结果存储在所述缓存中以供后续所述决策树调用,所述第二类征信风控查询接口包括每次查询进行计费的查询接口。Further, taking the pre-query according to the interface type of the credit information and risk control interface as an example, in one embodiment, the interface code includes multiple, and each of the interface codes corresponds to a credit information and risk control query interface. The decision tree includes multiple levels, and the step of pre-querying the risk control results corresponding to the nodes included in the risk control model by pre-querying The credit information and risk control query interface performs concurrent queries, and each query result corresponding to the first type of credit information and risk control query interface is stored in the cache. The first type of credit and risk control query interface includes free credit information. According to the current level to which the node of the decision tree belongs, according to the current level to which the node of the executed decision tree belongs, request in advance for the child nodes included in the first preset level below the current level The respective query results of the second type of credit information and risk control query interface are stored in the cache for subsequent use by the decision tree, and the second type of credit and risk control query interface The credit report and risk control query interface includes a query interface for charging for each query.
具体地,在风控审核中,为了更精准的识别客户的风险,一般情况下需要从多个征信数据源获取用户数据来进行建立风控模型,比如第三方身份核查接口、黑名单接口、多头借贷接口、信用分查询接口等接口,由于涉及从多个第三方接口获取核查结果,导致风控审核耗时也越来越长。为了在多数据源的情况下保证风控审核效率,可以将多数据源的风控审核数据通过以下步骤分开进行处理:Specifically, in the risk control review, in order to more accurately identify the risks of customers, it is generally necessary to obtain user data from multiple credit data sources to establish a risk control model, such as a third-party identity verification interface, a blacklist interface, Interfaces such as the multi-head lending interface and the credit score query interface involve obtaining verification results from multiple third-party interfaces, leading to more and more time-consuming risk control reviews. In order to ensure the efficiency of risk control review in the case of multiple data sources, the risk control review data of multiple data sources can be processed separately through the following steps:
1)在风控审核初始化时,对第一类征信风控查询接口进行并发查询,并将所述第一类征信风控查询接口所对应的各个查询结果存储在缓存中,所述第一类征信风控查询接口包括免费征信风控查询接口及费用包时的征信风控查询接口。2)根据执行的所述决策树的节点所属的当前层级,预先请求所述当前层级以下第一预设层数的子节点所对应的第二类征信风控查询接口各自的查询结果,并将所述第二类征信风控查询接口各自的查询结果存储在所述缓存中以供后续所述决策树调用,所述第二类征信风控查询接口包括每次查询进行计费的查询接口。1) When the risk control review is initialized, perform concurrent queries on the first type of credit information and risk control query interface, and store each query result corresponding to the first type of credit information and risk control query interface in the cache. The first type of credit information and risk control query interface includes the free credit information and risk control query interface and the credit information and risk control query interface for fee packages. 2) According to the current level to which the node of the executed decision tree belongs, request in advance the respective query results of the second type of credit information and risk control query interface corresponding to the first preset number of sub-nodes below the current level, and The respective query results of the second type of credit information and risk control query interface are stored in the cache for subsequent call by the decision tree, and the second type of credit information and risk control query interface includes billing for each query Query interface.
由于风控模型运行中最占用时间的是外部数据接口查询的等待时间,并且外部数据查询是收取费用的,不能在一开始就对所有的接口都进行查询,否则对于风控审核不通过用户存在查询浪费。所以可以采取以下两步骤分开查询,例如,1)用户在信审初始化的时候,将所有免费的接口及费用包时的接口,例如费用包年的接口,进行并发查询,并存在Redis缓存等缓存中,供后续决策树调用。2)针对收费的接口,根据当前决策树执行的层级,预先请求所述当前层级以下第一预设层数,例如所述当前层级下两层子节点的接口数据,并存在Redis缓存等缓存中,供后续决策树调用。请参阅图5,图5为本申请实施例提供的基于决策树的风控审核方法中的另一个决策树架构示意图。如图5所示,若当前执行A判断,可以提前查询B1、B2、C1、C2、C3及C4等六个接口的数据,若通过A判断能得到风控结果,无需再查询D1、D2、D3、D4、D5、D6、D7及D8等八个接口的数据,尤其D1-D8接口中包含需要收费的接口时,可以避免查询浪费,同时缩短了信贷审核系统的响应时间;若当前执行B2判断,需要提前查询C3、C4、D5、D6、D7及D8等六个接口的数据,若通过B2判断能得到风控结果,无需再查询D5至D8层级后的节点所对应的接口的数据,尤其D5-D8后续的接口中包含需要收费的接口时,可以避免查询浪费,也可以缩短风控审核系统的响应时间。其中,图4中各自包含的三层节点之间的三个逻辑为“或”的关系。Since the most time-consuming operation of the risk control model is the waiting time for external data interface query, and external data query is charged, it is not possible to query all interfaces at the beginning, otherwise there will be users who fail to pass the risk control review Query waste. So you can take the following two steps to query separately. For example, 1) When the user initializes the letter review, he will perform concurrent queries on all the free interfaces and the interface of the fee package, such as the interface of the fee package, and store the Redis cache and other caches. In, for subsequent decision tree calls. 2) For charging interfaces, according to the current decision tree execution level, request in advance the first preset number of layers below the current level, for example, the interface data of the two sub-nodes below the current level, and store it in the Redis cache and other caches , For the subsequent decision tree to call. Please refer to FIG. 5. FIG. 5 is a schematic diagram of another decision tree architecture in the decision tree-based risk control review method provided by an embodiment of the application. As shown in Figure 5, if judgment A is currently being executed, the data of six interfaces B1, B2, C1, C2, C3, and C4 can be queried in advance. If the risk control result can be obtained by judgment A, there is no need to query D1, D2 The data of eight interfaces such as D3, D4, D5, D6, D7 and D8, especially when D1-D8 interfaces include interfaces that need to be charged, it can avoid query waste and shorten the response time of the credit review system; if B2 is currently implemented To judge, it is necessary to query the data of six interfaces such as C3, C4, D5, D6, D7 and D8 in advance. If the risk control result can be obtained through the B2 judgment, there is no need to query the data of the interface corresponding to the node after the D5 to D8 level. Especially when the subsequent interfaces of D5-D8 include interfaces that need to be charged, query waste can be avoided, and the response time of the risk control audit system can also be shortened. Among them, the three logics between the three-level nodes contained in each of Figure 4 are "or" relationships.
本申请实施例通过上述风控审核中征信风控接口的预查询机制,在征信查询费用可控范围内,通过缩短信贷审核系统的响应时间,提高了计算机设备处理信贷审核的性能,提高了信贷审核的效率。The embodiment of this application uses the pre-query mechanism of the credit investigation and risk control interface in the above-mentioned risk control review, within the controllable range of the credit inquiry fee, by shortening the response time of the credit review system, and improving the performance of the computer equipment in processing the credit review. Improve the efficiency of credit review.
进一步地,以按照征信风控接口的接口查询耗时进行预查询为例,请参阅图6,图6为本申请实施例提供的基于决策树的风控审核方法的一个子流程示意图。如图6所示,在图6所示子流程所对应的实施例中,所述决策树包括多个层级,所述通过预查询方式对所述风控模型中所包含的所述节点所对应的风控结果进行预查询的步骤包括:S601、根据各个征信风控查询接口进行查询的查询耗时的历史数据,统计前预设时间周期内各个所述征信风控查询接口的查询耗时数据;S602、将所述查询耗时数据按照预设顺序进行排序,以获取根据所述查询耗时按照由高到底的顺序得到的预设数量的所述征信风控查询接口,形成征信风控查询接口集;S603、判断所述决策树执行节点所属的当前层级以下第二预设层数内包含的子节点所对应的查询接口中是否包含所述征信风控查询接口集中的征信风控查询接口;S604、若所述决策树执行节点所属的当前层级以下所述第二预设层数内包含的子节点所对应的所述查询接口中包含所述征信风控查询接口集中的征信风控查询接口,调用所述征信风控查询接口集中的征信风控查询接口,并将所述征信风控查询接口集中的查询接口所对应的查询结果存储在缓存中以供后续所述决策树进行调用;S605、若所述决策树执行节点所属的当前层级以下所述第二预设层数内包含的子节点所对应的所述查询接口中未包含所述征信风控查询接口集中的征信风控查询接口,不调用所述征信风控查询接口集中的征信风控查询接口。Further, taking the time-consuming pre-query according to the interface query of the credit information risk control interface as an example, please refer to FIG. 6. FIG. 6 is a schematic diagram of a sub-process of the risk control review method based on a decision tree provided by an embodiment of the application. As shown in FIG. 6, in the embodiment corresponding to the sub-process shown in FIG. 6, the decision tree includes multiple levels, and the nodes included in the risk control model are corresponding to the nodes included in the risk control model through a pre-query. The steps of pre-querying the results of risk control include: S601. The query time-consuming historical data for querying according to each credit information and risk control query interface is calculated, and the query consumption of each of the credit information and risk control query interfaces in the preset time period is counted. Time data; S602. Sort the query time-consuming data in a preset order to obtain a preset number of the credit information and risk control query interfaces obtained according to the query time-consuming order in descending order, to form a query interface Information and risk control query interface set; S603. Determine whether the query interface corresponding to the child node contained in the second preset number below the current level to which the decision tree execution node belongs includes the information and risk control query interface set Credit information and risk control query interface; S604. If the query interface corresponding to the child nodes included in the second preset number below the current level to which the decision tree execution node belongs includes the credit information and risk control query The credit information and risk control query interface in the centralized interface calls the credit information and risk control query interface in the credit information and risk control query interface set, and stores the query results corresponding to the query interface in the credit and risk control query interface set in the cache S605, if the current level to which the decision tree execution node belongs, the query interface corresponding to the child node included in the second preset number of levels below does not include the The credit information and risk control query interface in the centralized credit information and risk control query interface does not call the credit information and risk control query interface in the centralized credit and risk control query interface.
具体地,针对风控审核中,需要从多个征信数据源获取用户数据来进行建立风控模型的情形,可以根据各个征信风控查询接口进行查询的查询耗时的历史数据,统计前预设时间周期内各个所述征信风控查询接口的查询耗时数据,将所述查询耗时数据按照预设顺序进行排序,以获取根据所述查询耗时按照由高到底的顺序得到的预设数量的所述征信风控查询接口以形成征信风控查询接口集,判断所述决策树执行节点所属的当前层级以下第二预设层数内包含的子节点所对应的查询接口中是否包含所述征信风控查询接口集中的征信风控查询接口,若所述决策树执行节点所属的当前层级以下所述第二预设层数内包含的子节点所对应的所述查询接口中包含所述征信风控查询接口集中的征信风控查询接口,调用所述征信风控查询接口集中的征信风控查询接口,并将所述征信风控查询接口集中的查询接口所对应的查询结果存储在缓存中以供后续所述决策树进行调用,若所述决策树执行节点所属的当前层级以下所述第二预设层数内包含的子节点所对应的所述查询接口中未包含所述征信风控查询接口集中的征信风控查询接口,不调用所述征信风控查询接口集中的征信风控查询接口。例如根据历史前一个小时内的各接口查询耗时监控,统计出最耗时的接口,若下五层子节点内出现这个接口,则提前调用并存在Redis缓存等缓存中,供后续决策树调用,从而提高查询效率,可以缩短信贷审核系统的响应时间,提高计算机设备处理信贷审核的性能,以提高信贷审核的效率。Specifically, in a risk control review, user data needs to be obtained from multiple credit reporting data sources to build a risk control model. The query time-consuming historical data can be queried according to the various credit reporting and risk control query interfaces, before statistics The query time-consuming data of each of the credit investigation risk control query interfaces within a preset time period is sorted in a preset order to obtain the query time-consuming data in descending order according to the query time A preset number of the credit information and risk control query interfaces are formed to form a credit information and risk control query interface set, and the query interfaces corresponding to the child nodes included in the second preset number below the current level to which the decision tree execution node belongs are determined Whether it contains the credit information and risk control query interface in the credit information and risk control query interface set, if the current level to which the decision tree execution node belongs, the sub-nodes included in the second preset number of levels below correspond to the The query interface includes the credit report and risk control query interface in the credit report and risk control query interface collection, calls the credit report and risk control query interface in the credit report and risk control query interface collection, and centralizes the credit report and risk control query interface The query result corresponding to the query interface of the query interface is stored in the cache for the subsequent call of the decision tree. If the current level to which the decision tree execution node belongs corresponds to the child node contained in the second preset level The query interface does not include the credit information and risk control query interface in the credit information and risk control query interface set, and does not call the credit information and risk control query interface in the credit information and risk control query interface set. For example, according to the time-consuming monitoring of each interface in the previous hour in the history, the most time-consuming interface is counted. If this interface appears in the lower five sub-nodes, it will be called in advance and stored in the Redis cache and other caches for subsequent decision tree calls. , So as to improve query efficiency, can shorten the response time of the credit review system, improve the performance of computer equipment to process credit review, so as to improve the efficiency of credit review.
更进一步地,在一个实施例中,将按照征信风控接口的接口类型进行预查询与按照征信风控接口的接口查询耗时进行预查询两种方式结合起来对风控模型中涉及的征信风控接口进行预查询。Furthermore, in one embodiment, the pre-query according to the interface type of the credit reporting risk control interface and the time-consuming pre-query according to the interface query of the credit reporting risk control interface are combined to compare the risks involved in the risk control model. Pre-query through the credit report and risk control interface.
具体地,可以先按照征信风控接口的接口类型进行预查询,再按照征信风控接口的接口查询耗时进行预查询,也可以先按照征信风控接口的接口查询耗时进行预查询,再按照征信风控接口的接口类型进行预查询。请继续参阅图5,可以先按照征信风控接口的接口类型进行预查询,即在当前执行A判断,再提前查询B1、B2、C1、C2、C3及C4六个接口的数据,再对上述六个接口的数据进行查询时,若经统计C2查询耗时最长,再按照征信风控接口的接口查询耗时进行预查询先对C2进行查询,再查询B1、B2、C1、C3及C4五个接口的数据,以实现将上述两种方式结合。也可以若经统计C2查询耗时最长,可以按照征信风控接口的接口查询耗时进行预查询先对C2进行查询,再结合按照征信风控接口的接口类型进行预查询,即再在当前执行A判断,再提前查询B1、B2、C1、C3及C4五个接口的数据,以实现将上述两种方式结合。Specifically, the pre-query can be performed according to the interface type of the credit reporting and risk control interface, and then the time-consuming pre-query can be performed according to the interface query of the credit reporting and risk control interface, or the pre-query can be performed first according to the interface query of the credit reporting and risk control interface. Query, and then pre-query according to the interface type of the credit information risk control interface. Please continue to refer to Figure 5. You can pre-query according to the interface type of the credit information risk control interface, that is, perform A judgment at the current time, and then query the data of the six interfaces B1, B2, C1, C2, C3 and C4 in advance, and then When querying the data of the above six interfaces, if the C2 query takes the longest time according to the statistics, then perform the pre-query according to the interface query of the credit risk control interface. First query C2, and then query B1, B2, C1, C3 And C4 five interface data, in order to realize the combination of the above two methods. Alternatively, if the C2 query takes the longest time according to the statistics, the pre-query can be performed according to the interface query time-consuming of the credit information risk control interface. In the current execution of A judgment, the data of the five interfaces B1, B2, C1, C3 and C4 are then queried in advance to realize the combination of the above two methods.
需要说明的是,上述各个实施例所描述的基于决策树的风控模型构建方法及基于决策树的风控审核方法中,可以根据需要将不同实施例中包含的技术特征重新进行组合,以获取组 合后的实施方案,但都在本申请要求的保护范围之内。It should be noted that in the decision tree-based risk control model construction method and the decision tree-based risk control review method described in the above embodiments, the technical features included in the different embodiments can be recombined as needed to obtain The combined implementation schemes are all within the scope of protection required by this application.
请参阅图7,图7为本申请实施例提供的基于决策树的风控模型构建装置的示意性框图。对应于上述基于决策树的风控模型构建方法,本申请实施例还提供一种基于决策树的风控模型构建装置。如图7所示,该基于决策树的风控模型构建装置包括用于执行上述基于决策树的风控模型构建方法的单元,该装置可以被配置于服务器等计算机设备中。具体地,请参阅图7,该基于决策树的风控模型构建装置700包括显示单元701、第一接收单元702及生成单元703。Please refer to FIG. 7, which is a schematic block diagram of a device for constructing a risk control model based on a decision tree provided by an embodiment of the application. Corresponding to the above-mentioned method for building a risk control model based on a decision tree, an embodiment of the present application also provides a device for building a risk control model based on a decision tree. As shown in FIG. 7, the decision tree-based risk control model construction device includes a unit for executing the above-mentioned decision tree-based risk control model construction method, and the device can be configured in a computer device such as a server. Specifically, referring to FIG. 7, the device 700 for constructing a risk control model based on a decision tree includes a display unit 701, a first receiving unit 702 and a generating unit 703.
其中,显示单元701,用于当接收到构建风控模型的预设操作时,通过列表页面显示预先设置的接口编码表、查询结果编码表以及风控结果编码表;其中,所述接口编码表包含多个接口编码,所述查询结果编码表中包含多个查询结果,所述风控结果编码表中包括多个风控结果;第一接收单元702,用于通过所述列表页面接收从所述接口编码表中确定目标接口编码、从所述查询结果编码表中确定目标查询结果,以及从所述风控结果编码表中确定目标风控结果的选择指令,得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系;生成单元703,用于基于所述对应关系,将所述目标接口编码、所述目标查询结果以及所述目标风控结果分别配置于预设决策树的节点,生成基于决策树的风控模型。Wherein, the display unit 701 is configured to display the preset interface code table, query result code table, and risk control result code table through the list page when the preset operation of constructing the risk control model is received; wherein, the interface code table Contains multiple interface codes, the query result code table contains multiple query results, and the risk control result code table includes multiple risk control results; the first receiving unit 702 is configured to receive data from all sources through the list page. The target interface code is determined in the interface code table, the target query result is determined from the query result code table, and the selection instruction of the target risk control result is determined from the risk control result code table to obtain the target interface code, The corresponding relationship between the target query result and the target risk control result; a generating unit 703, configured to configure the target interface code, the target query result, and the target risk control result separately based on the corresponding relationship At the nodes of the preset decision tree, a risk control model based on the decision tree is generated.
在一个实施例中,所述第一接收单元702包括:第一接收子单元,用于接收从所述接口编码表中确定目标接口编码的选择指令以得到目标接口编码;第一显示子单元,用于通过所述列表页面显示所述目标接口编码所关联的查询结果编码表;第二接收子单元,用于接收从所述查询结果编码表中确定目标查询结果的选择指令,以得到所述目标接口编码所对应的目标查询结果;第二显示子单元,用于通过所述列表页面显示所述目标查询结果所关联的风控结果编码表;第三接收子单元,用于接收从所述风控结果编码表中确定目标风控结果的选择指令,以得到所述目标查询结果所对应的目标风控结果;关联子单元,用于将所述目标接口编码、所述目标查询结果及所述目标风控结果通过预设关联方式进行关联,以得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系。In one embodiment, the first receiving unit 702 includes: a first receiving subunit, configured to receive a selection instruction for determining a target interface code from the interface code table to obtain the target interface code; a first display subunit, It is used to display the query result code table associated with the target interface code through the list page; the second receiving subunit is used to receive a selection instruction for determining the target query result from the query result code table to obtain the The target query result corresponding to the target interface code; the second display sub-unit is used to display the risk control result code table associated with the target query result through the list page; the third receiving sub-unit is used to receive from the The selection instruction for determining the target risk control result in the risk control result coding table to obtain the target risk control result corresponding to the target query result; the correlation subunit is used to encode the target interface code, the target query result and all The target risk control results are associated through a preset association method to obtain the corresponding relationship between the target interface code, the target query result, and the target risk control result.
在一个实施例中,所述查询结果编码表中所包含的每个查询结果对应设定一个查询结果编码;所述第三接收子单元包括:获取子单元,用于获取所述目标查询结果所对应的目标查询结果编码;第三显示子单元,用于通过所述列表页面显示所述目标查询结果编码所关联的风控结果编码表;第四接收子单元,用于接收从所述风控结果编码表中确定目标风控结果的选择指令,以得到所述目标查询结果编码所对应的目标风控结果,从而得到所述目标查询结果所对应的目标风控结果。In one embodiment, each query result contained in the query result code table corresponds to a query result code; the third receiving subunit includes: an obtaining subunit for obtaining the target query result The corresponding target query result code; the third display subunit is used to display the risk control result code table associated with the target query result code through the list page; the fourth receiving subunit is used to receive data from the risk control The selection instruction of the target risk control result is determined in the result code table to obtain the target risk control result corresponding to the target query result code, so as to obtain the target risk control result corresponding to the target query result.
请参阅图8,图8为本申请实施例提供的基于决策树的风控审核装置的示意性框图。对应于上述基于决策树的风控审核方法,本申请实施例还提供一种基于决策树的风控审核装置。如图8所示,该基于决策树的风控审核装置包括用于执行上述基于决策树的风控审核方法的单元,该装置可以被配置于终端等计算机设备中。具体地,请参阅图8,该基于决策树的风控审核装置800包括第二接收单元801、调取单元802及审核单元803。Please refer to FIG. 8, which is a schematic block diagram of a risk control review device based on a decision tree provided by an embodiment of the application. Corresponding to the above-mentioned risk control review method based on the decision tree, an embodiment of the present application also provides a risk control review device based on the decision tree. As shown in FIG. 8, the decision tree-based risk control review device includes a unit for executing the above-mentioned decision tree-based risk control review method, and the device can be configured in a computer device such as a terminal. Specifically, referring to FIG. 8, the risk control review device 800 based on a decision tree includes a second receiving unit 801, a retrieval unit 802 and a review unit 803.
其中,第二接收单元801,用于接收用户的用户资料,所述用户资料包括用于确定所述用户的业务类型的预设信息;调取单元802,用于根据所述预设信息,从预设存储文件中调取基于决策树的风控模型;审核单元803,用于通过所述基于决策树的风控模型根据所述用户资料进行风控审核。Wherein, the second receiving unit 801 is configured to receive user data of the user, and the user data includes preset information used to determine the service type of the user; the calling unit 802 is configured to obtain information from A risk control model based on a decision tree is retrieved from a preset storage file; the review unit 803 is configured to conduct a risk control review based on the user profile through the risk control model based on the decision tree.
在一个实施例中,查询结果编码表中所包含的每个查询结果对应设定一个查询结果编码;所述审核单元803包括:第一获取子单元,用于根据所述用户资料,通过所述风控模型中包含的每个节点所对应的接口编码获取每个所述接口编码各自所对应的目标查询结果;第二获取子单元,用于根据每个所述目标查询结果,获取每个所述目标查询结果各自所对应的目标查询结果编码;审核子单元,用于根据每个所述节点各自所对应的风控结果,通过所述基于决策树的风控模型对所述用户进行风控审核。In one embodiment, each query result contained in the query result code table is correspondingly set with a query result code; the review unit 803 includes: a first obtaining subunit, which is configured to pass the The interface code corresponding to each node included in the risk control model obtains the target query result corresponding to each of the interface codes; the second obtaining subunit is used to obtain each target query result according to each target query result. The target query result code corresponding to each of the target query results; the audit subunit is used to perform risk control on the user through the risk control model based on the decision tree according to the risk control result corresponding to each of the nodes Audit.
在一个实施例中,所述基于决策树的风控审核装置800还包括:预查询单元,用于通过 预查询方式对所述风控模型中所包含的所述节点所对应的风控结果进行预查询。In one embodiment, the decision tree-based risk control review device 800 further includes: a pre-query unit for performing a pre-query method on the risk control results corresponding to the nodes included in the risk control model. Pre-query.
需要说明的是,所属领域的技术人员可以清楚地了解到,上述基于决策树的风控模型构建装置及其各单元的具体实现过程,与上述基于决策树的风控审核装置和各单元的具体实现过程,可以分别参考前述方法实施例中的相应描述,为了描述的方便和简洁,在此不再赘述。It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned decision tree-based risk control model construction device and each unit is different from the above-mentioned decision tree-based risk control review device and the specific implementation process of each unit. For the implementation process, please refer to the corresponding descriptions in the foregoing method embodiments respectively. For the convenience and brevity of the description, details are not repeated here.
同时,上述基于决策树的风控模型构建装置及基于决策树的风控审核装置中各个单元的划分和连接方式仅用于举例说明,在其他实施例中,可将基于决策树的风控模型构建装置及基于决策树的风控审核装置分别按照需要划分为不同的单元,也可将基于决策树的风控模型构建装置及基于决策树的风控审核装置中各单元分别采取不同的连接顺序和方式,以分别完成上述基于决策树的风控模型构建装置及基于决策树的风控审核装置的全部或部分功能。At the same time, the above-mentioned decision tree-based risk control model construction device and the decision tree-based risk control review device are only used as examples for the division and connection of each unit. In other embodiments, the decision tree-based risk control model The construction device and the decision tree-based risk control review device are divided into different units as needed. The units in the decision tree-based risk control model construction device and the decision tree-based risk control review device can also be connected in different connection sequences. And methods to respectively complete all or part of the functions of the above-mentioned decision tree-based risk control model construction device and the decision tree-based risk control review device.
上述基于决策树的风控模型构建装置及基于决策树的风控审核装置可以分别实现为一种计算机程序的形式,该计算机程序可以分别在如图9所示的计算机设备上运行。The aforementioned decision tree-based risk control model construction device and the decision tree-based risk control review device can be implemented in the form of a computer program, and the computer program can run on the computer device as shown in FIG. 9 respectively.
请参阅图9,图9是本申请实施例提供的一种计算机设备的示意性框图。该计算机设备900可以是台式机电脑或者服务器等计算机设备,也可以是其他设备中的组件或者部件。Please refer to FIG. 9, which is a schematic block diagram of a computer device according to an embodiment of the present application. The computer device 900 may be a computer device such as a desktop computer or a server, and may also be a component or component in other devices.
参阅图9,该计算机设备900包括通过系统总线901连接的处理器902、存储器和网络接口905,其中,存储器可以包括非易失性存储介质903和内存储器904,存储器也可以为易失性存储介质。Referring to FIG. 9, the computer device 900 includes a processor 902, a memory, and a network interface 905 connected through a system bus 901. The memory may include a non-volatile storage medium 903 and an internal memory 904, and the memory may also be volatile storage. medium.
该非易失性存储介质903可存储操作系统9031和计算机程序9032。该计算机程序9032被执行时,可使得处理器902执行一种上述基于决策树的风控模型构建方法,或者可使得处理器902执行一种上述基于决策树的风控审核方法。The non-volatile storage medium 903 can store an operating system 9031 and a computer program 9032. When the computer program 9032 is executed, it can make the processor 902 execute the aforementioned decision tree-based risk control model construction method, or can make the processor 902 execute the aforementioned decision tree-based risk control review method.
该处理器902用于提供计算和控制能力,以支撑整个计算机设备900的运行。The processor 902 is used to provide calculation and control capabilities to support the operation of the entire computer device 900.
该内存储器904为非易失性存储介质903中的计算机程序9032的运行提供环境,该计算机程序9032被处理器902执行时,可使得处理器902执行一种上述基于决策树的风控模型构建方法,或者可使得处理器902执行一种上述基于决策树的风控审核方法。The internal memory 904 provides an environment for the operation of the computer program 9032 in the non-volatile storage medium 903. When the computer program 9032 is executed by the processor 902, the processor 902 can execute a risk control model construction based on the decision tree described above. Alternatively, the processor 902 may be caused to execute the above-mentioned risk control review method based on the decision tree.
该网络接口905用于与其它设备进行网络通信。本领域技术人员可以理解,图9中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备900的限定,具体的计算机设备900可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。例如,在一些实施例中,计算机设备可以仅包括存储器及处理器,在这样的实施例中,存储器及处理器的结构及功能与图9所示实施例一致,在此不再赘述。The network interface 905 is used for network communication with other devices. Those skilled in the art can understand that the structure shown in FIG. 9 is only a block diagram of part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 900 to which the solution of the present application is applied. The specific computer device 900 may include more or fewer parts than shown in the figure, or combine certain parts, or have a different arrangement of parts. For example, in some embodiments, the computer device may only include a memory and a processor. In such embodiments, the structures and functions of the memory and the processor are consistent with the embodiment shown in FIG. 9 and will not be repeated here.
以上述处理器902执行一种上述基于决策树的风控模型构建方法为例,所述处理器902用于运行存储在存储器中的计算机程序9032,以实现本申请实施例的风控模型构建方法或者风控审核方法。Taking the foregoing processor 902 executing the foregoing decision tree-based risk control model construction method as an example, the processor 902 is configured to run a computer program 9032 stored in the memory to implement the risk control model construction method of the embodiment of the present application. Or risk control review method.
应当理解,在本申请实施例中,处理器902可以是中央处理单元(Central ProcessingUnit,CPU),该处理器902还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。其中,通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in the embodiment of the present application, the processor 902 may be a central processing unit (Central Processing Unit, CPU), and the processor 902 may also be other general-purpose processors, digital signal processors (Digital Signal Processors, DSPs), and special purpose processors. Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor.
本领域普通技术人员可以理解的是实现上述实施例的方法中的全部或部分流程,是可以通过计算机程序来完成,该计算机程序可存储于一计算机可读存储介质。该计算机程序被该计算机系统中的至少一个处理器执行,以实现上述风控模型构建方法或者风控审核方法的实施例的步骤。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the foregoing embodiments can be implemented by a computer program, and the computer program can be stored in a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the steps of the embodiment of the above-mentioned risk control model construction method or risk control review method.
因此,本申请实施例还提供一种计算机可读存储介质。该计算机可读存储介质可以为非易失性的计算机可读存储介质,也可以为易失性存储介质,该计算机可读存储介质存储有计算机程序,该计算机程序被处理器执行时使处理器执行以上各实施例中所描述的基于决策树的风控模型构建方法的步骤,或者使得计算机执行以上各实施例中所描述的基于决策树的风 控审核方法的步骤。Therefore, the embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium may be a non-volatile computer-readable storage medium, or may be a volatile storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the processor Perform the steps of the decision tree-based risk control model construction method described in the above embodiments, or make the computer execute the steps of the decision tree-based risk control review method described in the above embodiments.
所述存储介质为实体的、非瞬时性的存储介质,例如可以是U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、磁碟或者光盘等各种可以存储计算机程序的实体存储介质。The storage medium is a physical, non-transitory storage medium, such as a U disk, a mobile hard disk, a read-only memory (Read-Only Memory, ROM), a magnetic disk or an optical disk, etc., which can store computer programs. medium.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may be aware that the units and algorithm steps of the examples described in the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of both, in order to clearly illustrate the hardware and software Interchangeability, in the above description, the composition and steps of each example have been generally described in accordance with the function. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
以上所述,仅为本申请的具体实施方式,但本申请明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换,这些修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above are only specific implementations of this application, but the scope of protection stated in this application is not limited to this. Any person skilled in the art can easily think of various equivalents within the technical scope disclosed in this application. Modifications or replacements, these modifications or replacements should be covered within the scope of protection of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (20)

  1. 一种基于决策树的风控模型构建方法,包括:A method for building a risk control model based on a decision tree, including:
    当接收到构建风控模型的预设操作时,通过列表页面显示预先设置的接口编码表、查询结果编码表以及风控结果编码表;其中,所述接口编码表包含多个接口编码,所述查询结果编码表中包含多个查询结果,所述风控结果编码表中包括多个风控结果;When the preset operation of constructing the risk control model is received, the preset interface code table, query result code table, and risk control result code table are displayed through the list page; wherein, the interface code table includes multiple interface codes, and The query result code table includes multiple query results, and the risk control result code table includes multiple risk control results;
    通过所述列表页面接收从所述接口编码表中确定目标接口编码、从所述查询结果编码表中确定目标查询结果,以及从所述风控结果编码表中确定目标风控结果的选择指令,得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系;Receiving, through the list page, a selection instruction for determining a target interface code from the interface code table, determining a target query result from the query result code table, and determining a target risk control result from the risk control result code table, Obtain the correspondence between the target interface code, the target query result, and the target risk control result;
    基于所述对应关系,将所述目标接口编码、所述目标查询结果以及所述目标风控结果分别配置于预设决策树的节点,生成基于决策树的风控模型。Based on the corresponding relationship, the target interface code, the target query result, and the target risk control result are respectively configured at nodes of a preset decision tree to generate a risk control model based on the decision tree.
  2. 根据权利要求1所述基于决策树的风控模型构建方法,其中,所述通过所述列表页面接收从所述接口编码表中确定目标接口编码、从所述查询结果编码表中确定目标查询结果,以及从所述风控结果编码表中确定目标风控结果的选择指令,得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系的步骤包括:The method for constructing a risk control model based on a decision tree according to claim 1, wherein said receiving through the list page determines a target interface code from the interface code table, and determines a target query result from the query result code table , And determining a selection instruction for a target risk control result from the risk control result code table, and obtaining the corresponding relationship between the target interface code, the target query result, and the target risk control result includes:
    接收从所述接口编码表中确定目标接口编码的选择指令以得到目标接口编码;Receiving a selection instruction for determining a target interface code from the interface code table to obtain the target interface code;
    通过所述列表页面显示所述目标接口编码所关联的查询结果编码表;Displaying the query result code table associated with the target interface code through the list page;
    接收从所述查询结果编码表中确定目标查询结果的选择指令,以得到所述目标接口编码所对应的目标查询结果;Receiving a selection instruction for determining a target query result from the query result code table to obtain a target query result corresponding to the target interface code;
    通过所述列表页面显示所述目标查询结果所关联的风控结果编码表;Displaying the risk control result code table associated with the target query result through the list page;
    接收从所述风控结果编码表中确定目标风控结果的选择指令,以得到所述目标查询结果所对应的目标风控结果;Receiving a selection instruction for determining a target risk control result from the risk control result coding table to obtain the target risk control result corresponding to the target query result;
    将所述目标接口编码、所述目标查询结果及所述目标风控结果通过预设关联方式进行关联,以得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系。The target interface code, the target query result, and the target risk control result are associated through a preset association method to obtain the relationship between the target interface code, the target query result, and the target risk control result Correspondence.
  3. 根据权利要求2所述基于决策树的风控模型构建方法,其中,所述查询结果编码表中所包含的每个查询结果对应设定一个查询结果编码;The method for constructing a risk control model based on a decision tree according to claim 2, wherein each query result contained in the query result code table is correspondingly set with a query result code;
    所述接收从所述风控结果编码表中确定目标风控结果的选择指令,以得到所述目标查询结果所对应的目标风控结果的步骤包括:The step of receiving a selection instruction for determining a target risk control result from the risk control result coding table to obtain the target risk control result corresponding to the target query result includes:
    获取所述目标查询结果所对应的目标查询结果编码;Acquiring the target query result code corresponding to the target query result;
    通过所述列表页面显示所述目标查询结果编码所关联的风控结果编码表;Displaying the risk control result code table associated with the target query result code through the list page;
    接收从所述风控结果编码表中确定目标风控结果的选择指令,以得到所述目标查询结果编码所对应的目标风控结果,从而得到所述目标查询结果所对应的目标风控结果。A selection instruction for determining a target risk control result from the risk control result code table is received to obtain the target risk control result corresponding to the target query result code, so as to obtain the target risk control result corresponding to the target query result.
  4. 一种基于决策树的风控审核方法,其中,所述方法包括:A risk control review method based on a decision tree, wherein the method includes:
    接收用户的用户资料,所述用户资料包括用于确定所述用户的业务类型的预设信息;Receiving user data of a user, where the user data includes preset information used to determine a service type of the user;
    根据所述预设信息,从预设存储文件中调取基于决策树的风控模型;According to the preset information, retrieve the risk control model based on the decision tree from the preset storage file;
    通过所述基于决策树的风控模型根据所述用户资料进行风控审核。Perform a risk control review based on the user profile through the risk control model based on the decision tree.
  5. 根据权利要求4所述基于决策树的风控审核方法,其中,查询结果编码表中所包含的每个查询结果对应设定一个查询结果编码;The risk control review method based on a decision tree according to claim 4, wherein each query result contained in the query result code table is correspondingly set with a query result code;
    所述通过所述基于决策树的风控模型根据所述用户资料进行风控审核的步骤包括:The step of conducting a risk control review according to the user profile through the decision tree-based risk control model includes:
    根据所述用户资料,通过所述风控模型中包含的每个节点所对应的接口编码获取每个所述接口编码各自所对应的目标查询结果;According to the user information, obtain the target query result corresponding to each interface code through the interface code corresponding to each node included in the risk control model;
    根据每个所述目标查询结果,获取每个所述目标查询结果各自所对应的目标查询结果编码;Obtaining the target query result code corresponding to each target query result according to each target query result;
    根据每个所述目标查询结果编码,获取每个所述目标查询结果编码各自所对应的目标风控结果,以得到每个所述节点各自所对应的风控结果;According to each target query result code, obtain the target risk control result corresponding to each target query result code, so as to obtain the risk control result corresponding to each node;
    根据每个所述节点各自所对应的风控结果,通过所述基于决策树的风控模型对所述用户进行风控审核。According to the risk control result corresponding to each of the nodes, the risk control audit of the user is performed through the risk control model based on the decision tree.
  6. 根据权利要求5所述基于决策树的风控审核方法,其中,所述获取每个所述目标查询结果编码各自所对应的目标风控结果的步骤之前,包括:The risk control review method based on a decision tree according to claim 5, wherein, before the step of obtaining the target risk control result corresponding to each of the target query result codes, the method comprises:
    通过预查询方式对所述风控模型中所包含的所述节点所对应的风控结果进行预查询。Pre-query the risk control result corresponding to the node included in the risk control model through a pre-query method.
  7. 根据权利要求6所述基于决策树的风控审核方法,其中,所述通过预查询方式对所述风控模型中所包含的所述节点所对应的风控结果进行预查询的步骤包括:The risk control review method based on a decision tree according to claim 6, wherein the step of pre-querying the risk control results corresponding to the nodes included in the risk control model in a pre-query manner comprises:
    按照征信风控接口所对应的接口类型对所述风控模型中所包含的所述节点所对应的风控结果进行预查询。Pre-query the risk control results corresponding to the nodes included in the risk control model according to the interface type corresponding to the credit reporting risk control interface.
  8. 根据权利要求4所述基于决策树的风控审核方法,其中,所述预设信息包括用户地址及目标业务名称,所述根据所述预设信息,从预设存储文件中调取基于决策树的风控模型的步骤包括:The risk control review method based on a decision tree according to claim 4, wherein the preset information includes a user address and a target business name, and the decision tree-based review is retrieved from a preset storage file according to the preset information The steps of the risk control model include:
    根据所述用户地址及所述目标业务名称,从预设存储文件中调取预先与所述用户地址及所述目标业务名称所对应的所述业务类型的基于决策树的风控模型。According to the user address and the target business name, a risk control model based on the decision tree of the business type corresponding to the user address and the target business name in advance is retrieved from a preset storage file.
  9. 一种基于决策树的风控模型构建装置,其中,包括:A risk control model construction device based on a decision tree, which includes:
    显示单元,用于当接收到构建风控模型的预设操作时,通过列表页面显示预先设置的接口编码表、查询结果编码表以及风控结果编码表;其中,所述接口编码表包含多个接口编码,所述查询结果编码表中包含多个查询结果,所述风控结果编码表中包括多个风控结果;The display unit is used to display the preset interface code table, query result code table, and risk control result code table through the list page when the preset operation of constructing the risk control model is received; wherein, the interface code table includes multiple Interface code, the query result code table includes multiple query results, and the risk control result code table includes multiple risk control results;
    第一接收单元,用于通过所述列表页面接收从所述接口编码表中确定目标接口编码、从所述查询结果编码表中确定目标查询结果,以及从所述风控结果编码表中确定目标风控结果的选择指令,得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系;The first receiving unit is configured to receive, through the list page, a target interface code determined from the interface code table, a target query result determined from the query result code table, and a target determined from the risk control result code table The selection instruction of the risk control result obtains the correspondence between the target interface code, the target query result, and the target risk control result;
    生成单元,用于基于所述对应关系,将所述目标接口编码、所述目标查询结果以及所述目标风控结果分别配置于预设决策树的节点,生成基于决策树的风控模型。The generating unit is configured to configure the target interface code, the target query result, and the target risk control result in nodes of a preset decision tree based on the corresponding relationship, and generate a risk control model based on the decision tree.
  10. 一种基于决策树的风控审核装置,其中,包括:A risk control review device based on a decision tree, which includes:
    第二接收单元,用于接收用户的用户资料,所述用户资料包括用于确定所述用户的业务类型的预设信息;The second receiving unit is configured to receive user data of the user, where the user data includes preset information used to determine the service type of the user;
    调取单元,用于根据所述预设信息,从预设存储文件中调取基于决策树的风控模型;The retrieval unit is configured to retrieve the risk control model based on the decision tree from the preset storage file according to the preset information;
    审核单元,用于通过所述基于决策树的风控模型根据所述用户资料进行风控审核。The review unit is configured to conduct a risk control review based on the user profile through the risk control model based on the decision tree.
  11. 一种计算机设备,其中,所述计算机设备包括存储器以及与所述存储器相连的处理器;所述存储器用于存储计算机程序;所述处理器用于运行所述存储器中存储的计算机程序,以实现如下步骤:A computer device, wherein the computer device includes a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the computer program stored in the memory to achieve the following step:
    当接收到构建风控模型的预设操作时,通过列表页面显示预先设置的接口编码表、查询结果编码表以及风控结果编码表;其中,所述接口编码表包含多个接口编码,所述查询结果编码表中包含多个查询结果,所述风控结果编码表中包括多个风控结果;When the preset operation of constructing the risk control model is received, the preset interface code table, query result code table, and risk control result code table are displayed through the list page; wherein, the interface code table includes multiple interface codes, and The query result code table includes multiple query results, and the risk control result code table includes multiple risk control results;
    通过所述列表页面接收从所述接口编码表中确定目标接口编码、从所述查询结果编码表中确定目标查询结果,以及从所述风控结果编码表中确定目标风控结果的选择指令,得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系;Receiving, through the list page, a selection instruction for determining a target interface code from the interface code table, determining a target query result from the query result code table, and determining a target risk control result from the risk control result code table, Obtain the correspondence between the target interface code, the target query result, and the target risk control result;
    基于所述对应关系,将所述目标接口编码、所述目标查询结果以及所述目标风控结果分别配置于预设决策树的节点,生成基于决策树的风控模型。Based on the corresponding relationship, the target interface code, the target query result, and the target risk control result are respectively configured at nodes of a preset decision tree to generate a risk control model based on the decision tree.
  12. 根据权利要求11所述计算机设备,其中,所述通过所述列表页面接收从所述接口编码表中确定目标接口编码、从所述查询结果编码表中确定目标查询结果,以及从所述风控结果编码表中确定目标风控结果的选择指令,得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系的步骤包括:11. The computer device according to claim 11, wherein said receiving, through said list page, determining a target interface code from said interface code table, determining a target query result from said query result coding table, and receiving from said risk control The step of determining the selection instruction of the target risk control result in the result code table, and obtaining the corresponding relationship between the target interface code, the target query result, and the target risk control result includes:
    接收从所述接口编码表中确定目标接口编码的选择指令以得到目标接口编码;Receiving a selection instruction for determining a target interface code from the interface code table to obtain the target interface code;
    通过所述列表页面显示所述目标接口编码所关联的查询结果编码表;Displaying the query result code table associated with the target interface code through the list page;
    接收从所述查询结果编码表中确定目标查询结果的选择指令,以得到所述目标接口编码所对应的目标查询结果;Receiving a selection instruction for determining a target query result from the query result code table to obtain a target query result corresponding to the target interface code;
    通过所述列表页面显示所述目标查询结果所关联的风控结果编码表;Displaying the risk control result code table associated with the target query result through the list page;
    接收从所述风控结果编码表中确定目标风控结果的选择指令,以得到所述目标查询结果所对应的目标风控结果;Receiving a selection instruction for determining a target risk control result from the risk control result coding table to obtain the target risk control result corresponding to the target query result;
    将所述目标接口编码、所述目标查询结果及所述目标风控结果通过预设关联方式进行关联,以得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系。The target interface code, the target query result, and the target risk control result are associated through a preset association method to obtain the relationship between the target interface code, the target query result, and the target risk control result Correspondence.
  13. 根据权利要求12所述计算机设备,其中,所述查询结果编码表中所包含的每个查询结果对应设定一个查询结果编码;The computer device according to claim 12, wherein each query result contained in the query result code table corresponds to a query result code;
    所述接收从所述风控结果编码表中确定目标风控结果的选择指令,以得到所述目标查询结果所对应的目标风控结果的步骤包括:The step of receiving a selection instruction for determining a target risk control result from the risk control result coding table to obtain the target risk control result corresponding to the target query result includes:
    获取所述目标查询结果所对应的目标查询结果编码;Acquiring the target query result code corresponding to the target query result;
    通过所述列表页面显示所述目标查询结果编码所关联的风控结果编码表;Displaying the risk control result code table associated with the target query result code through the list page;
    接收从所述风控结果编码表中确定目标风控结果的选择指令,以得到所述目标查询结果编码所对应的目标风控结果,从而得到所述目标查询结果所对应的目标风控结果。A selection instruction for determining a target risk control result from the risk control result code table is received to obtain the target risk control result corresponding to the target query result code, so as to obtain the target risk control result corresponding to the target query result.
  14. 一种计算机设备,其中,所述计算机设备包括存储器以及与所述存储器相连的处理器;所述存储器用于存储计算机程序;所述处理器用于运行所述存储器中存储的计算机程序,以实现如下步骤:A computer device, wherein the computer device includes a memory and a processor connected to the memory; the memory is used to store a computer program; the processor is used to run the computer program stored in the memory to achieve the following step:
    接收用户的用户资料,所述用户资料包括用于确定所述用户的业务类型的预设信息;Receiving user data of a user, where the user data includes preset information used to determine a service type of the user;
    根据所述预设信息,从预设存储文件中调取基于决策树的风控模型;According to the preset information, retrieve the risk control model based on the decision tree from the preset storage file;
    通过所述基于决策树的风控模型根据所述用户资料进行风控审核。Perform a risk control review based on the user profile through the risk control model based on the decision tree.
  15. 根据权利要求14所述计算机设备,其中,查询结果编码表中所包含的每个查询结果对应设定一个查询结果编码;14. The computer device according to claim 14, wherein each query result contained in the query result code table is correspondingly set with a query result code;
    所述通过所述基于决策树的风控模型根据所述用户资料进行风控审核的步骤包括:The step of conducting a risk control review according to the user profile through the decision tree-based risk control model includes:
    根据所述用户资料,通过所述风控模型中包含的每个节点所对应的接口编码获取每个所述接口编码各自所对应的目标查询结果;According to the user information, obtain the target query result corresponding to each interface code through the interface code corresponding to each node included in the risk control model;
    根据每个所述目标查询结果,获取每个所述目标查询结果各自所对应的目标查询结果编码;Obtaining the target query result code corresponding to each target query result according to each target query result;
    根据每个所述目标查询结果编码,获取每个所述目标查询结果编码各自所对应的目标风控结果,以得到每个所述节点各自所对应的风控结果;According to each target query result code, obtain the target risk control result corresponding to each target query result code, so as to obtain the risk control result corresponding to each node;
    根据每个所述节点各自所对应的风控结果,通过所述基于决策树的风控模型对所述用户进行风控审核。According to the risk control result corresponding to each of the nodes, the risk control audit of the user is performed through the risk control model based on the decision tree.
  16. 根据权利要求15所述计算机设备,其中,所述获取每个所述目标查询结果编码各自所对应的目标风控结果的步骤之前,包括:15. The computer device according to claim 15, wherein before the step of obtaining the target risk control result corresponding to each of the target query result codes, the step comprises:
    通过预查询方式对所述风控模型中所包含的所述节点所对应的风控结果进行预查询。Pre-query the risk control result corresponding to the node included in the risk control model through a pre-query method.
  17. 根据权利要求16所述基于决策树的风控审核方法,其中,所述通过预查询方式对所述风控模型中所包含的所述节点所对应的风控结果进行预查询的步骤包括:The risk control review method based on a decision tree according to claim 16, wherein the step of pre-querying the risk control results corresponding to the nodes included in the risk control model in a pre-query manner comprises:
    按照征信风控接口所对应的接口类型对所述风控模型中所包含的所述节点所对应的风控结果进行预查询。Pre-query the risk control results corresponding to the nodes included in the risk control model according to the interface type corresponding to the credit reporting risk control interface.
  18. 根据权利要求14所述基于决策树的风控审核方法,其中,所述预设信息包括用户地址及目标业务名称,所述根据所述预设信息,从预设存储文件中调取基于决策树的风控模型的步骤包括:The risk control review method based on a decision tree according to claim 14, wherein the preset information includes a user address and a target business name, and according to the preset information, the decision tree is retrieved from a preset storage file. The steps of the risk control model include:
    根据所述用户地址及所述目标业务名称,从预设存储文件中调取预先与所述用户地址及所述目标业务名称所对应的所述业务类型的基于决策树的风控模型。According to the user address and the target business name, a risk control model based on the decision tree of the business type corresponding to the user address and the target business name in advance is retrieved from a preset storage file.
  19. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
    当接收到构建风控模型的预设操作时,通过列表页面显示预先设置的接口编码表、查询结果编码表以及风控结果编码表;其中,所述接口编码表包含多个接口编码,所述查询结果 编码表中包含多个查询结果,所述风控结果编码表中包括多个风控结果;When a preset operation of constructing a risk control model is received, the preset interface code table, query result code table, and risk control result code table are displayed through the list page; wherein, the interface code table includes multiple interface codes, and The query result code table includes multiple query results, and the risk control result code table includes multiple risk control results;
    通过所述列表页面接收从所述接口编码表中确定目标接口编码、从所述查询结果编码表中确定目标查询结果,以及从所述风控结果编码表中确定目标风控结果的选择指令,得到所述目标接口编码、所述目标查询结果及所述目标风控结果之间的对应关系;Receiving, through the list page, a selection instruction for determining a target interface code from the interface code table, determining a target query result from the query result code table, and determining a target risk control result from the risk control result code table, Obtain the correspondence between the target interface code, the target query result, and the target risk control result;
    基于所述对应关系,将所述目标接口编码、所述目标查询结果以及所述目标风控结果分别配置于预设决策树的节点,生成基于决策树的风控模型。Based on the corresponding relationship, the target interface code, the target query result, and the target risk control result are respectively configured at nodes of a preset decision tree to generate a risk control model based on the decision tree.
  20. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如下步骤:A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
    接收用户的用户资料,所述用户资料包括用于确定所述用户的业务类型的预设信息;Receiving user data of a user, where the user data includes preset information used to determine a service type of the user;
    根据所述预设信息,从预设存储文件中调取基于决策树的风控模型;According to the preset information, retrieve the risk control model based on the decision tree from the preset storage file;
    通过所述基于决策树的风控模型根据所述用户资料进行风控审核。Perform a risk control review based on the user profile through the risk control model based on the decision tree.
PCT/CN2020/111948 2020-02-26 2020-08-28 Risk control model construction method and apparatus, risk control checking method and apparatus, and computer device WO2021169212A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010120287.7 2020-02-26
CN202010120287.7A CN111260257A (en) 2020-02-26 2020-02-26 Wind control model construction method, wind control auditing device and computer equipment

Publications (1)

Publication Number Publication Date
WO2021169212A1 true WO2021169212A1 (en) 2021-09-02

Family

ID=70945842

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/111948 WO2021169212A1 (en) 2020-02-26 2020-08-28 Risk control model construction method and apparatus, risk control checking method and apparatus, and computer device

Country Status (2)

Country Link
CN (1) CN111260257A (en)
WO (1) WO2021169212A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113568604A (en) * 2021-09-26 2021-10-29 深圳万顺叫车云信息技术有限公司 Method and device for updating wind control strategy and computer readable storage medium
CN113689201A (en) * 2021-09-07 2021-11-23 浙江网商银行股份有限公司 Data processing method and system based on block chain
CN114640511A (en) * 2022-03-04 2022-06-17 上海医栗医疗科技有限公司 Application interface monitoring platform
CN115048386A (en) * 2022-06-28 2022-09-13 支付宝(杭州)信息技术有限公司 Service execution method, device, storage medium and equipment
CN116485514A (en) * 2023-06-14 2023-07-25 天津金城银行股份有限公司 Wind control processing method and device, electronic equipment and computer readable storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111260257A (en) * 2020-02-26 2020-06-09 平安科技(深圳)有限公司 Wind control model construction method, wind control auditing device and computer equipment
CN112348403B (en) * 2020-11-26 2021-09-07 德联易控科技(北京)有限公司 Wind control model construction method and device and electronic equipment
CN112860774A (en) * 2021-01-06 2021-05-28 宝能(西安)汽车研究院有限公司 Signal interface matching method and device, computer equipment and readable storage medium
CN113077336B (en) * 2021-04-15 2024-05-24 北京同邦卓益科技有限公司 Wind control information configuration method, device, electronic equipment and computer readable medium
CN113657779B (en) * 2021-08-20 2024-01-09 杭州时趣信息技术有限公司 Dynamic configuration wind control decision method, system, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110258088A1 (en) * 2010-04-16 2011-10-20 Oracle International Corporation Financial audit scoping workbench
CN107025509A (en) * 2016-02-01 2017-08-08 腾讯科技(深圳)有限公司 Decision system and method based on business model
CN107862602A (en) * 2017-11-23 2018-03-30 安趣盈(上海)投资咨询有限公司 It is a kind of based on various dimensions index calculate, self study and divide group model apply credit decision-making technique and system
CN110503566A (en) * 2019-07-08 2019-11-26 中国平安人寿保险股份有限公司 Air control method for establishing model, device, computer equipment and storage medium
CN111260257A (en) * 2020-02-26 2020-06-09 平安科技(深圳)有限公司 Wind control model construction method, wind control auditing device and computer equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110258088A1 (en) * 2010-04-16 2011-10-20 Oracle International Corporation Financial audit scoping workbench
CN107025509A (en) * 2016-02-01 2017-08-08 腾讯科技(深圳)有限公司 Decision system and method based on business model
CN107862602A (en) * 2017-11-23 2018-03-30 安趣盈(上海)投资咨询有限公司 It is a kind of based on various dimensions index calculate, self study and divide group model apply credit decision-making technique and system
CN110503566A (en) * 2019-07-08 2019-11-26 中国平安人寿保险股份有限公司 Air control method for establishing model, device, computer equipment and storage medium
CN111260257A (en) * 2020-02-26 2020-06-09 平安科技(深圳)有限公司 Wind control model construction method, wind control auditing device and computer equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113689201A (en) * 2021-09-07 2021-11-23 浙江网商银行股份有限公司 Data processing method and system based on block chain
CN113689201B (en) * 2021-09-07 2024-04-19 浙江网商银行股份有限公司 Data processing method and system based on block chain
CN113568604A (en) * 2021-09-26 2021-10-29 深圳万顺叫车云信息技术有限公司 Method and device for updating wind control strategy and computer readable storage medium
CN113568604B (en) * 2021-09-26 2022-01-07 深圳万顺叫车云信息技术有限公司 Method and device for updating wind control strategy and computer readable storage medium
CN114640511A (en) * 2022-03-04 2022-06-17 上海医栗医疗科技有限公司 Application interface monitoring platform
CN114640511B (en) * 2022-03-04 2024-01-19 上海医栗医疗科技有限公司 Application interface monitoring platform
CN115048386A (en) * 2022-06-28 2022-09-13 支付宝(杭州)信息技术有限公司 Service execution method, device, storage medium and equipment
CN116485514A (en) * 2023-06-14 2023-07-25 天津金城银行股份有限公司 Wind control processing method and device, electronic equipment and computer readable storage medium
CN116485514B (en) * 2023-06-14 2023-09-01 天津金城银行股份有限公司 Wind control processing method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN111260257A (en) 2020-06-09

Similar Documents

Publication Publication Date Title
WO2021169212A1 (en) Risk control model construction method and apparatus, risk control checking method and apparatus, and computer device
US11099973B2 (en) Automated test case management systems and methods
US8972336B2 (en) System and method for mapping source columns to target columns
US20190108486A1 (en) System and method for intelligent and automatic electronic communication support and routing
US9558230B2 (en) Data quality assessment
WO2019100576A1 (en) Automated test management method and apparatus, terminal device, and storage medium
US9672490B2 (en) Procurement system
US20090292711A1 (en) Constraints With Hidden Rows in a Database
CN109376873B (en) Operation and maintenance method, operation and maintenance device, electronic equipment and computer readable storage medium
CN111124917B (en) Method, device, equipment and storage medium for managing and controlling public test cases
TW201915777A (en) Financial analysis system and method for unstructured text data
CN110322143B (en) Model materialization management method, device, equipment and computer storage medium
US20220207612A1 (en) Account management method and related product
CN110837496A (en) Data quality management method and system based on dynamic sql
WO2019214014A1 (en) Online product management method and apparatus, terminal device, and storage medium
CN109753490A (en) Database optimizing method, system, equipment and medium based on loophole reparation
CN112861182A (en) Database query method and system, computer equipment and storage medium
CN109902154A (en) Information processing method, device, service equipment and computer readable storage medium
CN112783867A (en) Database optimization method for meeting real-time big data service requirements and cloud server
US9619458B2 (en) System and method for phrase matching with arbitrary text
CN107071553A (en) A kind of method, device and computer-readable recording medium for changing video speech
JP5206268B2 (en) Rule creation program, rule creation method and rule creation device
US11907243B2 (en) Core reconciliation system with cross-platform data aggregation and validation
CN114020853A (en) Data model management method and device, computer equipment and storage medium
US20160019204A1 (en) Matching large sets of words

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20920901

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20920901

Country of ref document: EP

Kind code of ref document: A1