CN116032768A - Method, device and server for associating decision and rule - Google Patents

Method, device and server for associating decision and rule Download PDF

Info

Publication number
CN116032768A
CN116032768A CN202310020598.XA CN202310020598A CN116032768A CN 116032768 A CN116032768 A CN 116032768A CN 202310020598 A CN202310020598 A CN 202310020598A CN 116032768 A CN116032768 A CN 116032768A
Authority
CN
China
Prior art keywords
rule
decision
index
sponsor
target
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
Application number
CN202310020598.XA
Other languages
Chinese (zh)
Inventor
李建伟
曾经
陈霖
汤文超
吕雁龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sunshine Property & Casualty Insurance Co
Original Assignee
Sunshine Property & Casualty Insurance Co
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sunshine Property & Casualty Insurance Co filed Critical Sunshine Property & Casualty Insurance Co
Priority to CN202310020598.XA priority Critical patent/CN116032768A/en
Publication of CN116032768A publication Critical patent/CN116032768A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method, a device and a server for associating decisions and rules, which relate to the technical field of route decision management and comprise the following steps: acquiring a pre-established sponsor tag set and a service index set; determining a target rule generation tool in response to a first selection operation directed to the candidate rule creation tool, and determining a target business index in response to a second selection operation directed to the set of business indices; generating first rule information according to the target rule generating tool and the target business index; and selecting at least one first sponsor tag corresponding to the first rule information from the sponsor tag set, and establishing an association relationship between the rule information and each target sponsor tag. According to the invention, the association relation between the decision and the label and the rule are established, so that the rule of the decision can be flexibly configured, the manpower development cost is obviously reduced, and the timeliness of the decision configuration is further improved.

Description

