CN112700329A - Response method of wind control rule engine and wind control rule engine - Google Patents
Response method of wind control rule engine and wind control rule engine Download PDFInfo
- Publication number
- CN112700329A CN112700329A CN202110110895.4A CN202110110895A CN112700329A CN 112700329 A CN112700329 A CN 112700329A CN 202110110895 A CN202110110895 A CN 202110110895A CN 112700329 A CN112700329 A CN 112700329A
- Authority
- CN
- China
- Prior art keywords
- rule
- node
- fact
- beta
- matching
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 230000004044 response Effects 0.000 title claims abstract description 22
- 230000015654 memory Effects 0.000 claims description 13
- 238000004806 packaging method and process Methods 0.000 claims description 12
- 230000003936 working memory Effects 0.000 claims description 9
- 238000001914 filtration Methods 0.000 claims description 5
- 230000003213 activating effect Effects 0.000 claims description 4
- 230000004913 activation Effects 0.000 claims description 4
- 230000008676 import Effects 0.000 claims description 4
- 238000012797 qualification Methods 0.000 claims description 4
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000012552 review Methods 0.000 claims description 3
- 238000012423 maintenance Methods 0.000 abstract description 4
- 230000008859 change Effects 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012502 risk assessment Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/03—Credit; Loans; Processing thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0639—Performance analysis of employees; Performance analysis of enterprise or organisation operations
- G06Q10/06393—Score-carding, benchmarking or key performance indicator [KPI] analysis
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Development Economics (AREA)
- Economics (AREA)
- General Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Entrepreneurship & Innovation (AREA)
- Physics & Mathematics (AREA)
- Finance (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Marketing (AREA)
- Educational Administration (AREA)
- Technology Law (AREA)
- Game Theory and Decision Science (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a response method of a wind control rule engine and the wind control rule engine, wherein the method comprises the following steps: receiving request information sent by a client, wherein the request information carries label information and request data of a client user; matching a corresponding rule scene according to the request data, and calling a corresponding decision rule according to the rule scene; acquiring risk information of a client according to the label information, inputting the risk information into a decision rule, and acquiring a risk decision result; and returning the risk decision result to the client. The invention can separate the wind control rule engine from the complex business logic, obviously reduces the difficulty of realizing the business logic, reduces the maintenance and expandability cost of the application program, and is convenient to modify the business rules, thereby realizing the on-demand change of the business rules.
Description
Technical Field
The invention relates to the technical field of rule engines, in particular to a response method of a wind control rule engine and the wind control rule engine.
Background
The key point of the consumption finance lies in a wind control system, and the wind control system needs to automatically process a large number of services in real time in the service directions of consumption staging, cash credit or credit card compensation and the like, and plays roles of risk assessment, processing and early warning before, during and after the credit. The core of the wind control system is a wind control rule engine which can be used for receiving the collected basic data and outputting a risk evaluation result.
However, the conventional wind control rule engine is mainly embedded in a background code, and the data acquisition, the rule definition and the risk judgment are realized by directly using a hard coding mode, so that the rule iteration cost is high, and the modification and maintenance of the rule are inconvenient.
Disclosure of Invention
In view of the above, it is necessary to provide a response method of a wind control rule engine and a wind control rule engine in order to solve the above technical problems.
A response method of a wind control rule engine comprises the following steps: receiving request information sent by a client, wherein the request information carries label information and request data of a client user; matching a corresponding rule scene according to the request data, and calling a corresponding decision rule according to the rule scene; acquiring risk information of a client according to the label information, inputting the risk information into a decision rule, and acquiring a risk decision result; and returning the risk decision result to the client.
In one embodiment, the matching a corresponding rule scenario according to the request data and invoking a corresponding decision rule according to the rule scenario specifically include: the request data carries fact information, and a corresponding rule scene is matched according to the fact information; and setting a corresponding decision rule in the rule scene, and calling the decision rule according to the rule scene.
In one embodiment, the rule scenario includes: qualification review, credit rate calculation, credit rating, risk discovery, point management, credit update, and user lock unlock.
In one embodiment, the inputting the risk information into a decision rule to obtain a risk decision result specifically includes: determining a fact according to the fact information and the risk information, establishing a working memory element for the fact, and packaging the fact in the working memory element to form a fact element; establishing RETE networks according to the decision rules, wherein a plurality of decision rules are set; and inputting the fact elements into the RETE network, and sequentially entering subsequent nodes for matching according to a matching sequence to obtain a risk decision result.
In one embodiment, the creating a RETE network according to the decision rule specifically includes: creating a root node from which the fact element imports the RETE network; and acquiring all decision rules, sequentially acquiring corresponding modes according to all decision rules, and filtering the fact elements.
In one embodiment, the obtaining all the decision rules sequentially obtains the corresponding modes according to all the decision rules, and filters the fact elements, specifically including: checking the parameter type in the mode, and if the parameter type is a new type, adding a new type node; checking whether an alpha node corresponding to the mode exists, if so, recording the position of the alpha node, if not, adding the mode as the alpha node into the RETE network, and simultaneously establishing an alpha memory table according to the alpha node; detecting alpha nodes corresponding to all the modes until all the modes are processed; combining beta nodes, wherein the left input node of the beta (i) is beta (i-1), the right input node of the beta (i) is alpha (i), and the memory tables of two father nodes beta (i-1) and alpha (i) are connected into a beta memory table; repeatedly combining the beta nodes until all the beta nodes are processed; and packaging the final node beta (n) as a final node.
In one embodiment, the inputting the fact element into the RETE network to obtain a risk decision result specifically includes: inputting the fact element into a root node, if the type of the fact element is the same as the type specified by a successor node of the root node, storing the fact in the fact element in an alpha or beta storage area corresponding to the successor node, and transmitting the fact element to a next successor node for continuous matching; discarding a subsequent match of the fact element if the type of the fact element is not the same as the type specified by a successor node of the root node; if the fact element is transferred to an alpha node, detecting whether the fact element is matched with a mode corresponding to the alpha node, if so, storing the fact in the fact element in a storage area corresponding to the alpha node, and transferring the fact element to a subsequent node for continuous matching; if not, discarding a subsequent match of the fact element; if the fact element is transferred to the right end of the beta node, the fact element is stored in a right storage area of the beta node and is matched with an initial pattern table in a left storage area, the matching is carried out according to the type of the beta node, if the fact element is matched with the initial pattern table, the fact element is input into the initial pattern table, a first pattern table is obtained, and the first pattern table is transferred to a subsequent node for continuous matching; if not, discarding a subsequent match of the fact element; if the first pattern table is transmitted to the left end of the beta node, adding the first pattern table into a left storage area of the beta node and matching with fact elements in a right storage area, wherein the matching is carried out according to the type of the beta node, if the first pattern table is matched with the fact elements, all matched fact elements are packaged to form a second pattern table, and the second pattern table is transmitted to a subsequent node for continuous matching; if not, abandoning the subsequent matching of the first pattern table; if the fact element is transmitted to the left end of the beta node, packaging the fact element into a pattern table with only one fact element, and matching according to the matching method of the first pattern table; and if the mode table is transmitted to the terminal node, activating the decision rule corresponding to the root node, establishing a response rule to be activated, storing the response rule to be activated into a schedule, and waiting for activation.
A wind-controlled rules engine, comprising: the system comprises an information receiving module, a scene matching module, a rule designer, a rule calling module, a rule executing module and an information sending module; the information receiving module is used for receiving request information sent by a client; the scene matching module is used for matching the request data with a corresponding rule scene; the rule designer is used for configuring a decision rule corresponding to a rule scene; the rule calling module is used for calling the decision rule; the rule execution module is used for accessing the fact element to a RETE network to obtain a decision result; and the information sending module is used for returning the decision result to the value client.
Compared with the prior art, the invention has the advantages and beneficial effects that:
1. the invention can separate the wind control rule engine from the complex business logic, obviously reduce the difficulty of realizing the business logic and reduce the maintenance and expandability cost of the application program.
2. The invention can reduce the maintenance difficulty of the business rules through the wind control rule engine, and is convenient for modifying the business rules, thereby realizing the on-demand change of the business rules.
Drawings
FIG. 1 is a flow diagram illustrating a method for responding to a wind rules engine in one embodiment;
FIG. 2 is a block diagram of a pneumatic rule engine, according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings by way of specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In one embodiment, as shown in fig. 1, there is provided a response method of a wind-controlled rule engine, comprising the steps of:
step S101, receiving request information sent by a client, wherein the request information carries tag information and request data of a client user.
Specifically, the user sends financial request information, such as a payment request, a credit inquiry request, or a qualification request, through the client, where the request information carries tag information and a data request of the user.
And S102, matching the corresponding rule scene according to the request data, and calling the corresponding decision rule according to the rule scene.
Specifically, the wind control rule engine is preset with a plurality of rule scenes, and each rule scene corresponds to a decision rule. And matching the corresponding rule scene according to the request data, and calling the corresponding decision rule according to the matched rule scene.
Step S103, risk information of the client is obtained according to the label information, the risk information is input into a decision rule, and a risk decision result is obtained.
Specifically, risk information of the client user, such as historical loan information and repayment information, is obtained according to the tag information, and the risk information is input into a decision rule to obtain a risk decision result.
And step S104, returning the risk decision result to the client.
Specifically, after the wind control rule engine obtains the risk decision result, the risk decision result is returned to the client, and the response of the wind control rule engine is completed.
In this embodiment, the wind control rule engine receives request information sent by a client, where the request information carries tag information and request data of a client user, matches a corresponding rule scene according to the request data, calls a corresponding decision rule according to the rule scene, acquires risk information of the client according to the tag information, inputs the risk information into the decision rule, acquires a risk decision result, and finally returns the risk decision result to the client.
Wherein, step S102 specifically includes: the request data carries fact information, and a corresponding rule scene is matched according to the fact information; and setting a corresponding decision rule in the rule scene, and calling the decision rule according to the rule scene.
Specifically, the rule scenario includes: qualification review, credit rate calculation, credit rating, risk discovery, point management, credit update, user lock unlock, and the like.
Wherein, step S103 specifically includes: determining facts according to the fact information and the risk information, establishing a working memory element for the facts, and packaging the facts in the working memory element to form a fact element; establishing RETE networks according to decision rules, wherein a plurality of decision rules are set; and inputting the fact elements into the RETE network, and sequentially entering subsequent nodes for matching according to a matching sequence to obtain a risk decision result.
Specifically, the fact information is acquired according to the request information, the fact is determined according to the fact information and the risk information, the fact can be acquired from the fact information in a mode of extracting keywords, and the fact is packaged in the working memory element to form the fact element. And establishing the RETE network according to the decision rules, wherein a plurality of decision rules are arranged, so that the nodes sequentially enter the subsequent nodes according to the matching sequence, and the risk decision result is obtained by performing matching filtration through the corresponding decision rules.
Wherein, the creating a RETE network according to the decision rule specifically includes: creating a root node from which the facts element imports into the RETE network; and acquiring all decision rules, and sequentially acquiring corresponding modes according to all decision rules to filter the fact elements.
Specifically, the RETE network is the core of the wind-controlled rules engine, the root node is the entrance of the entire RETE network, and the fact element is input into the RETE network from the root node and then performs corresponding filtering according to the decision rule. Since the rule scene includes a plurality of decision rules, all the decision rules need to be acquired, and the fact elements are sequentially filtered according to the decision rules.
The obtaining of the first decision rule according to the decision rule and the obtaining of the first mode according to the first decision rule specifically include: checking the parameter type in the first mode, and if the parameter type is a new type, adding a new type node; checking whether an alpha node corresponding to the first mode exists, if so, recording the position of the alpha node, if not, adding the first mode as the alpha node into the RETE network, and simultaneously establishing an alpha memory table according to the alpha node; detecting alpha nodes corresponding to all the modes until all the modes are processed; combining beta nodes, wherein the left input node of the beta (i) is beta (i-1), the right input node of the beta (i) is alpha (i), and the memory tables of two father nodes beta (i-1) and alpha (i) are connected into a beta memory table; repeatedly combining the beta nodes until all the beta nodes are processed; and packaging the final node beta (n) as a final node.
Specifically, α nodes are used for constant matching of facts, each α node has a corresponding α storage area for storing fact objects meeting the α node constraint, and α nodes corresponding to the same rule constraint are overlapped in the RETE network for node sharing to improve matching efficiency. The beta node receives the meta-ancestor from the beta node and the single fact of the alpha node through the left and right inputs respectively for field comparison across objects, and beta (n) is the final node, and the fact element reaches the final node to indicate that the fact has matched all conditions of the rule.
Wherein, the inputting the fact element into the RETE network to obtain the risk decision result specifically includes: inputting a fact element into the root node, if the type of the fact element is the same as the type specified by the successor node of the root node, storing the fact in the fact element in an alpha or beta storage area corresponding to the successor node, and transmitting the fact element to the next successor node for continuous matching; if the type of the fact element is not the same as the type specified by the successor node of the root node, discarding a subsequent match of the fact element;
if the fact element is transferred to the alpha node, detecting whether the fact element is matched with the mode corresponding to the alpha node, if so, storing the fact in the fact element in a storage area corresponding to the alpha node, and transferring the fact element to a subsequent node for continuous matching; if not, discarding the subsequent match of the fact element;
if the fact element is transmitted to the right end of the beta node, the fact element is stored in a right storage area of the beta node and is matched with an initial pattern table in a left storage area, matching is carried out according to the type of the beta node, if matching is carried out, the fact element is input into the initial pattern table, a first pattern table is obtained, and the first pattern table is transmitted to a subsequent node for continuous matching; if not, discarding the subsequent match of the fact element;
if the first pattern table is transmitted to the left end of the beta node, the first pattern table is added into a left storage area of the beta node and is matched with fact elements in a right storage area, matching is carried out according to the type of the beta node, if matching is carried out, all matched fact elements are packaged to form a second pattern table, and the second pattern table is transmitted to a subsequent node for continuous matching; if not, abandoning the subsequent matching of the first pattern table;
if the fact element is transmitted to the left end of the beta node, packaging the fact element into a pattern table with only one fact element, and matching according to a matching method of the first pattern table;
and if the mode table is transmitted to the terminal node, activating the decision rule corresponding to the root node, establishing a response to-be-activated rule, storing the response to-be-activated rule in the schedule table, and waiting for activation.
As shown in fig. 2, there is provided a wind-controlled rules engine 20 comprising: the system comprises an information receiving module 21, a scene matching module 22, a rule designer 23, a rule calling module 24, a rule executing module 25 and an information sending module 26, wherein: the information receiving module 21 is configured to receive request information sent by a client; the scene matching module 22 is used for matching the request data with the corresponding rule scene; the rule designer 23 is configured to configure a decision rule corresponding to a rule scenario; the rule calling module 24 is used for calling a decision rule; the rule execution module 25 is configured to access the fact element to the RETE network, and obtain a decision result; the information sending module 26 is used for returning the decision result to the value client.
In one embodiment, the rule designer 23 is further configured to: creating a root node from which the facts element imports into the RETE network; and acquiring all decision rules, and sequentially acquiring corresponding modes according to all decision rules to filter the fact elements.
In one embodiment, the rule designer 23 is further configured to: checking the parameter type in the first mode, and if the parameter type is a new type, adding a new type node; checking whether an alpha node corresponding to the first mode exists, if so, recording the position of the alpha node, if not, adding the first mode as the alpha node into the RETE network, and simultaneously establishing an alpha memory table according to the alpha node; detecting alpha nodes corresponding to all the modes until all the modes are processed; combining beta nodes, wherein the left input node of the beta (i) is beta (i-1), the right input node of the beta (i) is alpha (i), and the memory tables of two father nodes beta (i-1) and alpha (i) are connected into a beta memory table; repeatedly combining the beta nodes until all the beta nodes are processed; and packaging the final node beta (n) as a final node.
In one embodiment, the rule execution module 25 is further configured to: determining facts according to the fact information and the risk information, establishing a working memory element for the facts, and packaging the facts in the working memory element to form a fact element; establishing RETE networks according to decision rules, wherein a plurality of decision rules are set; and inputting the fact elements into the RETE network, and sequentially entering subsequent nodes for matching according to the matching sequence to obtain a risk decision result.
In one embodiment, the rule execution module 25 is further configured to: inputting a fact element into the root node, if the type of the fact element is the same as the type specified by the successor node of the root node, storing the fact in the fact element in an alpha or beta storage area corresponding to the successor node, and transmitting the fact element to the next successor node for continuous matching; if the type of the fact element is not the same as the type specified by the successor node of the root node, discarding a subsequent match of the fact element; if the fact element is transferred to the alpha node, detecting whether the fact element is matched with the mode corresponding to the alpha node, if so, storing the fact in the fact element in a storage area corresponding to the alpha node, and transferring the fact element to a subsequent node for continuous matching; if not, discarding the subsequent match of the fact element; if the fact element is transmitted to the right end of the beta node, the fact element is stored in a right storage area of the beta node and is matched with an initial pattern table in a left storage area, matching is carried out according to the type of the beta node, if matching is carried out, the fact element is input into the initial pattern table, a first pattern table is obtained, and the first pattern table is transmitted to a subsequent node for continuous matching; if not, discarding the subsequent match of the fact element; if the first pattern table is transmitted to the left end of the beta node, the first pattern table is added into a left storage area of the beta node and is matched with fact elements in a right storage area, matching is carried out according to the type of the beta node, if matching is carried out, all matched fact elements are packaged to form a second pattern table, and the second pattern table is transmitted to a subsequent node for continuous matching; if not, abandoning the subsequent matching of the first pattern table; if the fact element is transmitted to the left end of the beta node, packaging the fact element into a pattern table with only one fact element, and matching according to a matching method of the first pattern table; and if the mode table is transmitted to the terminal node, activating the decision rule corresponding to the root node, establishing a response to-be-activated rule, storing the response to-be-activated rule in the schedule table, and waiting for activation.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, and the program can be stored in a computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
It will be apparent to those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and optionally they may be implemented in program code executable by a computing device, such that they may be stored on a computer storage medium (ROM/RAM, magnetic disks, optical disks) and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a more detailed description of the present invention that is presented in conjunction with specific embodiments, and the practice of the invention is not to be considered limited to those descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.
Claims (8)
1. A response method of a wind control rule engine is characterized by comprising the following steps:
receiving request information sent by a client, wherein the request information carries label information and request data of a client user;
matching a corresponding rule scene according to the request data, and calling a corresponding decision rule according to the rule scene;
acquiring risk information of a client according to the label information, inputting the risk information into a decision rule, and acquiring a risk decision result;
and returning the risk decision result to the client.
2. The response method of the wind control rule engine according to claim 1, wherein the step of matching the corresponding rule scenario according to the request data and calling the corresponding decision rule according to the rule scenario specifically comprises:
the request data carries fact information, and a corresponding rule scene is matched according to the fact information;
and setting a corresponding decision rule in the rule scene, and calling the decision rule according to the rule scene.
3. The method of claim 1, wherein the rule scenario comprises: qualification review, credit rate calculation, credit rating, risk discovery, point management, credit update, and user lock unlock.
4. The response method of the wind control rule engine according to claim 2, wherein the step of inputting the risk information into a decision rule to obtain a risk decision result specifically comprises:
determining a fact according to the fact information and the risk information, establishing a working memory element for the fact, and packaging the fact in the working memory element to form a fact element;
establishing RETE networks according to the decision rules, wherein a plurality of decision rules are set;
and inputting the fact elements into the RETE network, and sequentially entering subsequent nodes for matching according to a matching sequence to obtain a risk decision result.
5. The response method of the wind control rule engine according to claim 4, wherein the creating a RETE network according to the decision rule specifically comprises:
creating a root node from which the fact element imports the RETE network;
and acquiring all decision rules, sequentially acquiring corresponding modes according to all decision rules, and filtering the fact elements.
6. The response method of the wind control rule engine according to claim 5, wherein the obtaining all the decision rules sequentially obtains the corresponding patterns according to all the decision rules, and the filtering of the fact elements specifically comprises:
checking the parameter type in the mode, and if the parameter type is a new type, adding a new type node;
checking whether an alpha node corresponding to the mode exists, if so, recording the position of the alpha node, if not, adding the mode as the alpha node into the RETE network, and simultaneously establishing an alpha memory table according to the alpha node;
detecting alpha nodes corresponding to all the modes until all the modes are processed;
combining beta nodes, wherein the left input node of the beta (i) is beta (i-1), the right input node of the beta (i) is alpha (i), and the memory tables of two father nodes beta (i-1) and alpha (i) are connected into a beta memory table;
repeatedly combining the beta nodes until all the beta nodes are processed;
and packaging the final node beta (n) as a final node.
7. The response method of the wind control rules engine according to claim 6, wherein the inputting the fact element into the RETE network to obtain a risk decision result specifically comprises:
inputting the fact element into a root node, if the type of the fact element is the same as the type specified by a successor node of the root node, storing the fact in the fact element in an alpha or beta storage area corresponding to the successor node, and transmitting the fact element to a next successor node for continuous matching; discarding a subsequent match of the fact element if the type of the fact element is not the same as the type specified by a successor node of the root node;
if the fact element is transferred to an alpha node, detecting whether the fact element is matched with a mode corresponding to the alpha node, if so, storing the fact in the fact element in a storage area corresponding to the alpha node, and transferring the fact element to a subsequent node for continuous matching; if not, discarding a subsequent match of the fact element;
if the fact element is transferred to the right end of the beta node, the fact element is stored in a right storage area of the beta node and is matched with an initial pattern table in a left storage area, the matching is carried out according to the type of the beta node, if the fact element is matched with the initial pattern table, the fact element is input into the initial pattern table, a first pattern table is obtained, and the first pattern table is transferred to a subsequent node for continuous matching; if not, discarding a subsequent match of the fact element;
if the first pattern table is transmitted to the left end of the beta node, adding the first pattern table into a left storage area of the beta node and matching with fact elements in a right storage area, wherein the matching is carried out according to the type of the beta node, if the first pattern table is matched with the fact elements, all matched fact elements are packaged to form a second pattern table, and the second pattern table is transmitted to a subsequent node for continuous matching; if not, abandoning the subsequent matching of the first pattern table;
if the fact element is transmitted to the left end of the beta node, packaging the fact element into a pattern table with only one fact element, and matching according to the matching method of the first pattern table;
and if the mode table is transmitted to the terminal node, activating the decision rule corresponding to the root node, establishing a response rule to be activated, storing the response rule to be activated into a schedule, and waiting for activation.
8. A wind-controlled rules engine, comprising: the system comprises an information receiving module, a scene matching module, a rule designer, a rule calling module, a rule executing module and an information sending module; the information receiving module is used for receiving request information sent by a client; the scene matching module is used for matching the request data with a corresponding rule scene; the rule designer is used for configuring a decision rule corresponding to a rule scene; the rule calling module is used for calling the decision rule; the rule execution module is used for accessing the fact element to a RETE network to obtain a decision result; and the information sending module is used for returning the decision result to the value client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110110895.4A CN112700329A (en) | 2021-01-27 | 2021-01-27 | Response method of wind control rule engine and wind control rule engine |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110110895.4A CN112700329A (en) | 2021-01-27 | 2021-01-27 | Response method of wind control rule engine and wind control rule engine |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112700329A true CN112700329A (en) | 2021-04-23 |
Family
ID=75516263
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110110895.4A Pending CN112700329A (en) | 2021-01-27 | 2021-01-27 | Response method of wind control rule engine and wind control rule engine |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112700329A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112907234A (en) * | 2021-05-08 | 2021-06-04 | 武汉众邦银行股份有限公司 | Decision engine implementation method based on dynamic configuration rules |
CN113254061A (en) * | 2021-06-02 | 2021-08-13 | 深圳前海大道金融服务有限公司 | Business decision method, system and storage medium based on rule engine |
CN113362072A (en) * | 2021-06-30 | 2021-09-07 | 平安普惠企业管理有限公司 | Wind control data processing method and device, electronic equipment and storage medium |
CN113409138A (en) * | 2021-07-19 | 2021-09-17 | 浙江孚临科技有限公司 | Risk control decision engine device |
CN113535809A (en) * | 2021-06-24 | 2021-10-22 | 深圳市邦盛实时智能技术有限公司 | Distributed multi-kernel decision making system and method for credit granting industry |
CN113570166A (en) * | 2021-09-08 | 2021-10-29 | 湖南惠农科技有限公司 | Wind control real-time prediction identification method and device |
CN113660322A (en) * | 2021-08-05 | 2021-11-16 | 好享家舒适智能家居股份有限公司 | Offline cloud-sharing method and system |
CN114004660A (en) * | 2021-11-09 | 2022-02-01 | 中国工商银行股份有限公司 | Data processing method and device, electronic equipment and storage medium |
CN116012123A (en) * | 2023-03-27 | 2023-04-25 | 湖南三湘银行股份有限公司 | Wind control rule engine method and system based on Rete algorithm |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107491885A (en) * | 2017-08-25 | 2017-12-19 | 上海找钢网信息科技股份有限公司 | A kind of air control platform and risk control management method for steel trade financial business |
CN108090829A (en) * | 2017-12-21 | 2018-05-29 | 深圳市买买提信息科技有限公司 | A kind of data managing method, data administrator and electronic equipment |
CN109034660A (en) * | 2018-08-22 | 2018-12-18 | 平安科技(深圳)有限公司 | Based on the determination method and relevant apparatus of the risk control strategy of prediction model |
CN109146662A (en) * | 2018-07-16 | 2019-01-04 | 蜜小蜂智慧(北京)科技有限公司 | A kind of risk control method and device |
CN109389486A (en) * | 2018-08-27 | 2019-02-26 | 深圳壹账通智能科技有限公司 | Loan air control rule adjustment method, apparatus, equipment and computer storage medium |
CN110298601A (en) * | 2019-07-05 | 2019-10-01 | 上海观安信息技术股份有限公司 | A kind of real time business air control system of rule-based engine |
CN110363653A (en) * | 2019-06-28 | 2019-10-22 | 北京淇瑀信息科技有限公司 | Financial service request response method, device and electronic equipment |
CN111078757A (en) * | 2019-12-19 | 2020-04-28 | 武汉极意网络科技有限公司 | Autonomous learning business wind control rule engine system and risk assessment method |
CN111401722A (en) * | 2020-03-11 | 2020-07-10 | 第四范式(北京)技术有限公司 | Intelligent decision method and intelligent decision system |
CN111861703A (en) * | 2020-07-10 | 2020-10-30 | 深圳无域科技技术有限公司 | Data-driven wind control strategy rule generation method and system and risk control method and system |
-
2021
- 2021-01-27 CN CN202110110895.4A patent/CN112700329A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107491885A (en) * | 2017-08-25 | 2017-12-19 | 上海找钢网信息科技股份有限公司 | A kind of air control platform and risk control management method for steel trade financial business |
CN108090829A (en) * | 2017-12-21 | 2018-05-29 | 深圳市买买提信息科技有限公司 | A kind of data managing method, data administrator and electronic equipment |
CN109146662A (en) * | 2018-07-16 | 2019-01-04 | 蜜小蜂智慧(北京)科技有限公司 | A kind of risk control method and device |
CN109034660A (en) * | 2018-08-22 | 2018-12-18 | 平安科技(深圳)有限公司 | Based on the determination method and relevant apparatus of the risk control strategy of prediction model |
WO2020037918A1 (en) * | 2018-08-22 | 2020-02-27 | 平安科技(深圳)有限公司 | Risk control strategy determining method based on predictive model, and related device |
CN109389486A (en) * | 2018-08-27 | 2019-02-26 | 深圳壹账通智能科技有限公司 | Loan air control rule adjustment method, apparatus, equipment and computer storage medium |
CN110363653A (en) * | 2019-06-28 | 2019-10-22 | 北京淇瑀信息科技有限公司 | Financial service request response method, device and electronic equipment |
CN110298601A (en) * | 2019-07-05 | 2019-10-01 | 上海观安信息技术股份有限公司 | A kind of real time business air control system of rule-based engine |
CN111078757A (en) * | 2019-12-19 | 2020-04-28 | 武汉极意网络科技有限公司 | Autonomous learning business wind control rule engine system and risk assessment method |
CN111401722A (en) * | 2020-03-11 | 2020-07-10 | 第四范式(北京)技术有限公司 | Intelligent decision method and intelligent decision system |
CN111861703A (en) * | 2020-07-10 | 2020-10-30 | 深圳无域科技技术有限公司 | Data-driven wind control strategy rule generation method and system and risk control method and system |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112907234A (en) * | 2021-05-08 | 2021-06-04 | 武汉众邦银行股份有限公司 | Decision engine implementation method based on dynamic configuration rules |
CN112907234B (en) * | 2021-05-08 | 2021-07-16 | 武汉众邦银行股份有限公司 | Decision engine implementation method based on dynamic configuration rules |
CN113254061A (en) * | 2021-06-02 | 2021-08-13 | 深圳前海大道金融服务有限公司 | Business decision method, system and storage medium based on rule engine |
CN113535809A (en) * | 2021-06-24 | 2021-10-22 | 深圳市邦盛实时智能技术有限公司 | Distributed multi-kernel decision making system and method for credit granting industry |
CN113362072A (en) * | 2021-06-30 | 2021-09-07 | 平安普惠企业管理有限公司 | Wind control data processing method and device, electronic equipment and storage medium |
CN113362072B (en) * | 2021-06-30 | 2023-09-08 | 成都一蟹科技有限公司 | Wind control data processing method and device, electronic equipment and storage medium |
CN113409138A (en) * | 2021-07-19 | 2021-09-17 | 浙江孚临科技有限公司 | Risk control decision engine device |
CN113660322A (en) * | 2021-08-05 | 2021-11-16 | 好享家舒适智能家居股份有限公司 | Offline cloud-sharing method and system |
CN113660322B (en) * | 2021-08-05 | 2022-09-09 | 好享家舒适智能家居股份有限公司 | Offline cloud-sharing method and system |
CN113570166A (en) * | 2021-09-08 | 2021-10-29 | 湖南惠农科技有限公司 | Wind control real-time prediction identification method and device |
CN114004660A (en) * | 2021-11-09 | 2022-02-01 | 中国工商银行股份有限公司 | Data processing method and device, electronic equipment and storage medium |
CN116012123A (en) * | 2023-03-27 | 2023-04-25 | 湖南三湘银行股份有限公司 | Wind control rule engine method and system based on Rete algorithm |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112700329A (en) | Response method of wind control rule engine and wind control rule engine | |
CN106326219B (en) | Method, device and system for checking business system data | |
CN108595157B (en) | Block chain data processing method, device, equipment and storage medium | |
US10635655B2 (en) | Device, method and program for securely reducing an amount of records in a database | |
CN106656536A (en) | Method and device for processing service invocation information | |
CN111931172B (en) | Financial system business process abnormality early warning method and device | |
CN115631039A (en) | Fund tracking method, device and equipment | |
CN109547488A (en) | A kind of trust data calculating and exchange system based on alliance's block chain | |
CN112597762B (en) | Blockchain system with intelligent contract data supervision function and supervision method | |
CN104714529A (en) | Remote monitoring platform system of electric automobile | |
CN104423968A (en) | Method of designing business logic, server performing the same and storage medium storing the same | |
US11121874B2 (en) | Method for analyzing data using a blockchain, a data provider and a data customer therefor | |
CN112560114B (en) | Method and device for calling intelligent contract | |
CN107993053A (en) | Data of settling a claim checking method, device, computer equipment and storage medium | |
CN108415758A (en) | Distributed transaction coordination approach and device | |
CN108255967A (en) | Call method, device, storage medium and the terminal of storing process | |
CN113721950A (en) | Resource loss prevention and control processing method and device | |
CN116109114B (en) | Normalized government service data processing method and system | |
US10839387B2 (en) | Blockchain based action and billing | |
CN116128525A (en) | Multi-mode graph matching query method and device based on mode prefix sharing | |
CN113592529B (en) | Potential customer recommendation method and device for bond products | |
CN114491662A (en) | Block chain-based data asset auditing method, system and equipment | |
CN109901933A (en) | The operating method and device of operation system, storage medium, electronic device | |
CN109495575A (en) | A kind of service configuration method, system and ERP server | |
CN117332212B (en) | Intelligent risk exploration method and system based on chaotic engineering fault experiment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |