Transaction parameter setting method and device based on clustering algorithm
The transaction limits of bank customers are dynamically set through clustering algorithms, which solves the problem of insufficient transaction review under high-risk conditions under fixed limit settings, and achieves better risk control and customer experience.
Patent Information
- Application Number
- CN202110848467.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-27
- Publication Date
- 2024-10-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing bank transaction system, the transaction limit is set to a fixed value, which makes it impossible to effectively review customer transactions in a high-risk state, resulting in poor customer experience and uncontrollable risks.
Using a method based on a clustering algorithm, by obtaining historical customer data, determining the feature vector value of each customer, and performing supervised clustering to dynamically set the transaction limit category for new customers, thereby controlling transaction processing, improving customer experience and reducing risks. .
It realizes the dynamic setting of transaction limits according to customers' transaction needs and risk capabilities, improves the effectiveness of transaction review and risk prevention capabilities, and can not only improve customer experience but also effectively prevent risks.
Smart Images

Figure CN113487327B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a transaction parameter setting method and device based on a clustering algorithm. Background Art
[0002] This section is intended to provide a background or context to the embodiments of the invention recited in the claims. No admission is made that the description herein is prior art by inclusion in this section.
[0003] In order to reduce risks, banks usually set transaction limits in their trading systems, which is the maximum amount that can be traded. At present, banks generally set a fixed transaction limit based on their business conditions, which is the same for all customers. In some scenarios, the current limit setting may be risky for some customers' transactions. At the same time, different customers have different transaction needs and risk tolerance. Therefore, the current limit setting of banks has problems with poor customer experience and uncontrollable risks. Summary of the invention
[0004] The embodiment of the present invention provides a transaction parameter setting method based on a clustering algorithm, which is used to solve the technical problem that under high-risk conditions, customer transaction limits are set to fixed values and are the same for all customers, resulting in the bank being unable to effectively review customer transactions under high-risk conditions. The method includes:
[0005] Obtain bank customer data of historical customers, wherein the transaction limit category in the bank customer data of the first historical customer is empty, and the transaction limit category in the bank customer data of the second historical customer is not empty;
[0006] Based on the bank customer data of the second historical customer whose transaction limit category is not empty, obtaining the transaction limit category of the first historical customer whose transaction limit category is empty;
[0007] Based on the bank customer data, determine the feature vector value corresponding to each historical customer, wherein the feature vector value includes the transaction limit category, and perform supervised clustering on the feature vector value corresponding to each historical customer to obtain multiple supervised clustering subsets;
[0008] Obtaining bank customer data of new customers, and determining a feature vector value corresponding to each new customer based on the bank customer data of the new customers, wherein the bank customer data of the new customers does not include a transaction limit category;
[0009] Determine a transaction limit category of the new customer based on multiple supervised cluster subsets and a feature vector value corresponding to each new customer;
[0010] Transaction processing for new customers is controlled based on the transaction limit category.
[0011] The embodiment of the present invention also provides a transaction parameter setting device based on a clustering algorithm, which is used to solve the technical problem that in a high-risk state, the customer transaction limit is set to a fixed value and the same for all customers, resulting in the bank being unable to effectively review the customer's transactions in a high-risk state. The device includes:
[0012] A bank customer data acquisition module, used to acquire bank customer data of historical customers, wherein the transaction limit category in the bank customer data of a first historical customer is empty, and the transaction limit category in the bank customer data of a second historical customer is not empty;
[0013] A transaction limit category acquisition module, used to obtain the transaction limit category of a first historical customer whose transaction limit category is empty based on the bank customer data of a second historical customer whose transaction limit category is not empty;
[0014] A feature vector determination module, used to determine a feature vector value corresponding to each historical customer based on bank customer data, wherein the feature vector value includes a transaction limit category;
[0015] A supervised clustering module is used to perform supervised clustering on the feature vector values corresponding to each historical customer to obtain multiple supervised clustering subsets;
[0016] The bank customer data acquisition module is also used to: acquire bank customer data of new customers, wherein the bank customer data of new customers does not include a transaction limit category;
[0017] The feature vector determination module is also used to: determine the feature vector value corresponding to each new customer based on the bank customer data of the new customer;
[0018] A transaction limit category determination module, used to determine the transaction limit category of a new customer based on multiple supervised cluster subsets and feature vector values corresponding to the new customer;
[0019] A transaction processing module is used to control the transaction processing of new customers based on the transaction limit category.
[0020] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned transaction parameter setting method based on the clustering algorithm when executing the computer program.
[0021] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the transaction parameter setting method based on the clustering algorithm are implemented.
[0022] In the embodiment of the present invention, compared with the technical solution in the prior art in which the transaction limit is set to a fixed value and all customers are the same, resulting in the bank being unable to effectively review the customer's transaction under a high-risk state, by obtaining bank customer data of historical customers, the transaction limit category in the bank customer data of the first historical customer is empty, and the transaction limit category in the bank customer data of the second historical customer is not empty; based on the bank customer data of the second historical customer whose transaction limit category is not empty, the transaction limit category of the first historical customer whose transaction limit category is empty is obtained; based on the bank customer data, a feature vector value corresponding to each historical customer is determined, wherein the feature vector value includes the transaction limit category, and supervised clustering is performed on the feature vector value corresponding to each historical customer to obtain multiple supervised clustering subsets; the bank customer data of a new customer is obtained, and based on the bank customer data of the new customer, a feature vector value corresponding to each new customer is determined, wherein the bank customer data of the new customer does not include the transaction limit category; based on the multiple supervised clustering subsets and the feature vector value corresponding to each new customer, the transaction limit category of the new customer is determined; based on the transaction limit category, the transaction processing of the new customer is controlled. The present invention sets a transaction limit for the customer based on a clustering algorithm, which can both improve the customer experience and effectively prevent risks. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0024] Figure 1 The transaction parameter setting method based on the clustering algorithm in the embodiment of the present invention is as follows: Figure 1 ;
[0025] Figure 2 The transaction parameter setting method based on the clustering algorithm in the embodiment of the present invention is as follows: Figure 2 ;
[0026] Figure 3 The transaction parameter setting method based on the clustering algorithm in the embodiment of the present invention is as follows: Figure 3 ;
[0027] Figure 4 The transaction parameter setting method based on the clustering algorithm in the embodiment of the present invention is as follows: Figure 4 ;
[0028] Figure 5 The transaction parameter setting method based on the clustering algorithm in the embodiment of the present invention is as follows: Figure 5 ;
[0029] Figure 6 The transaction parameter setting method based on the clustering algorithm in the embodiment of the present invention is as follows: Figure 6 ;
[0030] Figure 7 The structure frame of the transaction parameter setting device based on the clustering algorithm in the embodiment of the present invention is Figure 1 ;
[0031] Figure 8 The structure frame of the transaction parameter setting device based on the clustering algorithm in the embodiment of the present invention is Figure 2 . DETAILED DESCRIPTION
[0032] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.
[0033] Terminology explanation:
[0034] Transaction limit: This is the maximum transaction amount set by the bank for customers when they make transactions. If the amount filled in by the customer exceeds the transaction limit, the customer's transaction will be directly rejected.
[0035] The above transaction limit may be a transaction limit for a single transaction or a cumulative transaction limit.
[0036] High-risk status: This means that the customer's transaction has a relatively high risk. For example, in some scenarios, the bank lacks effective means to review the customer's transactions, or the customer's account or transaction involves certain high risks.
[0037] Supervised clustering algorithm: A type of clustering algorithm in machine learning, which is characterized by the fact that the data used contains labels (supervisory information).
[0038] Figure 1 The transaction parameter setting method based on the clustering algorithm in the embodiment of the present invention is as follows: Figure 1 ,like Figure 1 As shown, the method includes:
[0039] Step 101: Obtain bank customer data of historical customers, wherein the transaction limit category in the bank customer data of the first historical customer is empty, and the transaction limit category in the bank customer data of the second historical customer is not empty (the historical customers include the first historical customer and the second historical customer);
[0040] Step 102: based on the bank customer data of the second historical customer whose transaction limit category is not empty, obtaining the transaction limit category of the first historical customer whose transaction limit category is empty;
[0041] Step 103: Based on the bank customer data, determine the feature vector value corresponding to each historical customer, wherein the feature vector value includes a transaction limit category, and perform supervised clustering on the feature vector value corresponding to each historical customer to obtain multiple supervised cluster subsets;
[0042] Step 104: Obtain bank customer data of the new customer, and determine a feature vector value corresponding to each new customer based on the bank customer data of the new customer, wherein the bank customer data of the new customer does not include a transaction limit category;
[0043] Step 105: determining a transaction limit category of the new customer based on the plurality of supervised cluster subsets and the feature vector value corresponding to each new customer;
[0044] Step 106: Control transaction processing for new customers based on the transaction limit category.
[0045] In an embodiment of the present invention, the bank customer data includes transaction data, asset holding data, risk data and transaction limit category. Among them, the transaction limit category of some customers is empty, and the transaction limit category of some customers is not empty. Specifically, the transaction limit is a comprehensive reflection of the customer's financial transaction needs and risk needs. In the bank's transaction system, the transaction limit is usually set to control the customer's transaction risk, and the setting of the limit cannot limit the customer's normal transaction needs, that is, the two determining factors of the transaction limit are the customer's transaction needs and risk needs. The transaction limit category is an external quantitative indicator that characterizes the customer's transaction needs and risk needs, that is, customers with similar transaction needs and risk needs have the same corresponding transaction limit category. Based on the bank customer data of some historical customers whose transaction limit categories are not empty, the transaction limit category of each customer in the historical customer set whose transaction limit category is empty can be predicted by analyzing the transaction needs and risk needs of each customer in the historical customer set.
[0046] In the embodiment of the present invention, Figure 2 As shown, step 102 specifically includes:
[0047] Step 201: based on the bank customer data of the second historical customers whose transaction limit categories are not empty, respectively extract the transaction attribute data and risk attribute data corresponding to each second historical customer to obtain transaction attribute set data and risk attribute set data;
[0048] Step 202: obtaining model 1 based on the transaction attribute set data (a model for predicting the transaction limit category based on the transaction attribute data, that is, the predicted value of the prediction model is the transaction limit category, and the dependent attribute value is the transaction attribute set data of the customer), and obtaining model 2 based on the risk attribute set data (a model for predicting the transaction limit category based on the risk attribute data, that is, the predicted value of the prediction model is the transaction limit category, and the dependent attribute value is the risk attribute set data of the customer);
[0049] Step 203: Based on Model 1 and Model 2, predict the transaction limit category and corresponding accuracy of the first historical customer whose transaction limit category is empty;
[0050] Step 204: Based on the set positive integer N, the bank customer data of the first historical customers whose transaction limit categories are empty and whose highest prediction accuracy according to model 1 is the highest, and the transaction limit categories predicted by model 1 are moved into the risk attribute set data, and model 2 is trained based on the moved risk attribute set data; the bank customer data of the first historical customers whose transaction limit categories are empty and whose highest prediction accuracy according to model 2 is the highest, and the transaction limit categories predicted by model 2 are moved into the transaction attribute set data, and model 1 is trained based on the moved transaction attribute set data;
[0051] Step 205: Continue the above prediction and training process until the bank customer data of the first historical customer whose transaction limit category is empty is empty.
[0052] Specifically, the above steps directly divide the customer's data into transaction attribute data and risk attribute data, and then train models based on the two types of data to predict the customer's transaction limit category. Then, the samples and predicted values with high prediction accuracy of each model are put into the training data of another model to train another model. The above method is actually "models learn from each other and make progress together."
[0053] In the embodiment of the present invention, Figure 3 As shown, step 102 specifically includes:
[0054] Step 301: based on the bank customer data of the first historical customer and the bank customer data of the second historical customer, confirm the similarity between every two historical customers;
[0055] Step 302: retain the similarity greater than the threshold, and set the familiarity less than the threshold to 0;
[0056] Step 303: Based on the similarity, a historical customer relationship graph is obtained, where each node of the historical customer relationship graph corresponds to a first historical customer or a second historical customer, and an edge connection exists between two nodes if and only if the similarity between the two historical customers is greater than a threshold, and the value corresponding to the edge between the two nodes is the similarity between the two historical customers (in fact, the graph corresponds to a matrix, and each element of the matrix corresponds to the transaction limit category value of each historical customer);
[0057] Step 304: Based on the historical customer relationship graph, a transaction limit category of the first historical customer that does not include a transaction limit category is set.
[0058] Specifically, the similarity between every two historical customers can be confirmed based on the bank customer data of the historical customers obtained. In one embodiment, the transaction demand similarity and risk demand similarity of every two historical customers can be determined based on the data of the two historical customers, and then the similarity between the two historical customers can be determined. The similar customers determined in this way are relatively close in both transaction demand and risk demand, and should be relatively close. Based on the historical customer relationship graph obtained, using a method for propagating supervised information (which can be a graph semi-supervised learning algorithm), the transaction limit categories of historical customers whose transaction limit categories are not empty can be "propagated" to those historical customers whose transaction limit categories are empty.
[0059] In the embodiment of the present invention, Figure 4 As shown, step 103 specifically includes:
[0060] Step 401: Calculate the transaction attribute distance and risk attribute distance between every two historical customers respectively, and determine the distance between every two historical customers based on the transaction attribute distance and the risk attribute distance;
[0061] Step 402: Using the transaction limit category as a supervision identifier, based on the distance between every two historical customers, using a learning vector quantization method, supervised clustering is performed on the bank customer data to obtain multiple supervised cluster subsets.
[0062] Specifically, the two determining factors of transaction limits are the customer's transaction needs and risk needs. Therefore, the transaction attribute distance and risk attribute distance between every two historical customers are determined respectively, and then the distance between every two historical customers is determined. Then, supervised clustering is performed based on the determined customer distances. This can ensure that the transaction limit category of each customer in the supervised clustering subset obtained by supervised clustering is consistent.
[0063] In the embodiment of the present invention, Figure 5 As shown, it also includes:
[0064] Step 501: Obtain bank customer data under different risk states, and for each risk state, independently train a model based on the bank customer data under the risk state to predict the transaction limit category of the same customer under the risk state;
[0065] Step 502: According to the transaction limit categories of the same customer under different risk states, a transaction limit category of the same customer under a high risk state is set.
[0066] Specifically, for high-risk situations, customers face more unstable factors in their transactions, which may cause more losses to customers and banks. Therefore, the transaction limit category of the same customer in a high-risk situation should be different from the transaction limit category in general situations. At the same time, the transaction limit category of a customer in general situations will certainly have an important reference role in setting the transaction limit category of the same customer in a high-risk situation. That is, according to the transaction limit category of the same customer in different risk situations, setting the transaction limit category of the same customer in a high-risk situation can better reflect the transaction needs and risk needs of a customer in a high-risk situation.
[0067] In the embodiment of the present invention, Figure 6 As shown, it also includes:
[0068] Step 601: The risk status of the customer's transaction is automatically determined by the smart contract of the blockchain, including determining whether the customer is in a high-risk status;
[0069] Step 602: When it is confirmed that the customer is in a high-risk state, based on the transaction limit category of the customer in the high-risk state, the customer's transaction elements (transaction time, transaction amount, identity verification strength (such as face, private key, password, etc.), number of transactions, etc.) are limited.
[0070] Specifically, when a customer is at high risk, the safety of the customer's transaction can be ensured by limiting the transaction elements. For example, limiting the transaction time, limiting the transaction amount, limiting the intensity of identity verification, and reducing the number of transactions, etc. In this way, by limiting part of the customer's transaction needs, the occurrence of transaction risks is reduced, protecting the safety of customers and banks.
[0071] Specifically, the quantitative indicator of the customer's transaction limit category in a high-risk state reflects to a certain extent the customer's transaction needs and risk requirements in a high-risk state. Limiting the customer's transaction elements based on the quantitative indicator can both reduce transaction risks to the greatest extent and not excessively restrict the customer's transaction needs in a high-risk state. This is the logic of limiting the customer's transaction elements based on the customer's transaction limit category in a high-risk state in the embodiment of the present invention.
[0072] The present invention also provides a transaction parameter setting device based on a clustering algorithm, as described in the following embodiments. Since the principle of solving the problem by the device is similar to that of the transaction parameter setting method based on a clustering algorithm, the implementation of the device can refer to the implementation of the transaction parameter setting method based on a clustering algorithm, and the repeated parts will not be repeated.
[0073] Figure 7 The structure frame of the transaction parameter setting device based on the clustering algorithm in the embodiment of the present invention is Figure 1 ,like Figure 7 As shown, the device comprises:
[0074] The bank customer data acquisition module 02 is used to acquire the bank customer data of the historical customer, wherein the transaction limit category in the bank customer data of the first historical customer is empty, and the transaction limit category in the bank customer data of the second historical customer is not empty;
[0075] The transaction limit category acquisition module 04 is used to obtain the transaction limit category of the first historical customer whose transaction limit category is empty based on the bank customer data of the second historical customer whose transaction limit category is not empty;
[0076] A feature vector determination module 06, for determining a feature vector value corresponding to each historical customer based on bank customer data, wherein the feature vector value includes a transaction limit category;
[0077] A supervised clustering module 08 is used to perform supervised clustering on the feature vector value corresponding to each historical customer to obtain multiple supervised clustering subsets;
[0078] The bank customer data acquisition module 02 is also used to: acquire bank customer data of new customers, wherein the bank customer data of new customers does not include a transaction limit category;
[0079] The feature vector determination module 06 is also used to: determine the feature vector value corresponding to each new customer based on the bank customer data of the new customer;
[0080] A transaction limit category determination module 10, for determining a transaction limit category of a new customer based on a plurality of supervised cluster subsets and a feature vector value corresponding to the new customer;
[0081] The transaction processing module 12 is used to control the transaction processing of new customers based on the transaction limit category.
[0082] In the embodiment of the present invention, the supervised clustering module 08 is specifically used for:
[0083] Calculate the transaction attribute distance and risk attribute distance of every two historical customers respectively, and determine the distance between every two historical customers based on the transaction attribute distance and risk attribute distance;
[0084] Taking transaction limit category as supervision mark and based on the distance between every two historical customers, the learning vector quantization method is used to perform supervised clustering on bank customer data and obtain multiple supervised clustering subsets.
[0085] In the embodiment of the present invention, the transaction limit category obtaining module 04 is specifically used for:
[0086] Based on the bank customer data of the second historical customer whose transaction limit category is not empty, respectively extract the transaction attribute data and risk attribute data corresponding to each second historical customer to obtain transaction attribute set data and risk attribute set data;
[0087] Model 1 is obtained based on the transaction attribute set data, and model 2 is obtained based on the risk attribute set data;
[0088] Based on Model 1 and Model 2, predict the transaction limit category and corresponding accuracy of the first historical customer whose transaction limit category is empty;
[0089] Based on the set positive integer N, the bank customer data of the first historical customers whose transaction limit categories are empty and whose prediction accuracy is the highest according to model 1 and the transaction limit categories predicted by model 1 are moved into the risk attribute set data, and model 2 is trained based on the risk attribute set data after the move; the bank customer data of the first historical customers whose transaction limit categories are empty and whose prediction accuracy is the highest according to model 2 and the transaction limit categories predicted by model 2 are moved into the transaction attribute set data, and model 1 is trained based on the transaction attribute set data after the move;
[0090] The above prediction and training process is continued until the bank customer data of the first historical customer whose transaction limit category is empty is empty.
[0091] In the embodiment of the present invention, the transaction limit category obtaining module 04 is specifically used for:
[0092] Based on the bank customer data of the first historical customer and the bank customer data of the second historical customer, confirm the similarity between each two historical customers;
[0093] The similarity greater than the threshold is retained, and the similarity less than the threshold is set to 0;
[0094] Based on the similarity, a historical customer relationship graph is obtained, where each node of the historical customer relationship graph corresponds to a first historical customer or a second historical customer, and an edge is connected between two nodes if and only if the similarity between the two historical customers is greater than a threshold, and the value corresponding to the edge between the two nodes is the similarity between the two historical customers;
[0095] Based on the historical customer relationship graph, a transaction limit category of the first historical customer that does not include a transaction limit category is set.
[0096] In the embodiment of the present invention, Figure 8 As shown, it also includes: a transaction limit category setting module 14, which is used to:
[0097] Obtain bank customer data under different risk states, and for each risk state, independently train a model based on the bank customer data under that risk state to predict the transaction limit category of the same customer under that risk state;
[0098] According to the transaction limit categories of the same customer under different risk status, set the transaction limit category of the same customer under high risk status.
[0099] In the embodiment of the present invention, Figure 8 As shown, the transaction limit category setting module 14 is used to:
[0100] The risk status of a customer's transaction is automatically determined by the blockchain's smart contracts, including whether the customer is at high risk;
[0101] When a customer is confirmed to be in a high-risk status, the customer's transaction elements are limited based on the transaction limit category category of the customer's high-risk status.
[0102] An embodiment of the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned transaction parameter setting method based on the clustering algorithm when executing the computer program.
[0103] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the transaction parameter setting method based on the clustering algorithm are implemented.
[0104] In the embodiment of the present invention, compared with the technical solution in the prior art in which the transaction limit is set to a fixed value and all customers are the same, resulting in the bank being unable to effectively review the customer's transaction under a high-risk state, by obtaining bank customer data of a historical customer set, wherein the transaction limit category in the bank customer data of some historical customers is empty, and the transaction limit category in the bank customer data of some historical customers is not empty; based on the bank customer data of some historical customers whose transaction limit category is not empty, the transaction limit category of the historical customers whose transaction limit category is empty is obtained; based on the bank customer data, a feature vector value corresponding to each customer is determined, wherein the feature vector value includes the transaction limit category, and supervised clustering is performed on the feature vector value corresponding to each customer to obtain a plurality of supervised clustering subsets; bank customer data of new customers is obtained, and based on the bank customer data of the new customers, a feature vector value corresponding to each new customer is determined, wherein the bank customer data of the new customers does not include the transaction limit category; based on the plurality of supervised clustering subsets and the feature vector value corresponding to each new customer, the transaction limit category of the new customer is determined; and based on the transaction limit category, the transaction processing of the customer is controlled. The present invention sets a transaction limit for the customer based on a clustering algorithm, which can both improve the customer experience and effectively prevent risks.
[0105] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0106] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0107] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0108] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0109] The specific embodiments described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A transaction parameter setting method based on clustering algorithm, characterized in that: include: Obtain bank customer data of historical customers, wherein the transaction limit category in the bank customer data of the first historical customer is empty, and the transaction limit category in the bank customer data of the second historical customer is not empty; Based on the bank customer data of the second historical customer whose transaction limit category is not empty, obtaining the transaction limit category of the first historical customer whose transaction limit category is empty; Based on the bank customer data, determine the feature vector value corresponding to each historical customer, wherein the feature vector value includes the transaction limit category, and perform supervised clustering on the feature vector value corresponding to each historical customer to obtain multiple supervised clustering subsets; Obtaining bank customer data of new customers, and determining a feature vector value corresponding to each new customer based on the bank customer data of the new customers, wherein the bank customer data of the new customers does not include a transaction limit category; Determine a transaction limit category of the new customer based on multiple supervised cluster subsets and a feature vector value corresponding to each new customer; Transaction processing for new customers is controlled based on the transaction limit category.
2. The transaction parameter setting method based on clustering algorithm according to claim 1, characterized in that: Perform supervised clustering on the feature vector values corresponding to each historical customer to obtain multiple supervised cluster subsets, including: Calculate the transaction attribute distance and risk attribute distance of every two historical customers respectively, and determine the distance between every two historical customers based on the transaction attribute distance and risk attribute distance; Taking transaction limit category as supervision mark and based on the distance between every two historical customers, the learning vector quantization method is used to perform supervised clustering on bank customer data and obtain multiple supervised clustering subsets.
3. The transaction parameter setting method based on clustering algorithm according to claim 1, characterized in that: Based on the bank customer data of the second historical customer whose transaction limit category is not empty, obtaining the transaction limit category of the first historical customer whose transaction limit category is empty includes: Based on the bank customer data of the second historical customer whose transaction limit category is not empty, respectively extract the transaction attribute data and risk attribute data corresponding to each second historical customer to obtain transaction attribute set data and risk attribute set data; Model 1 is obtained based on the transaction attribute set data, and model 2 is obtained based on the risk attribute set data; Based on Model 1 and Model 2, predict the transaction limit category and corresponding accuracy of the first historical customer whose transaction limit category is empty; Based on the set positive integer N, the bank customer data of the first historical customers whose transaction limit categories are empty and whose prediction accuracy is the highest according to model 1 and the transaction limit categories predicted by model 1 are moved into the risk attribute set data, and model 2 is trained based on the risk attribute set data after the move; the bank customer data of the first historical customers whose transaction limit categories are empty and whose prediction accuracy is the highest according to model 2 and the transaction limit categories predicted by model 2 are moved into the transaction attribute set data, and model 1 is trained based on the transaction attribute set data after the move; The above prediction and training process is continued until the bank customer data of the first historical customer whose transaction limit category is empty is empty.
4. The transaction parameter setting method based on clustering algorithm according to claim 1, characterized in that: Based on the bank customer data of the second historical customer whose transaction limit category is not empty, obtaining the transaction limit category of the first historical customer whose transaction limit category is empty includes: Based on the bank customer data of the first historical customer and the bank customer data of the second historical customer, confirm the similarity between each two historical customers; The similarity greater than the threshold is retained, and the similarity less than the threshold is set to 0; Based on the similarity, a historical customer relationship graph is obtained, where each node of the historical customer relationship graph corresponds to a first historical customer or a second historical customer, and an edge is connected between two nodes if and only if the similarity between the two historical customers is greater than a threshold, and the value corresponding to the edge between the two nodes is the similarity between the two historical customers; Based on the historical customer relationship graph, a transaction limit category of the first historical customer that does not include a transaction limit category is set.
5. The transaction parameter setting method based on clustering algorithm according to claim 1, characterized in that: Also includes: Obtain bank customer data under different risk states, and for each risk state, independently train a model based on the bank customer data under that risk state to predict the transaction limit category of the same customer under that risk state; According to the transaction limit categories of the same customer under different risk status, set the transaction limit category of the same customer under high risk status.
6. The transaction parameter setting method based on clustering algorithm according to claim 1, characterized in that: Also includes: The risk status of a customer's transaction is automatically determined by the blockchain's smart contracts, including whether the customer is at high risk; When it is confirmed that a customer is in a high-risk status, the customer's transaction elements are limited based on the transaction limit category of the customer's high-risk status.
7. A transaction parameter setting device based on clustering algorithm, characterized in that: include: A bank customer data acquisition module, used to acquire bank customer data of historical customers, wherein the transaction limit category in the bank customer data of a first historical customer is empty, and the transaction limit category in the bank customer data of a second historical customer is not empty; A transaction limit category acquisition module, used to obtain the transaction limit category of a first historical customer whose transaction limit category is empty based on the bank customer data of a second historical customer whose transaction limit category is not empty; A feature vector determination module, used to determine a feature vector value corresponding to each historical customer based on bank customer data, wherein the feature vector value includes a transaction limit category; A supervised clustering module is used to perform supervised clustering on the feature vector values corresponding to each historical customer to obtain multiple supervised clustering subsets; The bank customer data acquisition module is also used to: acquire bank customer data of new customers, wherein the bank customer data of new customers does not include a transaction limit category; The feature vector determination module is also used to: determine the feature vector value corresponding to each new customer based on the bank customer data of the new customer; A transaction limit category determination module, used to determine the transaction limit category of a new customer based on multiple supervised cluster subsets and feature vector values corresponding to the new customer; A transaction processing module is used to control the transaction processing of new customers based on the transaction limit category.
8. The transaction parameter setting device based on clustering algorithm according to claim 7, characterized in that: The supervised clustering module is specifically used for: Calculate the transaction attribute distance and risk attribute distance of every two historical customers respectively, and determine the distance between every two historical customers based on the transaction attribute distance and risk attribute distance; Taking transaction limit category as supervision mark and based on the distance between every two historical customers, the learning vector quantization method is used to perform supervised clustering on bank customer data and obtain multiple supervised clustering subsets.
9. The transaction parameter setting device based on clustering algorithm according to claim 7, characterized in that: The transaction limit category acquisition module is specifically used for: Based on the bank customer data of the second historical customer whose transaction limit category is not empty, respectively extract the transaction attribute data and risk attribute data corresponding to each second historical customer to obtain transaction attribute set data and risk attribute set data; Model 1 is obtained based on the transaction attribute set data, and model 2 is obtained based on the risk attribute set data; Based on Model 1 and Model 2, predict the transaction limit category and corresponding accuracy of the first historical customer whose transaction limit category is empty; Based on the set positive integer N, the bank customer data of the first historical customers whose transaction limit categories are empty and whose prediction accuracy is the highest according to model 1 and the transaction limit categories predicted by model 1 are moved into the risk attribute set data, and model 2 is trained based on the risk attribute set data after the move; the bank customer data of the first historical customers whose transaction limit categories are empty and whose prediction accuracy is the highest according to model 2 and the transaction limit categories predicted by model 2 are moved into the transaction attribute set data, and model 1 is trained based on the transaction attribute set data after the move; The above prediction and training process is continued until the bank customer data of the first historical customer whose transaction limit category is empty is empty.
10. The transaction parameter setting device based on clustering algorithm according to claim 7, characterized in that: The transaction limit category acquisition module is specifically used for: Based on the bank customer data of the first historical customer and the bank customer data of the second historical customer, confirm the similarity between each two historical customers; The similarity greater than the threshold is retained, and the similarity less than the threshold is set to 0; Based on the similarity, a historical customer relationship graph is obtained, where each node of the historical customer relationship graph corresponds to a first historical customer or a second historical customer, and an edge is connected between two nodes if and only if the similarity between the two historical customers is greater than a threshold, and the value corresponding to the edge between the two nodes is the similarity between the two historical customers; Based on the historical customer relationship graph, a transaction limit category of the first historical customer that does not include a transaction limit category is set.
11. The transaction parameter setting device based on clustering algorithm according to claim 7, characterized in that: Also includes: The transaction limit setting module is used to: Obtain bank customer data under different risk states, and for each risk state, independently train a model based on the bank customer data under that risk state to predict the transaction limit category of the same customer under that risk state; According to the transaction limit categories of the same customer under different risk status, set the transaction limit category of the same customer under high risk status.
12. The transaction parameter setting device based on clustering algorithm according to claim 7, characterized in that: Also includes: Transaction limit setting module, used for: The risk status of a customer's transaction is automatically determined by the blockchain's smart contracts, including whether the customer is at high risk; When it is confirmed that a customer is in a high-risk status, the customer's transaction elements are limited based on the transaction limit category of the customer's high-risk status.
13. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the transaction parameter setting method based on the clustering algorithm described in any one of claims 1 to 6 is implemented.
14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the transaction parameter setting method based on the clustering algorithm described in any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Medical consuming client automatic classification method based on K-means
CN108664653A
Supervised two-category data analysis method and system based on density clustering
CN110222782A
Product potential customer mining method and system
CN111639967A
System for predicting diseases based on upper gastrointestinal hemorrhage, equipment, and storage medium
CN112259219A
Pedestrian volume prediction method and device
CN112561188A