Method, device and server for associating decision and rule
Technical Field
The present invention relates to the field of routing decision management technologies, and in particular, to a method, an apparatus, and a server for associating a decision and a rule.
Background
At present, a decision engine product is generally used for configuring relevant rules to solve the routing decision difficulty, the prior art proposes that a bottom layer hard coding mode can be adopted to define the routing rules and the decision method, the scheme needs to be written in the coding process, so that the flexibility is low, when the rules change, coding development and testing are needed again, the input labor cost is high, and the timeliness is poor.
Disclosure of Invention
Accordingly, the present invention aims to provide a method, a device and a server for associating a decision with a rule, which can flexibly configure the rule of the decision by establishing an association relationship between the decision and the tag and the rule, thereby remarkably reducing the manpower development cost and further improving the timeliness of the decision configuration.
In a first aspect, an embodiment of the present invention provides a method for associating a decision with a rule, where the method is applied to a decision engine system, and the decision engine system is configured with a plurality of candidate rule generating tools, and the method includes: acquiring a pre-established sponsor tag set and a service index set; determining a target rule generation tool in response to a first selection operation directed to the candidate rule creation tool, and determining a target business index in response to a second selection operation directed to the set of business indices; generating first rule information according to the target rule generating tool and the target business index; and selecting at least one first sponsor tag corresponding to the first rule information from the sponsor tag set, and establishing an association relationship between the rule information and each target sponsor tag.
In one embodiment, after the step of generating the first rule information according to the target rule generating tool and the target business index, further comprising: performing translation processing on the rule information by using a preset logic operation language to obtain a first translation result; and carrying out validity check on the first translation result by using a preset check logic, and storing the first translation result if the validity check is passed.
In one embodiment, after the step of establishing the association between the rule information and each target sponsor tag, the method further comprises: acquiring a sponsor demand, selecting at least one second sponsor label corresponding to the sponsor demand from a sponsor label set, and establishing a rule set label set according to the second sponsor label; establishing a decision rule set based on a plurality of pieces of second rule information corresponding to the rule set label set; and configuring a target decision scheme according to the decision rule set.
In one embodiment, the target decision scheme includes: a rule set configuration scheme, the step of configuring a target decision scheme according to a decision rule set, comprising: responding to the ordering operation aiming at the second rule information to obtain a first execution sequence of the second rule information; and packaging the second rule information according to the first execution sequence to obtain a rule set configuration scheme.
In one embodiment, the target decision scheme includes: the process configuration scheme, after the step of obtaining the rule set configuration scheme, further includes: obtaining decision attribute information and selecting third rule information from the candidate rule information, wherein the decision attribute information comprises: scoring cards and decision tables; responding to the ordering operation aiming at the third rule information, the rule set corresponding to the second rule information and the decision attribute information to obtain a second execution sequence; and packaging the third rule information and the rule set decision attribute information according to the second execution sequence to obtain a flow configuration scheme.
In one embodiment, the method further comprises: when an index creation instruction is received, creating an initial index; when the initial index meets the preset configuration requirement, storing the initial index into an index pool; when the initial index does not meet the preset configuration requirement, processing the initial index according to the received index processing information to obtain a derivative index, and storing the derivative index into an index pool.
In one embodiment, the rule tag set is a tree classification tag, each tree classification tag corresponds to one or more pieces of rule information, and each piece of rule information corresponds to one or more tree classification tags.
In a second aspect, an embodiment of the present invention further provides a device for associating a decision with a rule, where the device is applied to a decision engine system, and the decision engine system is configured with a plurality of candidate rule generating tools, and the device includes: the collection acquisition module is used for acquiring a pre-established sponsor tag collection and a service index collection; a rule selection module that determines a target rule generation tool in response to a first selection operation directed to the candidate rule creation tool, and determines a target business index in response to a second selection operation directed to the set of business indices; the rule generation module generates first rule information according to the target rule generation tool and the target business index; the rule relation establishment module selects at least one first sponsor tag corresponding to the first rule information from the sponsor tag set, and establishes an association relation between the rule information and each target sponsor tag.
In a third aspect, embodiments of the present invention also provide a server comprising a processor and a memory, the memory storing computer executable instructions executable by the processor, the processor executing the computer executable instructions to implement the method of any one of the first aspects.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method of any one of the first aspects.
The embodiment of the invention has the following beneficial effects:
the method, the device and the server for associating decisions and rules provided by the embodiment of the invention acquire a pre-established sponsor tag set and a service index set, respond to a first selection operation aiming at a candidate rule creation tool, determine a target rule generation tool, respond to a second selection operation aiming at the service index set, determine a target service index, generate first rule information according to the target rule generation tool and the target service index, select at least one first sponsor tag corresponding to the first rule information from the sponsor tag set, and establish an association relationship between the rule information and each target sponsor tag. When the method configures the decision scheme according to the requirements of the user side, as the association relation between the decision and the labels and rules is established, compared with the rules and decision methods with lower flexibility, which are defined by adopting a bottom hard coding mode in the related art, the embodiment of the invention can flexibly configure the decision rule, obviously reduce the manpower development cost and further improve the timeliness of decision configuration.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for associating decisions and rules provided by an embodiment of the present invention;
FIG. 2-1 is a schematic flow chart of rule information translation according to an embodiment of the present invention;
FIG. 2-2 is a schematic flow chart of another rule information translation method according to an embodiment of the present invention;
fig. 2-3 are schematic diagrams of a rule information translation window according to an embodiment of the present invention;
FIG. 3-1 is a schematic diagram of a rule set window provided by an embodiment of the present invention;
FIG. 3-2 is a schematic diagram of a rule information ordering window in a rule set according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a process setup window according to an embodiment of the present invention;
FIG. 5-1 is a schematic diagram of an index definition window according to an embodiment of the present invention;
FIG. 5-2 is a schematic diagram of an index pool generation window according to an embodiment of the present invention;
FIGS. 5-3 are schematic diagrams of index pools provided by embodiments of the present invention;
FIG. 6 is a schematic diagram of a tree classification tag according to an embodiment of the present invention;
FIG. 7 is a flowchart of another method for associating decisions and rules provided by an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a decision and rule association apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described in conjunction with the embodiments, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
At present, credit guarantee insurance is a novel dangerous seed, rapid sending and continuous development and change of business are carried out along with continuous expansion of financing demands of people, various funds release channels of banks and letters which are in butt joint are more and more, and new and higher requirements are provided for overall management, planning and system construction support. In 2021, "internet loan management method", a new policy rule for managing the local area of a city business is mentioned, but the companies engaged in personal credit assurance insurance such as security pooling and earth insurance in the market at present also face the same problems, and different restriction rules and non-restriction rules of each fund party need to support the differential management of the local rules, and also realize the reduction of the fund cost, so that the business keeps benign development all the time. Some finance companies purchase mature decision engine products of foreign FICO companies in order to solve the routing decision problem, but the decision engine products are generally purchased for tens of millions of expenses, so that the cost is high and independent intellectual property rights are not available; the whole product is heavy in design, low in running efficiency and high in input and study cost, and common people want to master the design; some companies adopt a bottom layer hard coding mode to define routing rules and decision methods, the mode lacks flexibility, coding needs to be written, once the rules change, coding development, testing and online are long, and the input labor cost is high; the common drawbacks at present are summarized as follows: the method for associating the decision and the rule provided by the implementation of the invention has the advantages of high input cost, lack of flexibility, dependence on hard coding, long online period, incapability of differentiation, complexity, difficulty in handling and low operation efficiency.
The embodiment of the invention provides a detailed description of a method for associating decisions with rules, referring to a flow chart of the method for associating decisions with rules shown in fig. 1, the method mainly comprises the following steps S102 to S106:
step S102, a pre-created sponsor tag set and a service index set are obtained. Wherein, the sponsor tag set is a tree classification tag (i.e. tag tree), and the service index set is an index pool. In one embodiment, the index pool is formed by defining rule indexes and processing complex derivative indexes, and the indexes can be defined into various types such as character type, floating point type, date type, boolean type, enumeration type and the like; the label tree can randomly create N sub-nodes on one root node, and continuously create N secondary sub-nodes and three-level sub-nodes on each sub-node to perform hyperfine classification on the rule.
Step S104, determining a target rule generating tool in response to the first selection operation for the candidate rule creating tool, and determining a target business index in response to the second selection operation for the business index set. The rule generating tool used for establishing the target rule is determined through a first selection operation, and the index used for establishing the target rule is determined through a second selection operation.
And S106, generating first rule information according to the target rule generating tool and the target business index. In one embodiment, the selected rule generation tool and index are ranked to generate the first rule information. In practical application, the fund party rules are created and edited in a simple page dragging component mode, and the mode is more friendly to a user and is easier to master the use method quickly; the method upgrades the mode of coding, developing and writing the rule formula by a user from the past developer to the simple dragging of service personnel, and can also form a complex rule formula; the component drag completion background generates a corresponding machine-executable EL expression or other language expression, which is a logical operation that the machine can actually perform.
In one embodiment, the rule information is translated by using a preset logic operation language to obtain a first translation result, the first translation result is legally checked by using a preset check logic, and if the legality check is passed, the first translation result is stored. In practical application, referring to a flow chart of rule information translation shown in fig. 2-1, a flow chart of rule information translation shown in fig. 2-2, and a flow chart of rule information translation window shown in fig. 2-3, each time a user drags an index or operator, the user translates a logical operation language into a natural language which can be understood by a person in real time, and the principle of the most core translation process is to compare and replace the index or formula in a rule formula with the definition in a json string, and finally form a natural language to be displayed at the front end.
Step S108, at least one first sponsor tag corresponding to the first rule information is selected from the sponsor tag set, and an association relationship between the rule information and each target sponsor tag is established. The labels in the sponsor label set are labels configured by service personnel according to the needs of the sponsor, the first sponsor label is used for determining the label corresponding to the rule in the process of establishing the rule, in one implementation mode, the label corresponding to the first rule information is selected from a label tree, one item of rule information can correspond to a plurality of labels, and the same label can also be allocated to a plurality of items of rule information.
According to the association method of the decision and the rule, provided by the embodiment of the invention, the association relation between the decision and the label and the rule are established, so that the rule of the decision can be flexibly configured, the manpower development cost is obviously reduced, and the timeliness of decision configuration is further improved.
The embodiment of the invention also provides an implementation mode of a configuration decision scheme, and the implementation mode is specifically described in the following (1) to (3):
(1) And acquiring the demands of the sponsors, selecting at least one second sponsor tag corresponding to the demands of the sponsors from the sponsor tag set, and establishing a rule set tag set according to the second sponsor tag. The second sponsor tag is used for establishing a rule set corresponding to a sponsor, and in one implementation, the second sponsor tag corresponding to a sponsor demand is selected, and a rule set tag set is established.
(2) And establishing a decision rule set based on a plurality of pieces of second rule information corresponding to the rule set label set. The decision rule set is a rule set corresponding to a certain sponsor, in one implementation, a second sponsor tag corresponding to a sponsor requirement is selected, a rule set tag set is built, and a rule set corresponding to a tag in the rule set tag set is obtained, so that the decision rule set is obtained.
(3) The target decision scheme includes: rule set configuration scheme and flow configuration scheme, configuring specific embodiments of the target decision scheme according to the decision rule set, see in particular the following (a) to (b):
a: and responding to the ordering operation aiming at the second rule information to obtain a first execution sequence of the second rule information, and packaging the second rule information according to the first execution sequence to obtain a rule set configuration scheme. In practical application, referring to the schematic diagram of the rule set window shown in fig. 3-1 and the schematic diagram of the rule information ordering window in the rule set shown in fig. 3-2, each fund party has a unique designated fund party rule set, and the rule set gathers and encapsulates all rules under the fund party; the order of execution of the rules will be specified by up and down movements.
b: obtaining decision attribute information and selecting third rule information from the candidate rule information, wherein the decision attribute information comprises: and the scoring card and the decision table respond to the sorting operation aiming at the rule set and the decision attribute information corresponding to the third rule information and the second rule information to obtain a second execution sequence, and the third rule information and the rule set decision attribute information are packaged according to the second execution sequence to obtain a flow configuration scheme. In practical application, referring to the schematic diagram of the flow setup window shown in fig. 4, the flow components of the flow setup window can define the start node, the intermediate node and the end node of different flows such as fund routing, payment routing, post-protection division routing and the like; the intermediate node can drag different rules, rule sets, grading cards, decision tables and the like into the node and sequentially execute the rules, rule sets, grading cards, decision tables and the like according to the sequence from front to back, so that a flow configuration scheme of the creation flow is determined.
In one embodiment, upon receiving an index creation instruction, an initial index is created; when the initial index meets the preset configuration requirement, storing the initial index into an index pool; when the initial index does not meet the preset configuration requirement, processing the initial index according to the received index processing information to obtain a derivative index, and storing the derivative index into an index pool. Wherein, the derived index is obtained by adding derived rule information to the initial index, and each index in a set of available index pools (i.e. service index sets) is finally formed by defining the rule index and processing complex derived index, and is also one of the most important basic rule composition elements which are necessary to be used in the subsequent rule creation process; in practical application, the index can be defined as various types such as character type, floating point type, date type, boolean type, enumeration type and the like, the index definition window shown in fig. 5-1 is used for flexibly defining a request field and a return field which are used for interacting with various system interfaces of a third party in the index definition window, the whole process is simpler, more convenient and clearer, each frequent change of an interface field brings about one of conditions of continuous repeated system code development, system joint debugging and test acceptance, the flexible and configurable process avoids the work of code development and system joint debugging, the whole definition can be stored in one large Map, the Map can also comprise a plurality of values such as any sub Map, list set, characters, numerical values, date, boolean values and the like, and the Map is analyzed in the final rule execution process, and the real interface or index parameters are extracted and converted, and the index parameters are shown in the index pool shown in table 1.
Figure SMS_1
Table 1 index pool
In one embodiment, referring to the schematic diagram of the tree classification label shown in fig. 6, the rule label set is a tree classification label (i.e. label tree), each tree classification label corresponds to one or more pieces of rule information, each piece of rule information corresponds to one or more pieces of tree classification labels, in one embodiment, the tree classification label is built, and specific rules are created in the tree classification labels, in practical application, the sunburst intelligent routing decision engine system is used as an entry point, and each fund party rule is subdivided into basic admittance rules, intra-domain rules, credit investigation rules and fund management rules according to the special service of sunburst insurance and different butt joint fund parties; the different classifications of the rules adopt a tree structure, and the tree structure has the greatest advantages that N sub-nodes can be randomly built on one root node, N secondary sub-nodes, three-level sub-nodes and N-level sub-nodes can be continuously built on each sub-node, and the rules are randomly and hyperfinely classified.
In order to facilitate understanding of the association method of a decision and a rule provided in the foregoing embodiment, an application example of the association method of a decision and a rule is provided in the embodiment of the present invention, and referring to a flowchart of another association method of a decision and a rule shown in fig. 7, the method mainly includes the following steps S702 to S714:
step S702, a sponsor tag set and a business index set are obtained. Wherein, the sponsor tag set is a tree classification tag (i.e. tag tree), and the service index set is an index pool. In one embodiment, the index pool is formed by defining rule indexes and processing complex derivative indexes, and the indexes can be defined into various types such as character type, floating point type, date type, boolean type, enumeration type and the like; the label tree can randomly create N sub-nodes on one root node, and continuously create N secondary sub-nodes and three-level sub-nodes on each sub-node to perform hyperfine classification on the rule.
Step S704, rule information is generated by the rule creation tool, the sponsor tag set and the business index set. The rule generating tool used for establishing the target rule is determined through a first selecting operation, the index used for establishing the target rule is determined through a second selecting operation, and in one implementation mode, the selected rule generating tool and the index are ordered to generate first rule information. In practical application, the fund party rules are created and edited in a simple page dragging component mode, and the mode is more friendly to a user and is easier to master the use method quickly; the method upgrades the mode of coding, developing and writing the rule formula by a user from the past developer to the simple dragging of service personnel, and can also form a complex rule formula; the component drag completion background generates a corresponding machine-executable EL expression or other language expression, which is a logical operation that the machine can actually perform.
Step S706, a rule set configuration scheme is generated according to the rule information and the requirements of the sponsor. In one embodiment, a sponsor tag corresponding to a sponsor requirement is selected, a rule set tag set is established, and a rule establishment rule set corresponding to the tag in the rule set tag set is acquired, so that a decision rule set is obtained.
Step S708, a flow configuration scheme is generated according to the rule information, the rule set configuration scheme and the sponsor requirement. The flow components of the flow building window can define the starting node, the intermediate node and the ending node of different flows such as fund routing, payment routing, post-protection division routing and the like; the intermediate node can drag different rules, rule sets, grading cards, decision tables and the like into the node and sequentially execute the rules, rule sets, grading cards, decision tables and the like according to the sequence from front to back, so that a flow configuration scheme of the creation flow is determined.
On the basis of the embodiment, the embodiment of the invention also provides a selection mode of an integrated algorithm, and solves the problem of fund party combination ordering by continuously integrating a mode of combining a plurality of algorithms and a self-defined algorithm. In practical application, when a piece of feed application passes through 20 fund parties such as foreign trade trusts and a certain farmer bank after passing through a fund route, the 20 letters are sequentially ordered to become new problems, and the like bubbling algorithm can order from large to small according to the residual amount of each fund party at the end of each month, so that the fund party with the largest available amount is arranged at the forefront for use, and the fund party with the smallest amount is arranged at the last for use in a reducing way so as to balance the available fund of each fund channel; the average method can be used at the beginning of each month, and the funds of each fund channel at the beginning of each month are all initial funds of the application, so that the overall sorting is most suitable by the average method; the method can find out the most suitable fund party from a plurality of fund parties to pay in the shortest time, and can realize the optimal matching and the fastest matching by integrating a plurality of algorithms.
In summary, the invention can provide a general solution and method for distributing demands for business division, order division and tasks in the real-time transaction process, and for improving the friendliness and flexibility of a routing engine, adopting a rule classification mode, creating maintenance rules, a rule set and a processing means of a rule flow, and adopting a flexible custom interface, custom indexes and an interface assembly processing strategy for realizing low coding, the invention simplifies the flow by fully converting the traditional complex flow requiring code development, testing and acceptance and then online into a page configurable and assembly mode, supports quick online, not only meets the requirement that the fund rule of the business market needs to be changed in real time due to the changing of policy of the instant change, the changing of customer groups and the changing of marketing strategies, but also greatly saves labor cost, and shortens the period of online use to be within 30 minutes by integrating a method of optimal matching by integrating various algorithms, so that online use can be completed 7 to 60 days before improvement; the method also changes the processing rules of the developer in the past into the processing rules of the business person, can process the change of the rules by the business person, greatly reduces the difficulty of use and the admission threshold through a scientific and reasonable method and system, simultaneously improves the accuracy of the traditional manual selection fund party by less than 60 percent, and can provide routing matching service for more than 1000 cash entries per minute after each person needs 20 minutes to complete 1 single selection to be close to 100 percent.
For the method for associating decisions with rules provided in the foregoing embodiment, an embodiment of the present invention provides an apparatus for associating decisions with rules, where the apparatus is applied to a decision engine system, and the decision engine system is configured with a plurality of candidate rule generating tools, see a schematic structural diagram of an apparatus for associating decisions with rules shown in fig. 8, and the apparatus includes the following parts:
a set acquisition module 802, configured to acquire a pre-created set of tariff labels and a set of business indicators;
a rule selection module 804 that determines a target rule generation tool in response to a first selection operation directed to the candidate rule creation tool and a target business index in response to a second selection operation directed to the set of business indexes;
a rule generation module 806 that generates first rule information according to the target rule generation tool and the target business index;
the rule relation establishing module 808 selects at least one first party tag corresponding to the first rule information from the party tag set, and establishes an association relation between the rule information and each target party tag.
According to the data processing device provided by the embodiment of the application, the association relation between the decision and the label and the rule are established, so that the rule of the decision can be flexibly configured, the manpower development cost is obviously reduced, and the timeliness of decision configuration is further improved.
In one embodiment, after the step of generating the first rule information according to the target rule generating tool and the target business index, the rule generating module 806 is further configured to: performing translation processing on the rule information by using a preset logic operation language to obtain a first translation result; and carrying out validity check on the first translation result by using a preset check logic, and storing the first translation result if the validity check is passed.
In one embodiment, after the step of establishing the association between the rule information and each target sponsor tag, the rule relationship establishment module 808 is further configured to: acquiring a sponsor demand, selecting at least one second sponsor label corresponding to the sponsor demand from a sponsor label set, and establishing a rule set label set according to the second sponsor label; establishing a decision rule set based on a plurality of pieces of second rule information corresponding to the rule set label set; and configuring a target decision scheme according to the decision rule set.
In one embodiment, the target decision scheme includes: rule set configuration scheme, the rule relationship establishment module 808 is further configured to, when performing the step of configuring the target decision scheme according to the decision rule set: responding to the ordering operation aiming at the second rule information to obtain a first execution sequence of the second rule information; and packaging the second rule information according to the first execution sequence to obtain a rule set configuration scheme.
In one embodiment, the target decision scheme includes: the rule relation establishment module 808 is further configured to, after the step of obtaining the rule set configuration scheme: obtaining decision attribute information and selecting third rule information from the candidate rule information, wherein the decision attribute information comprises: scoring cards and decision tables; responding to the ordering operation aiming at the third rule information, the rule set corresponding to the second rule information and the decision attribute information to obtain a second execution sequence; and packaging the third rule information and the rule set decision attribute information according to the second execution sequence to obtain a flow configuration scheme.
In one embodiment, the set acquisition module 802 is further configured to: when an index creation instruction is received, creating an initial index; when the initial index meets the preset configuration requirement, storing the initial index into an index pool; when the initial index does not meet the preset configuration requirement, processing the initial index according to the received index processing information to obtain a derivative index, and storing the derivative index into an index pool.
In one embodiment, the rule tag set is a tree classification tag, each tree classification tag corresponds to one or more pieces of rule information, and each piece of rule information corresponds to one or more tree classification tags.
The device provided by the embodiment of the present invention has the same implementation principle and technical effects as those of the foregoing method embodiment, and for the sake of brevity, reference may be made to the corresponding content in the foregoing method embodiment where the device embodiment is not mentioned.
The embodiment of the invention provides electronic equipment, which comprises a processor and a storage device; the storage means has stored thereon a computer program which, when executed by the processor, performs the method of any of the embodiments described above.
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device 100 includes: a processor 90, a memory 91, a bus 92 and a communication interface 93, said processor 90, communication interface 93 and memory 91 being connected by bus 92; the processor 90 is arranged to execute executable modules, such as computer programs, stored in the memory 91.
The memory 91 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and the at least one other network element is implemented via at least one communication interface 93 (which may be wired or wireless), and may use the internet, a wide area network, a local network, a metropolitan area network, etc.
Bus 92 may be an ISA bus, a PCI bus, an EISA bus, or the like. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in fig. 9, but not only one bus or one type of bus.
The memory 91 is configured to store a program, and the processor 90 executes the program after receiving an execution instruction, and the method executed by the apparatus for flow defining disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 90 or implemented by the processor 90.
The processor 90 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuitry in hardware or instructions in software in processor 90. The processor 90 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but may also be a digital signal processor (Digital Signal Processing, DSP for short), application specific integrated circuit (Application Specific Integrated Circuit, ASIC for short), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA for short), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 91 and the processor 90 reads the information in the memory 91 and in combination with its hardware performs the steps of the method described above.
The computer program product of the readable storage medium provided by the embodiment of the present invention includes a computer readable storage medium storing a program code, where the program code includes instructions for executing the method described in the foregoing method embodiment, and the specific implementation may refer to the foregoing method embodiment and will not be described herein.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention, and are not intended to limit the scope of the present invention, but it should be understood by those skilled in the art that the present invention is not limited thereto, and that the present invention is described in detail with reference to the foregoing examples: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method of associating a decision with a rule, the method being applied to a decision engine system configured with a plurality of candidate rule generation tools, the method comprising:
acquiring a pre-established sponsor tag set and a service index set;
determining a target rule generating tool in response to a first selection operation for the candidate rule creating tool, and determining a target business index in response to a second selection operation for the business index set;
generating first rule information according to the target rule generating tool and the target business index;
and selecting at least one first sponsor tag corresponding to the first rule information from the sponsor tag set, and establishing an association relationship between the rule information and each target sponsor tag.
2. The method of claim 1, further comprising, after the step of generating first rule information from the target rule generating tool and target business index:
performing translation processing on the rule information by using a preset logic operation language to obtain a first translation result;
and carrying out validity check on the first translation result by using a preset check logic, and storing the first translation result if the validity check is passed.
3. The method according to claim 1, further comprising, after the step of establishing an association between the rule information and each of the target sponsor tags:
acquiring a sponsor demand, selecting at least one second sponsor label corresponding to the sponsor demand from the sponsor label set, and establishing a rule set label set according to the second sponsor label;
establishing a decision rule set based on a plurality of pieces of second rule information corresponding to the rule set label set;
and configuring a target decision scheme according to the decision rule set.
4. A method according to claim 3, wherein the target decision scheme comprises: a rule set configuration scheme, wherein the step of configuring a target decision scheme according to the decision rule set comprises the following steps:
responding to the ordering operation aiming at the second rule information to obtain a first execution sequence of the second rule information;
and packaging the second rule information according to the first execution sequence to obtain the rule set configuration scheme.
5. The method of claim 4, wherein the target decision scheme comprises: the process configuration scheme further comprises, after the step of obtaining the rule set configuration scheme:
obtaining decision attribute information and selecting third rule information from candidate rule information, wherein the decision attribute information comprises: scoring cards and decision tables;
responding to the sorting operation aiming at the third rule information, the rule set corresponding to the second rule information and the decision attribute information to obtain a second execution sequence;
and packaging the third rule information and the decision attribute information of the rule set according to the second execution sequence to obtain the flow configuration scheme.
6. The method according to claim 1, wherein the method further comprises:
when an index creation instruction is received, creating an initial index;
when the initial index meets the preset configuration requirement, storing the initial index into an index pool;
when the initial index does not meet the preset configuration requirement, processing the initial index according to the received index processing information to obtain a derivative index, and storing the derivative index into the index pool.
7. The method of claim 1, wherein the rule tag set is a tree classification tag, each tree classification tag corresponding to one or more pieces of rule information, each piece of rule information corresponding to one or more pieces of tree classification tags.
8. An apparatus for associating a decision with a rule, the apparatus being applied to a decision engine system configured with a plurality of candidate rule generation tools, the apparatus comprising:
the collection acquisition module is used for acquiring a pre-established sponsor tag collection and a service index collection;
a rule selection module that determines a target rule generation tool in response to a first selection operation directed to the candidate rule creation tool, and determines a target business index in response to a second selection operation directed to the business index set;
the rule generation module generates first rule information according to the target rule generation tool and the target business index;
and the rule relation establishment module is used for selecting at least one first sponsor tag corresponding to the first rule information from the sponsor tag set and establishing an association relation between the rule information and each target sponsor tag.
9. A server comprising a processor and a memory, the memory storing computer executable instructions executable by the processor, the processor executing the computer executable instructions to implement the method of any one of claims 1 to 7.
10. A computer readable storage medium storing computer executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any one of claims 1 to 7.
CN202310020598.XA 2023-01-06 2023-01-06 Method, device and server for associating decision and rule Pending CN116032768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310020598.XA CN116032768A (en) 2023-01-06 2023-01-06 Method, device and server for associating decision and rule

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310020598.XA CN116032768A (en) 2023-01-06 2023-01-06 Method, device and server for associating decision and rule

Publications (1)

Publication Number Publication Date
CN116032768A true CN116032768A (en) 2023-04-28

Family

ID=86072016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310020598.XA Pending CN116032768A (en) 2023-01-06 2023-01-06 Method, device and server for associating decision and rule

Country Status (1)

Country Link
CN (1) CN116032768A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150178625A1 (en) * 2013-12-23 2015-06-25 International Business Machines Corporation Method and apparatus for generating test scenarios for a set of business rules
CN111401722A (en) * 2020-03-11 2020-07-10 第四范式(北京)技术有限公司 Intelligent decision method and intelligent decision system
CN112148343A (en) * 2020-09-02 2020-12-29 广州市双照电子科技有限公司 Rule issuing method and device and terminal equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150178625A1 (en) * 2013-12-23 2015-06-25 International Business Machines Corporation Method and apparatus for generating test scenarios for a set of business rules
CN111401722A (en) * 2020-03-11 2020-07-10 第四范式(北京)技术有限公司 Intelligent decision method and intelligent decision system
CN112148343A (en) * 2020-09-02 2020-12-29 广州市双照电子科技有限公司 Rule issuing method and device and terminal equipment

Similar Documents

Publication Publication Date Title
CN109859052B (en) Intelligent recommendation method and device for investment strategy, storage medium and server
CN111475513B (en) Form generation method and device, electronic equipment and medium
CN110162519A (en) Data clearing method
CN105718490A (en) Method and device for updating classifying model
CN107704512A (en) Financial product based on social data recommends method, electronic installation and medium
Budianto et al. Dividend Per Share in Islamic and Conventional Banking: Mapping Research Topics using VOSviewer Bibliometric and Library Research
CN109284369B (en) Method, system, device and medium for judging importance of securities news information
CN110532534A (en) The method and apparatus for generating engineering value document
CN109727136A (en) The configuration method and device of financial asset
CN108256113A (en) The method for digging and device of data genetic connection
CN108648068A (en) A kind of assessing credit risks method and system
CN112634056A (en) Method, equipment and storage medium for rapidly calculating and updating enterprise share right structure
CN113537960A (en) Method, device and equipment for determining abnormal resource transfer link
CN110688433B (en) Path-based feature generation method and device
de Albornoz et al. Is there room for a PPP secondary market? Financial analysis of the PPP transport sector
CN104933621A (en) Big data analysis system and method for guarantee ring
US20200175078A1 (en) Multiple intent interpreter and recommender
CN108959204A (en) Internet monetary items information extraction method and system
Faccia et al. Business planning and big data, budget modelling upgrade through data science
CN116032768A (en) Method, device and server for associating decision and rule
CN109635289A (en) Entry classification method and audit information abstracting method
Pérez-Elizundia et al. Trends in global research on supply chain finance from 1900 to 2021: a bibliometric analysis
Ricci Ecologically unequal exchange and the value of money
Hidayatulloh et al. Cash flow, investment, and internationalisation strategy
JP5542035B2 (en) Company information management system, company information management method, company information management program

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