Transaction supervision system based on risk control rule engine

By introducing intelligent rule optimization modules and distributed computing architectures into the risk control system, using LSTM model and reinforcement learning optimization strategies, the existing risk control system has solved the shortcomings in risk environment changes and data processing capabilities, and achieved efficient Accurate risk control decisions and system stability.

CN118887012AInactive Publication Date: 2024-11-01MACHINE SHOPKEEPER (NANJING) NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 5 Cited by

Patent Information

Application Number
CN202410847358.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-11-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing risk control systems rely on static rules and lack intelligent adjustment capabilities, making them difficult to cope with rapidly changing risk environments, insufficient data processing capabilities, and difficult to expand the computing architecture, resulting in unsatisfactory risk control results and bottlenecks in system performance.

Method used

Adopt a transaction supervision system based on the risk control rule engine, including configuration layer, rule engine, action engine, intelligent rule optimization module and distributed computing architecture, and use long-term memory network models and reinforcement learning optimization strategy rules to integrate data and efficiently calculate.

Benefits of technology

It significantly improves the dynamic adjustment and optimization capabilities of risk control strategies, improves the accuracy and real-time nature of risk control decisions, and can fully identify and deal with risks in multi-source heterogeneous data, ensuring the efficient and stable operation of the system under large-scale data processing. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118887012A_ABST
    Figure CN118887012A_ABST
Patent Text Reader

Abstract

The invention relates to the field of risk control systems, in particular to a transaction supervision system based on a risk control rule engine, which comprises a configuration layer, a rule engine, an action engine, an intelligent rule optimization module, a data fusion module and a distributed computing architecture, the configuration layer is used for setting a strategy rule set for each risk control scene, the strategy rule set comprises a plurality of strategy rules, and each strategy rule comprises rule attributes, feature conditions and attributes of the feature conditions; the intelligent rule optimization module comprises a data processing unit, a feature engineering and extraction unit, a model training and evaluation unit, a rule optimization unit and a feedback and adjustment unit; the beneficial effects are that the provided intelligent rule optimization module significantly improves the dynamic adjustment and optimization capability of the risk control strategy, and the optimization mechanism ensures that the system can adaptively cope with the constantly changing risk environment and maintain the optimal performance in the complex business scene, thereby improving the accuracy and real-time performance of the risk control decision.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of risk control systems, and in particular to a transaction supervision system based on a risk control rule engine. Background Art

[0002] The transaction supervision system is a comprehensive platform for monitoring and managing financial transaction activities, aiming to ensure the legality and security of transactions. The system monitors transaction data in real time, identifies anomalies and potential risks, and takes timely measures to prevent fraud and violations. The transaction supervision system usually integrates risk control rule engines, data analysis modules, real-time monitoring modules, and report generation modules, etc., and can provide comprehensive transaction monitoring, risk assessment, and compliance management functions. It not only improves the transparency and security of transactions, but also enhances the ability of regulators and enterprises to control market risks. On the basis of transaction supervision, it is generally based on the risk control rule engine for supervision. The risk control rule engine is an intelligent system for identifying and managing risks. It analyzes and processes data through predefined rules and strategies to make risk control decisions. It can receive a large amount of real-time data, extract useful features, and match corresponding risk control rules based on these features to judge and respond to potential risks. The risk control rule engine usually includes multiple modules such as data reception, feature extraction, rule matching, and decision execution, which can efficiently identify risks and take corresponding measures.

[0003] First, most existing risk control systems rely on static rules and predefined strategies, lacking intelligent dynamic adjustment capabilities. Since they cannot be intelligently optimized based on real-time and historical data, the systems are slow to respond to rapidly changing risk environments and often fail to adjust risk control strategies in a timely manner, resulting in unsatisfactory risk control results. In addition, the update and optimization of static rules require manual intervention, which is inefficient and difficult to cope with complex and changing business scenarios.

[0004] Secondly, traditional risk control systems have significant deficiencies in data processing. Many systems can only process data from a single source and have difficulty integrating heterogeneous data from multiple sources, such as user behavior, transaction records, and device status. This limitation in data processing capabilities makes it impossible for the system to fully and accurately identify and respond to risks. In addition, the existing system's data preprocessing and feature extraction capabilities are weak, and it is unable to fully utilize the valuable information contained in the data, which limits the accuracy of risk control decisions.

[0005] Finally, faced with large-scale data processing needs, the computing architecture of traditional risk control systems is often unable to cope with the needs. Existing systems generally adopt a centralized computing architecture with limited processing capabilities, which is difficult to expand and prone to performance bottlenecks under high load conditions. At the same time, the lack of effective load balancing and fault recovery mechanisms causes the system to be unable to maintain efficient and stable operation when it is overloaded or fails. This lack of processing power and scalability limits the application scope and processing efficiency of the system. Summary of the invention

[0006] The purpose of the present invention is to provide a transaction supervision system based on a risk control rule engine to solve the problems raised in the above background technology.

[0007] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: a transaction supervision system based on a risk control rule engine, characterized in that it includes a configuration layer, a rule engine, an action engine, an intelligent rule optimization module, a data fusion module and a distributed computing architecture;

[0008] The configuration layer is used to set a policy rule set for each risk control scenario, wherein the policy rule set includes multiple policy rules, and each policy rule includes rule attributes, feature conditions, and attributes of these feature conditions;

[0009] The rule engine is used to receive and analyze risk control data, extract features, identify risk control scenarios based on these features, match rules that meet the feature conditions in the corresponding strategy rule set, and determine the optimal gradient according to the preset strategy combination mode;

[0010] The action engine is used to execute the operation corresponding to the optimal gradient;

[0011] The intelligent rule optimization module includes a data processing unit, a feature engineering and extraction unit, a model training and evaluation unit, a rule optimization unit and a feedback and adjustment unit. The data processing unit is used to clean and normalize the data to ensure data quality and consistency. The data normalization expression is:

