A decision-making and rule-associating method, device and server
By establishing the association between decisions, tags, and rules, and dynamically generating and configuring decision rules, the problem of low flexibility and poor timeliness in the configuration of routing decision rules in the existing technology is solved, and efficient and flexible decision configuration is achieved.
Patent Information
- Application Number
- CN202310020598.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-06
- Publication Date
- 2025-01-21
- Estimated Expiration
- 2043-01-06
AI Technical Summary
The existing technology has low flexibility when configuring routing decision rules and requires hard coding, resulting in high labor development costs and poor timeliness.
By establishing the association between decisions, tags, and rules, the preset logical operation language is used to translate and verify rule information, and dynamically generate and configure decision rules.
It significantly reduces human development costs, improves the timeliness of decision-making configuration, and realizes flexible configuration of decision-making rules.
Smart Images

Figure CN116032768B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of routing decision management, and in particular to a decision and rule association method, device and server. Background Art
[0002] At present, decision engine products are usually used to configure relevant rules to solve routing decision problems. The existing technology proposes that the routing rules and decision methods can be defined in an underlying hard-coded manner. This solution needs to be hard-coded during the coding process, resulting in low flexibility. When the rules change, the coding development and testing need to be re-performed, which requires a large manpower cost and leads to poor timeliness. Summary of the invention
[0003] In view of this, the purpose of the present invention is to provide a method, device and server for associating decisions and rules. By establishing an association relationship between decisions and labels and rules, the rules of decisions can be flexibly configured, which significantly reduces the cost of human resource development and thereby improves the timeliness of decision configuration.
[0004] In a first aspect, an embodiment of the present invention provides a method for associating decisions and rules, which is applied to a decision engine system, and the decision engine system is configured with multiple candidate rule generation tools. The method includes: obtaining a pre-created capital tag set and a business indicator set; determining a target rule generation tool in response to a first selection operation for the candidate rule creation tool, and determining a target business indicator in response to a second selection operation for the business indicator set; generating first rule information according to the target rule generation tool and the target business indicator; selecting at least one first capital tag corresponding to the first rule information from the capital tag set, and establishing an association relationship between the rule information and each target capital tag.
[0005] In one embodiment, after the step of generating the first rule information according to the target rule generation tool and the target business indicator, it also includes: translating the rule information using a preset logical operation language to obtain a first translation result; performing a legality check on the first translation result using a preset verification logic, and if the legality check passes, storing the first translation result.
[0006] In one embodiment, after the step of establishing an association relationship between the rule information and each target investor tag, it also includes: obtaining investor requirements, selecting at least one second investor tag corresponding to the investor requirements from the investor tag set, and establishing a rule set tag set based on the second investor tag; establishing a decision rule set based on multiple second rule information corresponding to the rule set tag set; and configuring a target decision plan based on the decision rule set.
[0007] In one embodiment, the target decision scheme includes: a rule set configuration scheme, and the steps of configuring the target decision scheme according to the decision rule set include: responding to the sorting operation on the second rule information to obtain the first execution order of the second rule information; encapsulating the second rule information according to the first execution order to obtain the rule set configuration scheme.
[0008] In one embodiment, the target decision plan includes: a process configuration plan, and after the step of obtaining the rule set configuration plan, it also includes: obtaining decision attribute information, and selecting third rule information from the candidate rule information, wherein the decision attribute information includes: a score card and a decision table; responding to the sorting operation of the rule set and decision attribute information corresponding to the third rule information and the second rule information, obtaining a second execution order; encapsulating the third rule information and the rule set decision attribute information according to the second execution order to obtain the process configuration plan.
[0009] In one embodiment, the method also includes: creating an initial indicator when an indicator creation instruction is received; storing the initial indicator in an indicator pool when the initial indicator meets the preset configuration requirements; when the initial indicator does not meet the preset configuration requirements, processing the initial indicator according to the received indicator processing information to obtain a derived indicator, and storing the derived indicator in the indicator pool.
[0010] In one implementation, the rule tag set is a tree-like classification tag, each tree-like classification tag corresponds to one or more rule information, and each rule information corresponds to one or more tree-like classification tags.
[0011] In a second aspect, an embodiment of the present invention further provides a device for associating decisions and rules, and the device is applied to a decision engine system, and the decision engine system is configured with multiple candidate rule generation tools. The device includes: a set acquisition module, which acquires a pre-created capital tag set and a business indicator set; a rule selection module, which responds to a first selection operation on the candidate rule creation tool to determine a target rule generation tool, and responds to a second selection operation on the business indicator set to determine the target business indicator; a rule generation module, which generates first rule information according to the target rule generation tool and the target business indicator; a rule relationship establishment module, which selects at least one first capital tag corresponding to the first rule information from the capital tag set, and establishes an association relationship between the rule information and each target capital tag.
[0012] In a third aspect, an embodiment of the present invention further provides a server, comprising a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement any one of the methods provided in the first aspect.
[0013] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, which stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement any one of the methods provided in the first aspect.
[0014] The embodiments of the present invention bring the following beneficial effects:
[0015] The embodiments of the present invention provide a method, device and server for associating decisions and rules, which obtain a pre-created set of capital tags and a set of business indicators, determine a target rule generation tool in response to a first selection operation on a candidate rule creation tool, and determine a target business indicator in response to a second selection operation on a set of business indicators, generate first rule information based on the target rule generation tool and the target business indicator, select at least one first capital tag corresponding to the first rule information from the capital tag set, and establish an association relationship between the rule information and each target capital tag. When configuring a decision plan according to user-side requirements, the above method establishes an association relationship between the decision and the tag and the rule. Compared with the related art, which uses the underlying hard-coded method to define less flexible rules and decision methods, the embodiments of the present invention can flexibly configure decision rules, significantly reduce human development costs, and thus improve the timeliness of decision configuration.
[0016] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.
[0017] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 A flowchart of a decision-making and rule association method provided by an embodiment of the present invention;
[0020] Figure 2-1 A schematic diagram of a process of translating rule information provided by an embodiment of the present invention;
[0021] Figure 2-2 A schematic diagram of another process of translating rule information provided by an embodiment of the present invention;
[0022] Figure 2-3 A schematic diagram of a rule information translation window provided by an embodiment of the present invention;
[0023] Figure 3-1 A schematic diagram of a rule set window provided by an embodiment of the present invention;
[0024] Figure 3-2 A schematic diagram of a rule information sorting window in a rule set provided by an embodiment of the present invention;
[0025] Figure 4 A schematic diagram of a process establishment window provided in an embodiment of the present invention;
[0026] Figure 5-1 A schematic diagram of an indicator definition window provided by an embodiment of the present invention;
[0027] Figure 5-2 A schematic diagram of an indicator pool generation window provided in an embodiment of the present invention;
[0028] Figure 5-3 A schematic diagram of an indicator pool provided by an embodiment of the present invention;
[0029] Figure 6 A schematic diagram of a tree-like classification label provided by an embodiment of the present invention;
[0030] Figure 7 A flowchart of another method for associating decisions and rules provided in an embodiment of the present invention;
[0031] Figure 8 A schematic diagram of the structure of a decision-making and rule association device provided by an embodiment of the present invention;
[0032] Fig. 9 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described in combination with the embodiments below. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on 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.
[0034] At present, credit guarantee insurance is a relatively new type of insurance. With the continuous expansion of people's financing needs and the continuous development and changes of business, more and more bank and trust loan funding channels are connected, which puts forward new and higher requirements for overall management, planning, and system construction support. The 2021 "Internet Loan Management Measures" mentioned new policy regulations for the local operation of city commercial banks. Now companies engaged in personal credit guarantee insurance in the market such as Ping An Puhui and Dadi Insurance will also face the same problem. For the different restrictive rules and non-restrictive rules of each funding party, it is necessary to support the differentiated management of local rules and reduce the cost of funds to ensure that the business always maintains healthy development. In order to solve the routing decision-making problem, some financial companies have purchased mature decision engine products from the foreign company FICO. However, the purchase cost of such decision engine products is generally tens of millions, which is not only expensive but also has no independent intellectual property rights; the overall product design is relatively bulky and the operating efficiency is slow, and the learning cost for ordinary people to master it is relatively high; some companies have also adopted the underlying hard-coding method to define routing rules and decision methods. This method lacks flexibility and the coding needs to be hard-coded. Once the rules change, the entire process of coding development, testing, and going online is relatively long, and the manpower cost is also high; in summary, the current common disadvantages are summarized as follows: high investment cost, lack of flexibility, reliance on hard coding, long online cycle, inability to differentiate, complex and difficult to use, and slow operating efficiency. Based on this, the present invention implements a method for associating decisions and rules. By establishing an association relationship between decisions and labels and rules, the rules of decisions can be flexibly configured, which significantly reduces the cost of manpower development and thereby improves the timeliness of decision configuration.
[0035] The embodiment of the present invention introduces a method for associating decisions and rules in detail, see Figure 1 The flowchart of a method for associating a decision with a rule is shown in FIG. 1 , and the method mainly includes the following steps S102 to S106:
[0036] Step S102, obtain the pre-created capital label set and business indicator set. Among them, the capital label set is a tree-like classification label (i.e., a label tree), and the business indicator set is an indicator pool. In one embodiment, the indicator pool is formed by defining rule indicators and processing complex derivative indicators. The indicators can be defined as character type, floating point type, date type, Boolean type, enumeration type and other types; the label tree can arbitrarily create N child nodes on a root node, and continue to create N secondary child nodes and tertiary child nodes in each child node to perform ultra-fine classification of rules.
[0037] Step S104, in response to the first selection operation for the candidate rule creation tool, the target rule generation tool is determined, and in response to the second selection operation for the business indicator set, the target business indicator is determined. The rule generation tool used to establish the target rule is determined by the first selection operation, and the indicator used to establish the target rule is determined by the second selection operation.
[0038] Step S106, generate the first rule information according to the target rule generation tool and the target business indicator. In one embodiment, the selected rule generation tools and indicators are sorted to generate the first rule information. In actual applications, the rules of each funding party are created and edited by simply dragging and dropping page components. This method is not only more user-friendly, but also easier to quickly master the usage method; it upgrades the user from the past developer coding and developing rule formulas to business personnel simply dragging to form complex rule formulas; after the component is dragged, the background will generate the corresponding machine-executable EL expression or other language expression, and this expression is the logical operation that the machine can actually perform.
[0039] In one implementation, the rule information is translated using a preset logic operation language to obtain a first translation result, and the first translation result is verified for legitimacy using a preset verification logic. If the legitimacy verification passes, the first translation result is stored. Figure 2-1 A schematic diagram of a process flow of rule information translation shown in FIG. Figure 2-2 Another flowchart of rule information translation shown in FIG. Figure 2-3 The diagram shows a rule information translation window. Every time a user drags an indicator or operator, the logical operation language will be translated into natural language that can be understood by everyone in real time. The core principle of the entire translation process is to compare and replace the indicators or formulas in the rule formula with the definitions in the json string, and finally form a natural language to be displayed on the front end.
[0040] Step S108, select at least one first capital party tag corresponding to the first rule information from the capital party tag set, and establish an association relationship between the rule information and each target capital party tag. The tags in the capital party tag set are tags configured by business personnel according to capital party requirements. The first capital party tag is used to determine the tag corresponding to the rule in the process of establishing the rule. In one embodiment, the tag corresponding to the first rule information is selected in the tag tree. One rule information can correspond to multiple tags, and the same tag can also be assigned to multiple rule information.
[0041] The above-mentioned decision-and-rule association method provided by the embodiment of the present invention can flexibly configure decision rules by establishing association relationships between decisions and labels and rules, significantly reduce human resource development costs, and thus improve the timeliness of decision configuration.
[0042] The embodiment of the present invention also provides an implementation method of a configuration decision solution, for details, see (1) to (3) below:
[0043] (1) Obtaining the requirements of the capital provider, selecting at least one second capital provider tag corresponding to the requirements of the capital provider from the capital provider tag set, and establishing a rule set tag set according to the second capital provider tag. The second capital provider tag is used to establish the rule set corresponding to the capital provider. In one embodiment, the second capital provider tag corresponding to the capital provider requirements is selected to establish the rule set tag set.
[0044] (2) Establishing a decision rule set based on multiple second rule information corresponding to the rule set label set. The decision rule set is a rule set corresponding to a certain investor. In one embodiment, a second investor label corresponding to the investor's requirements is selected to establish a rule set label set, and rules corresponding to labels in the rule set label set are obtained to establish a rule set, thereby obtaining a decision rule set.
[0045] (3) The target decision scheme includes: a rule set configuration scheme and a process configuration scheme. The specific implementation method of configuring the target decision scheme according to the decision rule set is as follows (a) to (b):
[0046] a: In response to the sorting operation on the second rule information, the first execution order of the second rule information is obtained, and the second rule information is encapsulated according to the first execution order to obtain a rule set configuration scheme. Figure 3-1 A schematic diagram of the ruleset window is shown and Figure 3-2 The schematic diagram of the rule information sorting window in the rule set shown is that each funding party will have a unique designated funding party rule set, which aggregates and encapsulates all the rules under the funding party; the execution order of the rules can be specified by moving up and down.
[0047] b: Obtain decision attribute information and select the third rule information from the candidate rule information, wherein the decision attribute information includes: a scorecard and a decision table, respond to the sorting operation of the third rule information, the rule set corresponding to the second rule information, and the decision attribute information, obtain the second execution order, encapsulate the third rule information and the rule set decision attribute information according to the second execution order, and obtain the process configuration scheme. In practical applications, see Figure 4 The schematic diagram of the process establishment window shown in the figure shows that the process components of the process establishment window can be used to define the start node, intermediate node, and end node of different processes such as fund routing, payment routing, and post-insurance case distribution routing; and the intermediate nodes can drag different rules, rule sets, scorecards, decision tables, etc. into the nodes, and execute them in sequence from front to back, so as to determine the process configuration plan for creating the process.
[0048] In one implementation, when an indicator creation instruction is received, an initial indicator is created; when the initial indicator meets the preset configuration requirements, the initial indicator is stored in the indicator pool; when the initial indicator does not meet the preset configuration requirements, the initial indicator is processed according to the received indicator processing information to obtain a derived indicator, and the derived indicator is stored in the indicator pool. Among them, the derived indicator is obtained by adding derived rule information to the initial indicator, and a set of available indicator pools (i.e., business indicator sets) is finally formed by defining rule indicators and processing complex derived indicators. Each indicator in the pool is also one of the most important and necessary basic rule components in the subsequent rule creation process; indicators can be defined as character, floating point, date, Boolean, enumeration, etc. In practical applications, see Figure 5-1 The schematic diagram of the indicator definition window shown in the figure makes the whole process simpler and clearer by flexibly defining the request fields and return fields used for interaction with third-party system interfaces in the indicator definition window. Each frequent change of the interface field brings about repeated system coding development, system joint debugging, and test acceptance. This flexible configurability eliminates the work of coding development and system joint debugging. See Figure 5-2 The schematic diagram of the indicator pool generation window shown and Figure 5-3 The schematic diagram of the indicator pool shown in the figure shows that the entire definition will be stored in a large Map, which can also contain any number of sub-Maps, List collections, characters, numbers, dates, Boolean values and other values. The Map will be parsed during the final rule execution process to extract and convert it into the real interface or indicator parameters, as shown in Table 1.
[0049]
[0050] Table 1 Indicator pool
[0051] In one embodiment, see Figure 6 The schematic diagram of the tree-like classification label is shown, and the rule label set is a tree-like classification label (i.e., a label tree). Each tree-like classification label corresponds to one or more rule information, and each rule information corresponds to one or more tree-like classification labels. In one embodiment, a tree-like classification label is established, and specific rules are created in these tree-like classification labels. In actual applications, the Sunrise Intelligent Routing Decision Engine System is used as the entry point, and the rules of each funding party are subdivided into basic access rules, domain rules, credit rules, and fund management rules according to the unique business of Sunshine Property & Casualty Insurance and the different docking with various funding parties; and the different classifications of rules adopt a tree structure. The biggest advantage of the tree structure is that N child nodes can be arbitrarily created on a root node, and N secondary child nodes, tertiary child nodes, and N-level child nodes can also be created on each child node, so as to achieve arbitrary ultra-fine classification of the rules.
[0052] To facilitate understanding of the decision-making and rule-associating method provided in the above embodiment, the present invention provides an application example of the decision-making and rule-associating method, see Figure 7 FIG. 1 is a flow chart of another method for associating decisions with rules, the method mainly comprising the following steps S702 to S714:
[0053] Step S702, obtain the capital label set and the business indicator set. Among them, the capital label set is a tree-like classification label (i.e., a label tree), and the business indicator set is an indicator pool. In one embodiment, the indicator pool is formed by defining rule indicators and processing complex derivative indicators. The indicators can be defined as character type, floating point type, date type, Boolean type, enumeration type and other types; the label tree can arbitrarily create N child nodes on a root node, and continue to create N secondary child nodes and tertiary child nodes in each child node to perform ultra-fine classification of rules.
[0054] Step S704, generate rule information through rule creation tools, capital tag sets and business indicator sets. Among them, the rule generation tool used to establish the target rule is determined by the first selection operation, and the indicator used to establish the target rule is determined by the second selection operation. In one embodiment, the selected rule generation tools and indicators are sorted to generate the first rule information. In actual applications, the rules of each capital party are created and edited by simply dragging and dropping page components. This method is not only more user-friendly, but also easier to quickly master the usage method; it upgrades users from the past developer coding and developing rule formulas to business personnel simply dragging to form complex rule formulas; after the component is dragged, the background will generate the corresponding machine-executable EL expression or other language expression, and this expression is the logical operation that the machine can actually perform.
[0055] Step S706, generating a rule set configuration scheme according to the rule information and the capital requirements. In one embodiment, the capital tags corresponding to the capital requirements are selected to establish a rule set tag set, and the rules corresponding to the tags in the rule set tag set are obtained to establish a rule set, thereby obtaining a decision rule set.
[0056] Step S708, generate a process configuration plan based on the rule information, rule set configuration plan and the needs of the capital party. Through the process components in the process creation window, you can define the start node, intermediate node, and end node of different processes such as fund routing, payment routing, and post-insurance case routing; and the intermediate nodes can drag different rules, rule sets, scorecards, decision tables, etc. into the nodes, and execute them in order from front to back, so as to determine the process configuration plan for the created process.
[0057] On the basis of the above-mentioned embodiments, the embodiments of the present invention also provide a selection method of integrated algorithms, which solves the problem of funder combination sorting by continuously integrating and combining multiple algorithms and custom algorithms. In practical applications, when an application is routed through 20 funders such as Foreign Trade Trust and a certain rural commercial bank, the order of these 20 becomes a new problem. The bubble algorithm can sort the remaining amount of each funder from large to small at the end of each month, so that the funder with the largest available amount is ranked at the front for use, and the funder with the smallest amount is ranked at the end for reduced use, so as to balance the available funds of each fund channel; the average method can be used at the beginning of each month, because the funds of each fund channel at the beginning of the month are the initial funds of the application, and it is most appropriate to use the average method for overall sorting at this time; the binary search method can find the most suitable funder from multiple funders in the shortest time for loan issuance, and by integrating multiple algorithms, the optimal matching and the fastest matching can be achieved.
[0058] In summary, the present invention can provide a general solution and method for the needs of business case division, order division, and task assignment in real-time transactions. In order to improve the friendliness and flexibility of the routing engine, a rule classification method is adopted, and a processing method for creating and maintaining rules, rule sets, and rule processes is adopted. In order to achieve low-code, a flexible custom interface, custom indicators, and interface component processing strategies are adopted. By converting the traditional complex processes that require code development, testing and acceptance before going online into page-configurable, component-based methods, the process is simplified and supports rapid online launch, which not only meets the funding needs of the business market due to rapidly changing policy changes, customer group changes, and marketing strategy changes The requirement that rules must change in real time has also saved a lot of manpower costs. By integrating multiple algorithms to achieve the best and fastest matching methods, the cycle of online use, which used to take 7 to 60 days, has been shortened to less than 30 minutes. It has also changed the situation in which only developers could handle rules, to now business personnel can handle rule changes themselves. Through scientific and reasonable methods and systems, the difficulty of use and entry barriers have been greatly reduced. At the same time, the accuracy of traditional manual selection of funding parties has been improved from less than 60%, and each person needs 20 minutes to complete one selection, to nearly 100%, and routing selection and matching services can be provided for more than 1,000 loan applications per minute.
[0059] For the decision and rule association method provided in the above embodiment, an embodiment of the present invention provides a decision and rule association device, which is applied to a decision engine system, and the decision engine system is configured with multiple candidate rule generation tools, see Figure 8 A schematic diagram of a structure of a decision and rule association device is shown, the device comprises the following parts:
[0060] A set acquisition module 802 acquires a pre-created capital tag set and a business indicator set;
[0061] A rule selection module 804, in response to a first selection operation on a candidate rule creation tool, determines a target rule generation tool, and in response to a second selection operation on a business indicator set, determines a target business indicator;
[0062] A rule generation module 806 generates first rule information according to a target rule generation tool and a target business indicator;
[0063] The rule relationship establishing module 808 selects at least one first investor tag corresponding to the first rule information from the investor tag set, and establishes an association relationship between the rule information and each target investor tag.
[0064] The above-mentioned data processing device provided in the embodiment of the present application can flexibly configure decision rules by establishing an association relationship between decisions and labels and rules, significantly reduce human resource development costs, and thus improve the timeliness of decision configuration.
[0065] In one embodiment, after the step of generating the first rule information according to the target rule generation tool and the target business indicator, the above-mentioned rule generation module 806 is also used to: translate the rule information using a preset logical operation language to obtain a first translation result; perform a legality check on the first translation result using a preset verification logic, and if the legality check passes, store the first translation result.
[0066] In one embodiment, after the step of establishing an association relationship between the rule information and each target investor tag, the rule relationship establishment module 808 is further used to: obtain investor requirements, select at least one second investor tag corresponding to the investor requirements from the investor tag set, and establish a rule set tag set based on the second investor tag; establish a decision rule set based on multiple second rule information corresponding to the rule set tag set; and configure a target decision plan based on the decision rule set.
[0067] In one embodiment, the target decision scheme includes: a rule set configuration scheme. When performing the step of configuring the target decision scheme according to the decision rule set, the above-mentioned rule relationship establishment module 808 is also used to: respond to the sorting operation on the second rule information to obtain the first execution order of the second rule information; encapsulate the second rule information according to the first execution order to obtain the rule set configuration scheme.
[0068] In one embodiment, the target decision plan includes: a process configuration plan. After the step of obtaining the rule set configuration plan, the above-mentioned rule relationship establishment module 808 is also used to: obtain decision attribute information, and select third rule information from the candidate rule information, wherein the decision attribute information includes: a score card and a decision table; respond to the sorting operation of the rule set and decision attribute information corresponding to the third rule information and the second rule information to obtain the second execution order; encapsulate the third rule information and the rule set decision attribute information according to the second execution order to obtain the process configuration plan.
[0069] In one embodiment, the above-mentioned collection acquisition module 802 is also used to: create an initial indicator when an indicator creation instruction is received; when the initial indicator meets the preset configuration requirements, store the initial indicator in the indicator pool; when the initial indicator does not meet the preset configuration requirements, process the initial indicator according to the received indicator processing information to obtain a derived indicator, and store the derived indicator in the indicator pool.
[0070] In one implementation, the rule tag set is a tree-like classification tag, each tree-like classification tag corresponds to one or more rule information, and each rule information corresponds to one or more tree-like classification tags.
[0071] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0072] An embodiment of the present invention provides an electronic device. Specifically, the electronic device includes a processor and a storage device. The storage device stores a computer program, and when the computer program is executed by the processor, it executes the method described in any one of the above-mentioned implementation methods.
[0073] Fig. 9 A structural diagram of an electronic device provided in an embodiment of the present invention, the electronic device 100 includes: a processor 90, a memory 91, a bus 92 and a communication interface 93, wherein the processor 90, the communication interface 93 and the memory 91 are connected via the bus 92; the processor 90 is used to execute an executable module stored in the memory 91, such as a computer program.
[0074] The memory 91 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 93 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0075] The bus 92 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0076] Among them, the memory 91 is used to store programs, and the processor 90 executes the program after receiving the execution instruction. The method executed by the device for flow process definition disclosed in any embodiment of the above-mentioned embodiments of the present invention can be applied to the processor 90 or implemented by the processor 90.
[0077] The processor 90 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 90. The above processor 90 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 91, and the processor 90 reads the information in the memory 91 and completes the steps of the above method in combination with its hardware.
[0078] The computer program product of the readable storage medium provided in the embodiment of the present invention includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the methods described in the previous method embodiments. The specific implementation can be referred to the previous method embodiments, which will not be repeated here.
[0079] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., which can store program codes.
[0080] Finally, it should be noted that the above-described embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A method for associating decisions and rules, characterized in that: The method is applied to a decision engine system, wherein the decision engine system is configured with a plurality of candidate rule generation tools, and the method comprises: Obtaining a pre-created capital tag set and business indicator set, wherein the capital tag set is a tree-like classification tag, the tree-like classification tag arbitrarily creates N child nodes on a root node, and further creates N secondary child nodes and tertiary child nodes on each child node to perform ultra-fine classification on the rules, and the business indicator set is an indicator pool, which is formed by defining rule indicators and processing complex derivative indicators; In response to a first selection operation for the candidate rule creation tool, determining a target rule generation tool, and in response to a second selection operation for the business indicator set, determining a target business indicator; Generate first rule information according to the target rule generation tool and the target business indicator, wherein each funder rule is edited by dragging the page component, and after the component is dragged, a corresponding machine executable EL expression is generated in the background to enable the machine to perform logical operations; Selecting at least one first investor tag corresponding to the first rule information from the investor tag set, and establishing an association relationship between the rule information and each target investor tag; When an indicator creation instruction is received, an initial indicator is created; when the initial indicator meets the preset configuration requirements, the initial indicator is stored in the indicator pool; when the initial indicator does not meet the preset configuration requirements, the initial indicator is processed according to the received indicator processing information to obtain a derived indicator, and the derived indicator is stored in the indicator pool; wherein the derived indicator is obtained by adding derived rule information to the initial indicator.
2. The method according to claim 1, characterized in that After the step of generating the first rule information according to the target rule generation tool and the target business indicator, the method further includes: The rule information is translated using a preset logical operation language to obtain a first translation result; The first translation result is subjected to a validity check using a preset verification logic, and if the validity check passes, the first translation result is stored.
3. The method according to claim 1, characterized in that After the step of establishing the association relationship between the rule information and each target resource tag, the method further includes: Acquire an investor's requirement, select at least one second investor tag corresponding to the investor's requirement from the investor tag set, and establish a rule set tag set according to the second investor tag; Establishing a decision rule set based on a plurality of second rule information corresponding to the rule set label set; A target decision scheme is configured according to the decision rule set.
4. The method according to claim 3, characterized in that The target decision scheme includes: a rule set configuration scheme, and the step of configuring the target decision scheme according to the decision rule set includes: In response to the sorting operation on the second rule information, a first execution order of the second rule information is obtained; The second rule information is encapsulated according to the first execution order to obtain the rule set configuration scheme.
5. The method according to claim 4, characterized in that The target decision scheme includes: a process configuration scheme, and after the step of obtaining the rule set configuration scheme, further includes: Acquire decision attribute information, and select third rule information from the candidate rule information, wherein the decision attribute information includes: a score card and a decision table; In response to a sorting operation on the third rule information, a rule set corresponding to the second rule information, and the decision attribute information, a second execution order is obtained; The third rule information, the decision attribute information of the rule set are encapsulated according to the second execution order to obtain the process configuration solution.
6. The method according to claim 1, characterized in that The rule tag set is a tree-like classification tag, each of the tree-like classification tags corresponds to one or more rule information, and each of the rule information corresponds to one or more of the tree-like classification tags.
7. A decision and rule association device, characterized in that: The device is applied to a decision engine system, the decision engine system is configured with a plurality of candidate rule generation tools, and the device comprises: A set acquisition module acquires a pre-created capital tag set and a business indicator set, wherein the capital tag set is a tree-like classification tag, and the tree-like classification tag performs ultra-fine classification of rules by arbitrarily creating N child nodes on a root node, and further creating N secondary child nodes and tertiary child nodes on each child node, and the business indicator set is an indicator pool, and the indicator pool is formed by defining rule indicators and processing complex derivative indicators; A rule selection module, in response to a first selection operation on the candidate rule creation tool, determines a target rule generation tool, and in response to a second selection operation on the business indicator set, determines a target business indicator; A rule generation module generates first rule information according to the target rule generation tool and the target business indicator, wherein each funder rule is edited by dragging the page component, and after the component is dragged, a corresponding machine executable EL expression is generated in the background to enable the machine to perform logical operations; A rule relationship establishing module selects at least one first investor tag corresponding to the first rule information from the investor tag set, and establishes an association relationship between the rule information and each target investor tag; When an indicator creation instruction is received, an initial indicator is created; when the initial indicator meets the preset configuration requirements, the initial indicator is stored in the indicator pool; when the initial indicator does not meet the preset configuration requirements, the initial indicator is processed according to the received indicator processing information to obtain a derived indicator, and the derived indicator is stored in the indicator pool; wherein the derived indicator is obtained by adding derived rule information to the initial indicator.
8. A server, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer executable instructions that can be executed by the processor, and the processor executes the computer executable instructions to implement the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Intelligent decision-making method and intelligent decision-making system
CN111401722A
Rule publishing method and device, and terminal equipment
CN112148343A