[0012]

[0013] Among them, x is the original data, and x′ is the normalized data;

[0014] The feature engineering and extraction unit is used to extract useful features from the preprocessed data and generate feature vectors for model training and optimization;

[0015] The model training and evaluation unit function is used to train the prediction model, evaluate its accuracy and performance, and select the optimal model for deployment. The model adopts the long short-term memory network model. The specific formula is as follows:

[0016] Input gate formula:

[0017] i t =σ(W i ·[h t-1 ,x t ]+b i ),

[0018] Forget gate formula:

[0019] f t =σ(W f ·[h t-1 ,x t ]+b f ),

[0020] Output gate formula:

[0021] o t =σ(W o ·[h t-1 ,x t ]+b o ),

[0022] Among them, i t , f t , o t is the activation value of the input gate, which is used to determine the amount of input information at the current moment. σ is the activation function, with a value between 0 and 1. W i , W f , W o is the weight matrix of the input gate, h t-1 is the hidden state at the previous moment, x t is the input data at the current moment, b i , b f , b o Bias vector for input gate;

[0023] Memory unit update formula:

[0024]

[0025] in, is the state value of the candidate memory unit, tanh is the hyperbolic tangent function with a value between -1 and 1, W C is the weight matrix of the memory unit, h t-1 is the hidden state at the previous moment, b C is the input data at the current moment, b C is the bias vector of the memory unit;

[0026] Hidden state update formula:

[0027] h t =o t tanh(Ct ),

[0028] Among them, h t is the hidden state at the current moment, o t is the activation value of the output gate, tanh(C t ) is the activation value of the memory cell state at the current moment;

[0029] The evaluation is performed using a mean square error function, and the mean square error function expression is:

[0030]

[0031] Where MSE is the mean square error, which is used to evaluate the difference between the model prediction value and the true value, n is the number of samples, and y is i is the true value, is the predicted value;

[0032] The rule optimization unit is used to adjust and optimize the policy rules, update the rule priority and execution order, and the optimization policy rules are optimized by using a gradient boosting decision tree. The optimization formula is:

[0033]

[0034] Among them, y i is the predicted value, h m (x i ) is the mth decision tree, γ m is the corresponding coefficient;

[0035] The feedback and adjustment unit is used to adjust the model parameters and strategy rules according to the real-time monitoring data to maintain the dynamic optimization of the system. The adjustment model parameters are adjusted in real time using Q learning in reinforcement learning. The reinforcement learning formula is:

[0036]

[0037] Among them, Q(s t ,a t ) is the state-action value function, which means that in state s t Next, perform action a t The value of α is the learning rate, which controls the update step size, r t+1 is the reward value, r is the discount factor, which measures the importance of future rewards, is in state s t+1 The maximum value that can be obtained by choosing the best action a;

[0038] The data fusion module is used to collect and fuse data from different sources for comprehensive processing and analysis;

[0039] The distributed computing architecture is used to perform large-scale data processing using distributed computing technology.

[0040] Preferably, the rule engine includes a data receiving module, a feature extraction module, a scene recognition module, a feature matching module, and a gradient selection module;

[0041] The data receiving module is used to receive risk control data;

[0042] The feature extraction module is used to connect with the data receiving module and extract features from the received data;

[0043] The scenario recognition module is used to connect with the feature extraction module to determine the risk control scenario and the relevant policy rule set according to the extracted features;

[0044] The feature matching module is used to connect with the scene recognition module, read the feature conditions according to the priority order of the strategy rule set to obtain the feature conditions and their attributes, and determine the gradient according to these feature attributes;

[0045] The gradient selection module is used to select the best gradient from the gradients in all strategy rule sets;

[0046] The feature extraction module is electrically connected to the data receiving module, the scene recognition module is electrically connected to the feature extraction module, the feature matching module is electrically connected to the scene recognition module, and the gradient selection module is electrically connected to the feature matching module.

[0047] Preferably, the feature matching module reads the feature conditions in the policy rule set according to a feature reading mode; the feature reading mode includes setting reading rules, and when the extracted features meet the reading rules, the feature conditions are read according to the priority order of the policy rule set.

[0048] Preferably, the data fusion module includes a data acquisition unit, a data preprocessing unit, a data integration unit and a feature extraction unit;

[0049] The data collection unit is used to ensure that the system can integrate different types of data, such as user behavior data, transaction data, and device data;

[0050] The data preprocessing unit is used to clean and normalize the data, remove noise, and ensure the quality and consistency of the data;

[0051] The data integration unit is used to fuse data from different sources to form a unified data set for further analysis and processing;

[0052] The feature extraction unit is used to identify and extract features useful for risk control decision-making and generate feature vectors;

[0053] The data analysis unit is used to use advanced analysis algorithms to conduct in-depth analysis of feature data to support risk control decisions.

[0054] Preferably, the data cleaning includes removing missing values ​​and processing outliers;

[0055] The denoising process adopts mean filtering, and the specific formula is as follows:

[0056]

[0057] Among them, y[i] is the denoised data, x[i] is the original data, and k is the window size;

[0058] The advanced analysis algorithm adopts a classification algorithm, and the specific formula is as follows:

[0059]

[0060] Among them, θ is the parameter vector used to define the weight of the model, x is the feature vector, which represents the characteristics of the input data, e is the base of the natural logarithm, which is approximately equal to 2.71828, m is the number of samples, and α is the learning rate, which controls the step size of the gradient descent. The formula indicates that in each step of the gradient descent iteration, the parameter vector θ is updated to minimize the loss function, thereby optimizing the classification model.

[0061] Preferably, the distributed computing architecture includes distributed computing nodes, a task scheduling unit, a data storage unit, a load balancing unit, and a fault recovery unit;

[0062] The distributed computing nodes are used to share computing tasks, process large-scale data, and improve computing efficiency and speed;

[0063] The task scheduling unit is used to dynamically allocate computing resources, optimize the task execution order, and ensure the efficient operation of the system;

[0064] The data storage unit is used to provide an efficient storage solution to ensure data security and fast access;

[0065] The load balancing unit is used to dynamically adjust the workload of the computing nodes to prevent overloading of a single node and improve the stability and performance of the system;

[0066] The fault recovery unit is used to ensure that the system can recover quickly when a fault occurs, so as to maintain the continuity of the computing task.

[0067] Preferably, the distributed computing nodes include a CPU, a memory, a storage unit and a network interface, and the nodes are interconnected by a high-speed network to support data exchange and task collaboration.

[0068] Preferably, the load balancing unit adopts a polling scheduling algorithm, a minimum connection number scheduling algorithm, etc. to perform load balancing, and the load balancing formula is:

[0069]

[0070] The i-load of a node is proportional to its current load and capacity.

[0071] Preferably, the data receiving module collects basic risk control data, including user behavior data, transaction data, and device data, and then cleans, normalizes, and denoises the collected data through a data fusion module to ensure data quality and consistency, and integrates the preprocessed data to form a unified data set. The data fusion module then extracts features from the integrated data and generates feature vectors. The rule engine is used to determine the risk control scenario based on the extracted features and select the corresponding policy rule set. The corresponding rule engine reads the feature conditions according to the priority order of the policy rule set, obtains the feature conditions and their attributes, and determines the gradient according to these feature attributes, so that the intelligent rule optimization module uses historical data for model training and evaluation, optimizes the policy rules according to the evaluation results, and dynamically adjusts the rule priority and execution order. The task scheduling unit dynamically allocates computing resources and optimizes the task execution order according to the current system load and task requirements. The computing nodes of the distributed computing architecture share computing tasks. Process large-scale data, improve computing efficiency and speed, and synchronize data analysis modules to analyze extracted features using advanced analysis algorithms to support risk control decisions. The rule engine will select the best gradient from the gradients in all policy rule sets, and finally execute the operation corresponding to the best gradient based on the selected best gradient action engine, and record the execution results. The intelligent rule optimization module monitors the system operation in real time, dynamically adjusts the model and rules based on feedback data, and maintains dynamic optimization of the system. After completion, the data storage unit provides an efficient storage solution to ensure data security and fast access. The corresponding storage management unit manages and retrieves stored data through the wavelet transform data compression algorithm to reduce storage space occupancy. The workload of the computing node is dynamically adjusted through the load balancing unit to prevent overload of a single node, improve the stability and performance of the system, and enable the fault recovery unit to monitor the node and task status in real time to ensure that the system can recover quickly in the event of a fault and maintain the continuity of computing tasks.

[0072] Compared with the prior art, the present invention has the following beneficial effects:

[0073] 1. The intelligent rule optimization module proposed in the present invention significantly improves the dynamic adjustment and optimization capabilities of risk control strategies. The module uses historical data for model training and evaluation, and dynamically adjusts rule priorities and execution order. This optimization mechanism ensures that the system can adaptively respond to the ever-changing risk environment and maintain optimal performance in complex business scenarios, thereby improving the accuracy and real-time nature of risk control decisions.

[0074] 2. The present invention proposes comprehensive processing and analysis of multi-source heterogeneous data. The data fusion module ensures the quality and consistency of the data, and supports accurate risk control decisions through feature extraction and advanced analysis algorithms. Multi-level data fusion and analysis improve the accuracy of risk control decisions, ensuring that the system can comprehensively and accurately identify and respond to various risks.

[0075] 3. The efficient distributed computing architecture proposed in the present invention greatly improves the processing power and scalability of the system. Through task scheduling and load balancing, the system can dynamically allocate computing resources, optimize the order of task execution, and prevent overload of a single node. The fault recovery unit ensures that the system recovers quickly in the event of a fault and maintains the continuity of computing tasks. This architecture effectively responds to large-scale data processing needs and ensures efficient and stable operation of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] Figure 1 It is a schematic diagram of the system module of the present invention;

[0077] Figure 2 This is a schematic diagram of the intelligent rule optimization module of the present invention;

[0078] Figure 3 This is a schematic diagram of the rule engine of the present invention;

[0079] Figure 4 This is a schematic diagram of a data fusion module of the present invention;

[0080] Figure 5 Schematic diagram of this distributed computing architecture. DETAILED DESCRIPTION

[0081] In order to make the purpose and technical solution of the present invention clearly and completely described, and the advantages more clearly understood, the embodiments of the present invention are further described in detail with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are part of the embodiments of the present invention, rather than all of the embodiments, and are only used to explain the embodiments of the present invention, and are not used to limit the embodiments of the present invention. All other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0082] Embodiment 1

[0083] See also Figure 1 - Figure 2 ,The present invention provides a technical solution including a configuration layer, a rule engine, an action engine, an intelligent rule optimization module, a data fusion module and a distributed computing architecture;

[0084] The configuration layer is used to set a policy rule set for each risk control scenario. The policy rule set contains multiple policy rules. Each policy rule contains rule attributes, feature conditions, and the attributes of these feature conditions.

[0085] The rule engine is used to receive and analyze risk control data, extract features, identify risk control scenarios based on these features, match rules that meet the feature conditions in the corresponding strategy rule set, and determine the optimal gradient according to the preset strategy combination mode;

[0086] The action engine is used to execute the operation corresponding to the best gradient;

[0087] The intelligent rule optimization module includes a data processing unit, a feature engineering and extraction unit, a model training and evaluation unit, a rule optimization unit, and a feedback and adjustment unit. The data processing unit is used to clean and normalize the data to ensure data quality and consistency. The data normalization expression is:

[0088]

[0089] Among them, x is the original data, and x′ is the normalized data;

[0090] The feature engineering and extraction unit is used to extract useful features from the preprocessed data and generate feature vectors for model training and optimization;

[0091] The model training and evaluation unit function is used to train the prediction model, evaluate its accuracy and performance, and select the optimal model for deployment. The model uses the long short-term memory network model. The specific formula is as follows:

[0092] Input gate formula:

[0093] i t =σ(W i ·[h t-1 ,x t ]+b i ),

[0094] Forget gate formula:

[0095] f t =σ(W f ·[h t-1 ,x t ]+b f ),

[0096] Output gate formula:

[0097] ot =σ(W o ·[h t-1 ,x t ]+b o ),

[0098] Among them, i t , f t , o t is the activation value of the input gate, which is used to determine the amount of input information at the current moment. σ is the activation function, with a value between 0 and 1. W i , W f , W o is the weight matrix of the input gate, h t-1 is the hidden state at the previous moment, x t is the input data at the current moment, b i , b f , b o Bias vector for input gate;

[0099] Memory unit update formula:

[0100]

[0101] in, is the state value of the candidate memory unit, tanh is the hyperbolic tangent function with a value between -1 and 1, W C is the weight matrix of the memory unit, h t-1 is the hidden state at the previous moment, b C is the input data at the current moment, b C is the bias vector of the memory unit;

[0102] Hidden state update formula:

[0103] h t =o t tanh(C t ),

[0104] Among them, h t is the hidden state at the current moment, o t is the activation value of the output gate, tanh(C t ) is the activation value of the memory cell state at the current moment;

[0105] The evaluation is performed using the mean square error function, which is expressed as:

[0106]

[0107] Where MSE is the mean square error, which is used to evaluate the difference between the model prediction value and the true value, n is the number of samples, and y is i is the true value, is the predicted value;

[0108] The rule optimization unit is used to adjust and optimize the policy rules, update the rule priority and execution order, and optimize the policy rules using the gradient boosting decision tree. The optimization formula is:

[0109]

[0110] Among them, y i is the predicted value, h m (x i ) is the mth decision tree, γ m is the corresponding coefficient;

[0111] The feedback and adjustment unit is used to adjust the model parameters and strategy rules according to the real-time monitoring data to maintain the dynamic optimization of the system. The model parameters are adjusted in real time using Q learning in reinforcement learning. The reinforcement learning formula is:

[0112]

[0113] Among them, Q(s t ,a t ) is the state-action value function, which means that in state s t Next, perform action a t The value of α is the learning rate, which controls the update step size, r t+1 is the reward value, r is the discount factor, which measures the importance of future rewards, is in state s t+1 The maximum value that can be obtained by choosing the best action a;

[0114] The data fusion module is used to collect and fuse data from different sources for comprehensive processing and analysis;

[0115] Distributed computing architecture is used for large-scale data processing using distributed computing techniques.

[0116] Specifically, the configuration layer sets risk control scenarios and corresponding policy rule sets to ensure that the system can adopt corresponding risk control strategies for different scenarios, thereby improving the flexibility and adaptability of the system and enabling the system to cope with changing business scenarios; through the rule engine, the system can extract features from the received risk control data, identify the corresponding risk control scenarios, and match the best policy rules for processing, thereby achieving efficient risk control data processing and decision-making, and improving the response speed and accuracy of the system; according to the optimal gradient determined by the rule engine, the action engine performs corresponding operations to achieve the expected risk control effect, wherein the action engine performs predefined operations based on the output of the rule engine, thereby ensuring that the system can take measures quickly to reduce the impact of risk events; the data processing unit cleans and normalizes the data to eliminate the impact of different data scales and improve the accuracy of data analysis, thereby ensuring the quality and consistency of the data and making subsequent data analysis more reliable; the feature engineering and extraction unit extracts useful features from the preprocessed data and generates feature vectors for model training and optimization, thereby improving the accuracy and effectiveness of the model and enhancing the system Risk control capability; the model training and evaluation unit models time series data through the LSTM model, which can capture long-term dependencies in the data and improve the accuracy of predictions, thereby selecting the optimal model for deployment and improving the system's prediction accuracy and risk control capability; the rule optimization unit adjusts and optimizes the strategy rules according to the model evaluation results, updates the rule priority and execution order, and optimizes the prediction performance of the overall model by gradually adding weak learners through the gradient boosting decision tree, thereby dynamically adjusting and optimizing the strategy rules and improving the flexibility and response speed of the system; the feedback and adjustment unit uses the Q learning algorithm of reinforcement learning to enable the system to dynamically adjust the strategy according to real-time data and maintain an optimized state, thereby enhancing the system's adaptive ability and ensuring the effectiveness and accuracy of the risk control strategy. The data fusion module collects and fuses data from different sources for comprehensive processing and analysis, thereby providing comprehensive data support and enhancing the reliability of risk control decisions; the distributed computing architecture distributes computing tasks to multiple nodes for parallel processing to improve computing efficiency and processing speed, thereby adapting to large-scale data processing needs and improving the system's processing capability and scalability.

[0117] Embodiment 2

[0118] See also Figure 3 , based on the first embodiment, the rule engine includes a data receiving module, a feature extraction module, a scene recognition module, a feature matching module, and a gradient selection module;

[0119] The data receiving module is used to receive risk control data;

[0120] The feature extraction module is used to connect with the data receiving module and extract features from the received data;

[0121] The scenario recognition module is used to connect with the feature extraction module to determine the risk control scenario and related policy rule set based on the extracted features;

[0122] The feature matching module is used to connect with the scene recognition module, read the feature conditions according to the priority order of the strategy rule set to obtain the feature conditions and their attributes, and determine the gradient according to these feature attributes;

[0123] The gradient selection module is used to select the best gradient from the gradients in all policy rule sets;

[0124] The feature extraction module is electrically connected to the data receiving module, the scene recognition module is electrically connected to the feature extraction module, the feature matching module is electrically connected to the scene recognition module, the gradient selection module is electrically connected to the feature matching module, and the feature matching module reads the feature conditions in the strategy rule set according to the feature reading mode; the feature reading mode includes setting the reading rules, and when the extracted features meet the reading rules, the feature conditions are read according to the priority order of the strategy rule set.

[0125] Specifically, the data receiving module receives basic risk control data such as user behavior data, transaction data and device data in real time through an interface with an external data source. These data can be quickly and stably transmitted to the system through the electrical connection of the data receiving module, ensuring the real-time and integrity of the data; the feature extraction module obtains real-time data from the data receiving module through an electrical connection. This module uses feature engineering technology to extract key features from the data and generate feature vectors. Feature engineering includes data cleaning, normalization, feature selection and other steps. Through these steps, the system can identify and extract features that are useful for risk control decisions, thereby improving the predictive ability and accuracy of the model; the scene recognition module obtains the feature vector generated by the feature extraction module through an electrical connection. This module determines the current risk control scenario by analyzing these features and selects the corresponding policy rule set. Through scene recognition, the system can Different risk control scenarios adopt corresponding strategies to improve the flexibility and adaptability of the system; the feature matching module obtains risk control scenario information from the scene recognition module through electrical connection. The module reads the feature conditions according to the priority order of the policy rule set, obtains the feature conditions and their attributes, and determines the gradient according to these feature attributes. The feature matching module adopts a feature reading mode, including setting reading rules. When the extracted features meet the reading rules, the feature conditions are read according to the priority order of the policy rule set. This ensures that the system can dynamically adjust and optimize the risk control strategy according to the matching situation of the current features; the gradient selection module obtains gradient information from the feature matching module through electrical connection. The module selects the best gradient by comparing the gradients in all policy rule sets and uses it for risk control decisions. The gradient selection module ensures that the system can take the best risk control measures and improve the accuracy and efficiency of risk control decisions.

[0126] Embodiment 3

[0127] See also Figure 4-Figure 5 , based on the second embodiment, the data fusion module includes a data acquisition unit, a data preprocessing unit, a data integration unit and a feature extraction unit;

[0128] The data collection unit is used to ensure that the system can integrate different types of data, such as user behavior data, transaction data, and device data;

[0129] The data preprocessing unit is used to clean and normalize data, remove noise, and ensure data quality and consistency;

[0130] The data integration unit is used to fuse data from different sources to form a unified data set for further analysis and processing;

[0131] The feature extraction unit is used to identify and extract features useful for risk control decisions and generate feature vectors;

[0132] The data analysis unit is used to conduct in-depth analysis of feature data using advanced analysis algorithms to support risk control decisions;

[0133] Data cleaning includes removing missing values ​​and dealing with outliers;

[0134] The denoising process uses mean filtering, and the specific formula is as follows:

[0135]

[0136] Among them, y[i] is the denoised data, x[i] is the original data, and k is the window size;

[0137] The advanced analysis algorithm adopts the classification algorithm, and the specific formula is as follows:

[0138]

[0139] Among them, θ is the parameter vector used to define the weight of the model, x is the feature vector, which represents the characteristics of the input data, e is the base of the natural logarithm, which is approximately equal to 2.71828, m is the number of samples, α is the learning rate, which controls the step size of the gradient descent. The formula indicates that in each step of the gradient descent iteration, the parameter vector θ is updated to minimize the loss function, thereby optimizing the classification model;

[0140] The distributed computing architecture includes distributed computing nodes, task scheduling units, data storage units, load balancing units, and fault recovery units;

[0141] Distributed computing nodes are used to share computing tasks, process large-scale data, and improve computing efficiency and speed;

[0142] The task scheduling unit is used to dynamically allocate computing resources, optimize the order of task execution, and ensure the efficient operation of the system;

[0143] The data storage unit is used to provide efficient storage solutions to ensure data security and fast access;

[0144] The load balancing unit is used to dynamically adjust the workload of computing nodes to prevent overloading of a single node and improve the stability and performance of the system;

[0145] The fault recovery unit is used to ensure that the system can recover quickly when a fault occurs and maintain the continuity of computing tasks;

[0146] Distributed computing nodes include CPU, memory, storage unit and network interface. High-speed network is used to interconnect nodes to support data exchange and task collaboration. The load balancing unit uses polling scheduling algorithm, minimum connection number scheduling algorithm and other algorithms to balance load. The load balancing formula is:

[0147]

[0148] The i-load of a node is proportional to its current load and capacity.

[0149] Specifically, the data collection unit can ensure that the system can integrate different types of data, such as user behavior data, transaction data, and device data. Through the integration of multiple data sources, the data collection unit can collect and summarize various types of data in real time. These data provide a comprehensive risk control foundation for the system, ensuring the diversity and comprehensiveness of the data, thereby providing multi-source data support and enhancing the comprehensiveness and reliability of the system; the data preprocessing unit can clean and normalize the data, denoise it, and ensure the quality and consistency of the data. The data preprocessing unit ensures the quality of the data through data cleaning (removing missing values ​​and processing outliers) and denoising (mean filtering), ensuring the high quality of the data The data integration unit integrates data from different sources to form a unified data set for further analysis and processing, so that the data integration unit can integrate the pre-processed data, eliminate data redundancy and inconsistency, and form a unified data set to improve the consistency and integrity of the data and ensure that the data can be effectively used and analyzed; the feature extraction unit can identify and extract features that are useful for risk control decisions and generate feature vectors. It uses feature engineering technology to extract key features from data and generate feature vectors. These feature vectors are used for model training and optimization to improve the accuracy of risk control decisions. The data analysis unit uses advanced analysis algorithms to conduct in-depth analysis of feature data to support risk control decisions. The data analysis unit uses classification algorithms to analyze feature data to improve the accuracy and timeliness of risk control decisions by optimizing classification models. Distributed computing nodes can share computing tasks, process large-scale data, and improve computing efficiency and speed. They significantly improve the computing power of the system by processing tasks in parallel. Each computing node contains CPU, memory, storage unit, and network interface. The nodes are interconnected through high-speed networks to support data exchange and task collaboration, thereby improving computing efficiency and processing speed. processing speed to meet the needs of large-scale data processing; the task scheduling unit can dynamically allocate computing resources, optimize the order of task execution, and ensure the efficient operation of the system. It uses advanced task scheduling algorithms to dynamically adjust the allocation and execution order of tasks according to the current system load and task requirements, and optimize resource utilization efficiency, thereby ensuring efficient use of system resources and improving task execution efficiency; the data storage unit can provide efficient storage solutions to ensure data security and fast access. It uses a distributed file system to store data, and the data is automatically sharded and copied to multiple nodes to ensure data reliability and high availability, thereby ensuring data security and efficient access and improving data storage reliability;The load balancing unit can dynamically adjust the workload of computing nodes to prevent overloading of a single node and improve the stability and performance of the system. It uses polling scheduling algorithms, minimum connection number scheduling algorithms, etc. for load balancing to prevent overloading of a single node and improve the stability and performance of the system. The fault recovery unit can ensure that the system can recover quickly when a fault occurs and maintain the continuity of computing tasks. It monitors the node and task status in real time, detects and handles faults in a timely manner. The unit supports task restart and data recovery functions to ensure that the system can quickly resume normal operation, thereby improving the reliability and availability of the system and ensuring the continuity of computing tasks. ;

[0150] Embodiment 4

[0151] See also Figure 1 On the basis of the third embodiment, the data receiving module collects basic risk control data, including user behavior data, transaction data, and device data, and then cleans, normalizes, and denoises the collected data through the data fusion module to ensure the quality and consistency of the data, and integrates the preprocessed data to form a unified data set. After that, the data fusion module extracts features from the integrated data and generates feature vectors. Then, the rule engine is used to determine the risk control scenario according to the extracted features and select the corresponding policy rule set. The corresponding rule engine reads the feature conditions according to the priority order of the policy rule set, obtains the feature conditions and their attributes, and determines the gradient according to these feature attributes, so that the intelligent rule optimization module uses historical data for model training and evaluation, optimizes the policy rules according to the evaluation results, and dynamically adjusts the rule priority and execution order. The task scheduling unit dynamically allocates computing resources and optimizes the task execution order according to the current system load and task requirements. The computing nodes of the distributed computing architecture share computing Tasks, process large-scale data, improve computing efficiency and speed, the synchronous data analysis module uses advanced analysis algorithms to analyze the extracted features to support risk control decisions, and the rule engine will select the best gradient from the gradients of all policy rule sets, and finally execute the operation corresponding to the best gradient according to the selected best gradient action engine, and record the execution results, and the intelligent rule optimization module monitors the system operation in real time, dynamically adjusts the model and rules based on feedback data, and maintains the dynamic optimization of the system. After completion, the data storage unit provides an efficient storage solution to ensure data security and fast access. The corresponding storage management unit manages and retrieves the stored data through the wavelet transform data compression algorithm to reduce storage space occupancy, and dynamically adjusts the workload of the computing node through the load balancing unit to prevent overload of a single node, improve the stability and performance of the system, and enable the fault recovery unit to monitor the node and task status in real time to ensure that the system can recover quickly in the event of a fault and maintain the continuity of computing tasks.

[0152] Specifically, the data receiving module is used to collect basic risk control data, including user behavior data, transaction data and device data. The data receiving module can collect and summarize various types of risk control data in real time through the interface with the external data source. These data provide comprehensive basic information for the system to ensure the diversity and comprehensiveness of the data. The collected data is cleaned, normalized and denoised through the data fusion module to ensure the quality and consistency of the data. Specifically, data cleaning includes removing missing values ​​and processing outliers, while denoising uses mean filtering. Through the above preprocessing steps, the data fusion module can effectively remove noise and inconsistency in the data to ensure the high quality and reliability of the data; preprocessing The processed data is fused through the data integration unit to form a unified data set for further analysis and processing. The data integration unit fuses data from different sources into a unified data set to eliminate data redundancy and inconsistency. In this way, the system can provide more comprehensive and consistent data support, laying the foundation for subsequent feature extraction and analysis. The data fusion module extracts features from the integrated data and generates feature vectors. The feature extraction unit identifies and extracts features that are useful for risk control decisions through feature engineering technology. These feature vectors will be used in the rule engine to determine risk control scenarios; the rule engine determines the risk control scenario based on the feature vector generated by the feature extraction unit and selects the corresponding strategy rule set. The rule engine By analyzing the feature vector, identifying the current risk control scenario, and matching the corresponding strategy rule set, the rule engine reads the feature conditions according to the priority order of the strategy rule set, obtains the feature conditions and their attributes, and determines the gradient according to these feature attributes. By reading the feature conditions in priority order, the rule engine can ensure the selection of the optimal risk control strategy and improve the accuracy and real-time performance of risk control decisions; the intelligent rule optimization module uses historical data for model training and evaluation, optimizes the strategy rules according to the evaluation results, and dynamically adjusts the rule priority and execution order. The model training and evaluation unit uses the long short-term memory network model for training and evaluates its accuracy and performance. In this way, the intelligent rule optimization module The block can continuously optimize the risk control strategy, improve the system's adaptability, and ensure optimal performance in complex and ever-changing business scenarios; the task scheduling unit dynamically allocates computing resources and optimizes the order of task execution according to the current system load and task requirements. The computing nodes of the distributed computing architecture share computing tasks, process large-scale data, and improve computing efficiency and speed. The distributed computing nodes include CPU, memory, storage unit and network interface. The nodes are interconnected by high-speed network to support data exchange and task collaboration. The task scheduling unit uses advanced task scheduling algorithms to dynamically adjust task allocation according to system load and task requirements to ensure efficient use of system resources and improve task execution efficiency and computing speed.The data analysis module uses advanced analysis algorithms to analyze the extracted features to support risk control decisions. The advanced analysis algorithm adopts a classification algorithm. By optimizing the classification model, the data analysis module can improve the accuracy and timeliness of risk control decisions. The rule engine selects the best gradient from the gradients in all policy rule sets. The action engine performs corresponding operations based on the selected best gradient and records the execution results. The gradient selection module selects the best gradient by comparing the gradients in all policy rule sets and uses it for risk control decisions. The action engine performs operations corresponding to the best gradient to ensure that the system can take the best risk control measures, improve the accuracy and efficiency of risk control decisions, and reduce the impact of risk events. The intelligent rule optimization module monitors the system operation in real time, dynamically adjusts the model and rules based on feedback data, and maintains the dynamic optimization of the system. By monitoring the system operation in real time, the intelligent rule optimization module can dynamically adjust the model parameters and policy rules based on feedback data, maintain the optimal state of the system, enhance the system's adaptive ability, and ensure the effectiveness and accuracy of the risk control strategy. After completion, the data storage unit provides an efficient storage solution to ensure Data security and fast access, the storage management unit manages and retrieves the stored data through the wavelet transform data compression algorithm to reduce storage space occupation. Through this data compression and management method, the data storage unit can efficiently manage and retrieve data and improve storage utilization efficiency; the load balancing unit dynamically adjusts the workload of the computing node to prevent single node overload and improve the stability and performance of the system. The load balancing unit performs load balancing through polling scheduling algorithm, minimum connection number scheduling algorithm, etc. to ensure that the workload of the computing node is evenly distributed and improve the stability and performance of the system. The fault recovery unit monitors the node and task status in real time to ensure that the system can recover quickly when a fault occurs and maintain the continuity of the computing task. The fault recovery unit monitors the node and task status in real time, detects and handles faults in time, supports task restart and data recovery functions, and improves the reliability and availability of the system; in this way, through the collaborative work of the above modules, the system can efficiently process and analyze risk control data, dynamically adjust and optimize risk control strategies, improve the accuracy and real-time nature of risk control decisions, and ensure that the system maintains optimal performance in complex and changing business scenarios. ;

[0153] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A transaction supervision system based on a risk control rule engine, characterized in that: It includes configuration layer, rule engine, action engine, intelligent rule optimization module, data fusion module and distributed computing architecture; The configuration layer is used to set a policy rule set for each risk control scenario, wherein the policy rule set includes multiple policy rules, and each policy rule includes rule attributes, feature conditions, and attributes of these feature conditions; The rule engine is used to receive and analyze risk control data, extract features, identify risk control scenarios based on these features, match rules that meet the feature conditions in the corresponding strategy rule set, and determine the optimal gradient according to the preset strategy combination mode; The action engine is used to execute the operation corresponding to the optimal gradient; The intelligent rule optimization module includes a data processing unit, a feature engineering and extraction unit, a model training and evaluation unit, a rule optimization unit and a feedback and adjustment unit. The data processing unit is used to clean and normalize the data to ensure data quality and consistency. The data normalization expression is: Among them, x is the original data, and x′ is the normalized data; The feature engineering and extraction unit is used to extract useful features from the preprocessed data and generate feature vectors for model training and optimization; The model training and evaluation unit function is used to train the prediction model, evaluate its accuracy and performance, and select the optimal model for deployment. The model adopts the long short-term memory network model. The specific formula is as follows: Input gate formula: i t =σ(W i ·[h t-1 ,x t ]+b i ), Forget gate formula: f t =σ(W f ·[h t-1 ,x t ]+b f ), Output gate formula: the t =σ(W o ·[h t-1 ,x t ]+b o ), Among them, i t , f t , o t is the activation value of the input gate, which is used to determine the amount of input information at the current moment. σ is the activation function, with a value between 0 and 1. W i , W f , W o is the weight matrix of the input gate, h t-1 is the hidden state at the previous moment, x t is the input data at the current moment, b i , b f , b o Bias vector for input gate; Memory unit update formula: in, is the state value of the candidate memory unit, tanh is the hyperbolic tangent function with a value between -1 and 1, W C is the weight matrix of the memory unit, k t-1 is the hidden state at the previous moment, b C is the input data at the current moment, b C is the bias vector of the memory unit; Hidden state update formula: h t =o t ·tanh(C t ), Among them, h t is the hidden state at the current moment, o t is the activation value of the output gate, tanh(C t ) is the activation value of the memory cell state at the current moment; The evaluation is performed using a mean square error function, and the mean square error function expression is: Where MSE is the mean square error, which is used to evaluate the difference between the model prediction value and the true value, n is the number of samples, and y is i is the true value, is the predicted value; The rule optimization unit is used to adjust and optimize the policy rules, update the rule priority and execution order, and the optimization policy rules are optimized by using a gradient boosting decision tree. The optimization formula is: Among them, y i is the predicted value, h m (x i ) is the mth decision tree, γ m is the corresponding coefficient; The feedback and adjustment unit is used to adjust the model parameters and strategy rules according to the real-time monitoring data to maintain the dynamic optimization of the system. The adjustment model parameters are adjusted in real time using Q learning in reinforcement learning. The reinforcement learning formula is: Among them, Q(s t ,a t ) is the state-action value function, which means that in state s t Next, perform action a t The value of α is the learning rate, which controls the update step size, r t+1 is the reward value, r is the discount factor, which measures the importance of future rewards, is in state s t+1 The maximum value that can be obtained by choosing the best action a; The data fusion module is used to collect and fuse data from different sources for comprehensive processing and analysis; The distributed computing architecture is used to perform large-scale data processing using distributed computing technology.

2. A transaction supervision system based on a risk control rule engine according to claim 1, characterized in that: The rule engine includes a data receiving module, a feature extraction module, a scene recognition module, a feature matching module, and a gradient selection module; The data receiving module is used to receive risk control data; The feature extraction module is used to connect with the data receiving module and extract features from the received data; The scenario recognition module is used to connect with the feature extraction module to determine the risk control scenario and the relevant policy rule set according to the extracted features; The feature matching module is used to connect with the scene recognition module, read the feature conditions according to the priority order of the strategy rule set to obtain the feature conditions and their attributes, and determine the gradient according to these feature attributes; The gradient selection module is used to select the best gradient from the gradients in all strategy rule sets; the feature extraction module is electrically connected to the data receiving module, the scene recognition module is electrically connected to the feature extraction module, the feature matching module is electrically connected to the scene recognition module, and the gradient selection module is electrically connected to the feature matching module.

3. A transaction supervision system based on a risk control rule engine according to claim 1, characterized in that: The feature matching module reads the feature conditions in the strategy rule set according to the feature reading mode; The feature reading mode includes setting a reading rule, and when the extracted feature meets the reading rule, the feature condition is read according to the priority order of the policy rule set.

4. A transaction supervision system based on a risk control rule engine according to claim 1, characterized in that: The data fusion module includes a data acquisition unit, a data preprocessing unit, a data integration unit and a feature extraction unit; The data collection unit is used to ensure that the system can integrate different types of data, such as user behavior data, transaction data, and device data; The data preprocessing unit is used to clean and normalize the data, remove noise, and ensure the quality and consistency of the data; The data integration unit is used to fuse data from different sources to form a unified data set for further analysis and processing; The feature extraction unit is used to identify and extract features useful for risk control decision-making and generate feature vectors; The data analysis unit is used to use advanced analysis algorithms to conduct in-depth analysis of feature data to support risk control decisions.

5. A transaction supervision system based on a risk control rule engine according to claim 4, characterized in that: The data cleaning includes removing missing values ​​and processing outliers; The denoising process adopts mean filtering, and the specific formula is as follows: Among them, y[i] is the denoised data, x[i] is the original data, and k is the window size; The advanced analysis algorithm adopts a classification algorithm, and the specific formula is as follows: Among them, θ is the parameter vector used to define the weight of the model, x is the feature vector, which represents the characteristics of the input data, e is the base of the natural logarithm, which is approximately equal to 2.71828, m is the number of samples, and α is the learning rate, which controls the step size of the gradient descent. The formula indicates that in each step of the gradient descent iteration, the parameter vector θ is updated to minimize the loss function, thereby optimizing the classification model.

6. A transaction supervision system based on a risk control rule engine according to claim 4, characterized in that: The distributed computing architecture includes distributed computing nodes, a task scheduling unit, a data storage unit, a load balancing unit, and a fault recovery unit; The distributed computing nodes are used to share computing tasks, process large-scale data, and improve computing efficiency and speed; The task scheduling unit is used to dynamically allocate computing resources, optimize the task execution order, and ensure the efficient operation of the system; The data storage unit is used to provide an efficient storage solution to ensure data security and fast access; The load balancing unit is used to dynamically adjust the workload of the computing nodes to prevent overloading of a single node and improve the stability and performance of the system; The fault recovery unit is used to ensure that the system can recover quickly when a fault occurs, so as to maintain the continuity of the computing task.

7. A transaction supervision system based on a risk control rule engine according to claim 6, characterized in that: The distributed computing nodes include a CPU, a memory, a storage unit and a network interface. The nodes are interconnected by a high-speed network to support data exchange and task collaboration.

8. A transaction supervision system based on a risk control rule engine according to claim 6, characterized in that: The load balancing unit uses a polling scheduling algorithm, a minimum connection number scheduling algorithm, etc. to perform load balancing. The load balancing formula is: The i-load of a node is proportional to its current load and capacity.

9. A transaction supervision system based on a risk control rule engine according to claim 1, characterized in that: The data receiving module collects basic risk control data, including user behavior data, transaction data, and device data, and then cleans, normalizes, and denoises the collected data through the data fusion module to ensure data quality and consistency, and integrates the preprocessed data to form a unified data set. The data fusion module then extracts features from the integrated data and generates feature vectors. The rule engine determines the risk control scenario based on the extracted features and selects the corresponding policy rule set. The corresponding rule engine reads the feature conditions according to the priority order of the policy rule set, obtains the feature conditions and their attributes, and determines the gradient based on these feature attributes, so that the intelligent rule optimization module uses historical data for model training and evaluation, optimizes the policy rules based on the evaluation results, and dynamically adjusts the rule priority and execution order. The task scheduling unit dynamically allocates computing resources and optimizes the task execution order based on the current system load and task requirements. The computing nodes of the distributed computing architecture share computing tasks and process Large-scale data improves computing efficiency and speed. The synchronized data analysis module uses advanced analysis algorithms to analyze the extracted features to support risk control decisions. The rule engine will select the best gradient from the gradients in all policy rule sets. Finally, the action engine will execute the operation corresponding to the best gradient based on the selected best gradient and record the execution results. The intelligent rule optimization module monitors the system operation in real time, dynamically adjusts the model and rules based on feedback data, and maintains the dynamic optimization of the system. After completion, the data storage unit provides an efficient storage solution to ensure data security and fast access. The corresponding storage management unit manages and retrieves the stored data through the wavelet transform data compression algorithm to reduce storage space occupancy. The workload of the computing node is dynamically adjusted through the load balancing unit to prevent overload of a single node and improve the stability and performance of the system. The fault recovery unit monitors the node and task status in real time to ensure that the system can recover quickly in the event of a fault and maintain the continuity of computing tasks.

Citation Information

Cited By

  • Risk control behavior early warning prediction method and system based on Al identification

    CN119379427A

  • Rule engine-based intelligent configuration method for power transaction settlement strategy

    CN119671606A

  • Risk control rule engine construction and data processing method based on node arrangement

    CN121903612A

  • A Method for Building and Processing Risk Control Rule Engines Based on Node Orchestration

    CN121903612B

  • Rule-engine-based intelligent configuration method for power transaction settlement strategy

    WO2026108526A1