CN115756428A - Decision stream development method, device, equipment and storage medium - Google Patents

Decision stream development method, device, equipment and storage medium Download PDF

Info

Publication number
CN115756428A
CN115756428A CN202211353749.5A CN202211353749A CN115756428A CN 115756428 A CN115756428 A CN 115756428A CN 202211353749 A CN202211353749 A CN 202211353749A CN 115756428 A CN115756428 A CN 115756428A
Authority
CN
China
Prior art keywords
decision
module
request
flow development
model
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
CN202211353749.5A
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.)
Shenzhen Xingrong Information Technology Co ltd
Original Assignee
Shenzhen Xingrong Information Technology Co ltd
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 Shenzhen Xingrong Information Technology Co ltd filed Critical Shenzhen Xingrong Information Technology Co ltd
Priority to CN202211353749.5A priority Critical patent/CN115756428A/en
Publication of CN115756428A publication Critical patent/CN115756428A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention relates to the technical field of computers, in particular to a decision flow development method, a device, equipment and a storage medium, wherein the decision flow development method is applied to a decision flow development system, and the decision flow development system comprises: the decision flow development method comprises the following steps: providing a decision model component for man-machine interaction with a configurator through a configuration module, so that the configurator configures component nodes to create a decision flow; when a deployment instruction is received, a deployment module is called to deploy a decision-making process to a rule engine; and when the decision request is received, calling a target decision process corresponding to the decision request from the rule engine through the decision module, generating a decision result based on the decision request and the target decision process, and returning the decision result. The invention simplifies the operation of configuration personnel and improves the convenience of configuration decision flow.

Description

Decision stream development method, device, equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for developing a decision flow.
Background
With the policy support guidance of the state on supply chain business and the vigorous development of the supply chain financial market scale, more and more core enterprises, logistics enterprises and electronic commerce enterprises take the supply chain financial industry as an important link of strategic layout and increase the investment on system digitization. The supply chain financial platform participates in data sharing and strategic cooperation of the main body, and a more scientific credit evaluation system is established, so that credit risk is effectively reduced, the overall efficiency of the supply chain is improved, and the whole industry transaction cost is reduced.
At present, a credit evaluation system is generally built in a decision flow mode, and a hard coding mode is mainly adopted for configuring the decision flow in the construction aspect, so that the expansion is inflexible when the decision flow is configured, the operation performance efficiency is poor, and the convenience of the decision flow configuration is influenced.
Disclosure of Invention
The invention mainly aims to provide a method, a device and equipment for developing a decision flow and a computer readable storage medium, aiming at improving the convenience of configuring the decision flow.
In order to achieve the above object, the present invention provides a decision flow development method applied to a decision flow development system, the decision flow development system including: the system comprises a configuration module, a deployment module and a decision-making module;
the decision flow development method comprises the following steps:
providing a decision model component for human-computer interaction with a configurator through the configuration module, so that the configurator configures a component node to create a decision flow;
when a deployment instruction is received, calling the deployment module to deploy the decision flow to a rule engine;
when a decision request is received, a target decision process corresponding to the decision request is called from the rule engine through the decision module, and a decision result is generated based on the decision request and the target decision process and returned.
Optionally, the decision model represented by the decision model component comprises a real-time model and an operational model;
the decision flow development method further comprises:
inputting the service data carried by each decision request in a preset time period into the operation type model through the decision module at a preset moment so as to generate a model conclusion;
applying the model conclusion to the real-time model to invoke, by the decision module, the real-time model to make a decision based on the model conclusion.
Optionally, the step of generating and returning a decision result based on the decision request and the objective decision process includes:
inputting the service data carried by the decision request into a decision model component of the target decision process through the decision module to generate a decision result;
and returning the decision result to the terminal equipment sending the decision request through the decision module.
Optionally, the decision flow development system further comprises a docking module;
the component nodes also comprise docking nodes, wherein editable third party information is preset in the docking nodes;
the step of generating and returning a decision result based on the decision request and the objective decision flow comprises:
reading target third-party information in a docking node of the target decision process through the docking module, and calling third-party data based on the target third-party information;
inputting the service data and the third-party data carried by the decision request into a decision model component of the target decision process through the decision module to generate a decision result;
and returning the decision result to the terminal equipment sending the decision request through the decision module.
Optionally, the decision flow development method further includes:
acquiring calling information for calling the third-party data by the docking module;
generating, by the docking module, a call report based on the call information.
Optionally, the step of invoking the deployment module to deploy the decision flow to a rules engine includes:
calling the deployment module to generate a database script according to the decision flow;
and storing the database script in a database of a rule engine.
Optionally, the component node comprises: a fact node providing selectable rule facts and a type node providing selectable rule types;
and presetting editable rule variables and rule operations under the fact nodes, wherein the rule types comprise common rules, rule tables, rule trees and scoring cards.
In addition, to achieve the above object, the present invention also provides a decision flow development device applied to a decision flow development system, including: the system comprises a configuration module, a deployment module and a decision-making module;
the decision flow development device comprises:
the first calling module is used for providing a decision model component for man-machine interaction with a configuration person through the configuration module so that the configuration person configures a component node to create a decision flow;
the second calling module is used for calling the deployment module to deploy the decision-making process to a rule engine when a deployment instruction is received;
and the third calling module is used for calling a target decision flow corresponding to the decision request from the rule engine through the decision module when the decision request is received, and generating and returning a decision result based on the decision request and the target decision flow.
In addition, in order to achieve the above object, the present invention further provides a decision flow development device, which includes a memory, a processor, and a decision flow development program stored on the memory and operable on the processor, and when executed by the processor, the decision flow development program implements the steps of the decision flow development method.
In addition, to achieve the above object, the present invention also provides a computer readable storage medium having a decision flow development program stored thereon, which when executed by a processor implements the steps of the decision flow development method described above.
In the invention, a decision model component for man-machine interaction with configuration personnel is provided through a configuration module, so that the configuration personnel configure component nodes to create a decision flow, when a deployment instruction is received, a deployment module is called to deploy the decision flow to a rule engine, when a decision request is received, a target decision flow corresponding to the decision request is called from the rule engine through the decision module, and a decision result is generated and returned based on the decision request and the target decision flow.
Different from the method for configuring the decision-making process and the decision-making model in a coding mode, the decision-making flow configuration method enables decision-making flow configuration personnel to provide a decision-making model component for man-machine interaction with the configuration personnel through a configuration module so that the configuration personnel configure component nodes to create the decision-making process, simplifies the operation of the configuration personnel and improves the convenience of configuration of the decision-making flow. The invention does not depend on the operation and technology of configuration personnel in the decision flow configuration, and improves the applicability and operability of the decision flow configuration.
In addition, the invention does not need configuration personnel to carry out complex coding, reduces the time for configuring the decision-making process and improves the working efficiency of the configuration personnel.
Drawings
FIG. 1 is a schematic flow chart diagram illustrating a first embodiment of a decision flow development method according to the present invention;
FIG. 2 is a schematic diagram of the operation of a decision flow development system according to an embodiment of the present invention;
FIG. 3 is a functional block diagram of a decision flow development device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a decision flow development device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application.
The embodiment of the invention provides a decision flow development method, which is applied to a decision flow development system, wherein the decision flow development system comprises: the device comprises a configuration module, a deployment module and a decision-making module.
Specifically, in this embodiment, the configuration module provides a decision model component for performing human-computer interaction with a configuration person, so that the configuration person configures a decision process. The decision flow comprises a start node, a decision model component and an end node. The deployment module is used for deploying the decision flow created in the configuration module to the rule engine. And the decision module is used for calling a target decision process corresponding to the decision request from the rule engine, generating a decision result based on the decision request and the target decision process and returning the decision result.
It should be noted that, unlike configuring a decision flow by a coding method, the decision flow development system in this embodiment enables a decision flow configurator to provide a decision model component for performing human-computer interaction with the configurator through a configuration module, so that the configurator configures component nodes to create the decision flow, thereby simplifying the operation of the configurator and improving the convenience of configuring the decision flow. In the embodiment, the decision flow development system does not depend on the operation and technology of configuration personnel during the decision flow configuration, so that the applicability and operability of the decision flow configuration are improved.
Meanwhile, in the decision stream development system in the embodiment, a configurator does not need to perform complex coding, so that the time for configuring the decision stream is reduced, and the working efficiency of the configurator is improved.
Further, in some possible embodiments, the component node includes: a fact node providing selectable rule facts and a type node providing selectable rule types.
In this embodiment, the fact node may support a manner of clicking a drop-down selection menu, so that a configurator may configure the rule fact; similarly, the type node may support a manner of clicking a drop-down selection menu, so that a configurator may configure the rule type, where the rule type includes a common rule, a rule table, a rule tree, and a score card, thereby configuring the decision process.
In this embodiment, editable rule variables and rule operations are preset under the fact node, so that a configurator can configure the judgment condition of the rule fact by editing or using preset data.
It should be noted that, compared with configuring a decision model and a decision flow by a coding method, the embodiment implements simple operation of a configuration person, and improves convenience and operability of configuring a decision flow. Compared with the encoding mode, the embodiment can reduce the time for configuring the decision model and improve the efficiency of configuring the decision stream.
Based on the above decision flow development system, referring to the flowchart of the first embodiment of the decision flow development method of the present invention shown in fig. 1, the decision flow development method provided by the embodiment of the present invention includes:
step S10: providing a decision model component for man-machine interaction with a configurator through the configuration module, so that the configurator configures a component node to create a decision flow;
in this embodiment, a configuration module provides a decision model component for human-computer interaction with a configuration staff so that the configuration staff can configure a decision process. In a specific embodiment, the decision model component for performing human-computer interaction with the configuration personnel can be provided by displaying the decision model component on a human-computer interaction interface provided by the configuration module; or, a decision model component for performing human-computer interaction with a configurator may be used as a human-computer interaction interface, and is not limited herein.
In a specific embodiment, a configuration person may configure a decision process by importing external model data into a component node of a configuration module configuration decision model component, where the model data may be encoded data of a decision flow, a table file containing rule facts and rule variables, and the like; configuration personnel can also configure component nodes in a decision model component provided by a configuration module according to actual needs to configure a decision flow, and the specific implementation is not limited in this embodiment.
Step S20: when a deployment instruction is received, calling the deployment module to deploy the decision flow to a rule engine;
after the configuration module completes the configuration decision flow, the configuration personnel can send a deployment instruction. Specifically, in an embodiment, a visual deployment button may be displayed on a decision model component provided by the configuration module, so that a configuration person may send a deployment instruction by clicking the deployment button; in another embodiment, the configuration personnel may send the deployment instruction by inputting the instruction content in the decision model component, and may specifically set the deployment instruction according to the actual requirement.
And when a deployment instruction is received, calling a deployment module to deploy the decision flow to the rule engine.
In a specific embodiment, the decision process may be directly deployed to the rule engine, or the script corresponding to the decision process may be deployed to the rule engine after the decision process is converted into the form of the script, which is not limited herein.
Step S30: when a decision request is received, a target decision process corresponding to the decision request is called from the rule engine through the decision module, and a decision result is generated based on the decision request and the target decision process and returned.
When a decision request is received, a decision flow (hereinafter referred to as a target decision flow for distinction) corresponding to the decision request is called from the rule engine through the decision module.
Specifically, in an embodiment, the decision request may carry flow information to specify a target decision flow, and in this embodiment, a decision module may determine a corresponding target decision flow according to the flow information carried by the decision request; in another embodiment, the target decision process to be invoked may also be determined by the decision module according to the service data carried in the decision request, which is not limited herein.
In this embodiment, after the target decision process is called by the decision module, a decision result is generated based on the decision request and the target decision process and returned.
Specifically, in one embodiment, a conclusion may be reached based on the decision request and the target decision process, for example, the user corresponding to the decision request is not suggested to issue a credit card; in another embodiment, after the analysis data in the decision making process is parsed into a file required by the decision making request, the file may be used as the decision making result, which is not limited herein and may be set according to the actual requirement.
In a specific embodiment, a specific process of generating a decision result based on the decision request and the objective decision process may be different according to the objective decision process. For example, in an embodiment, when a docking node for docking a third party is not set in a decision model component of a target decision process, at this time, service data carried by a decision request is directly input to the decision model component of the target decision process through a decision module, and a decision result can be generated; in another embodiment, when a docking node for docking a third party is set in a decision model component of a goal decision process, at this time, after data of the third party is called based on the docking node, business data and third party data carried in a decision request are input to the decision model component of the goal decision process to generate a decision result, and a specific process is not limited herein.
Further, in some possible embodiments, the component node in step S10 includes: a fact node providing selectable rule facts and a type node providing selectable rule types.
The fact nodes are preset with editable rule variables and rule operations, and the rule types comprise common rules, rule tables, rule trees and scoring cards.
Specifically, in one embodiment, the configurator may select a rule fact by way of a click selection. At this time, based on the fact that the rule is determined by the configuration personnel, the corresponding rule variable and rule operation can be loaded in a dynamic loading manner. In particular, the rule variables include a comparator and an editable comparison parameter, wherein the comparator may be in the form of a symbol, e.g., greater than symbol, less than symbol; or in the form of a string, e.g., greater than, less than.
In another embodiment, the configurator may also edit the rule variables and the rule operations according to actual requirements, and specifically, the configuration is not limited herein, and may be set according to actual requirements.
Specifically, in one embodiment, the configurator may select the rule type by clicking on a selection; in another embodiment, the configuration personnel may also select the rule type by means of instruction input, and at this time, the configuration module may call the rule type corresponding to the input instruction to the type node.
Further, in some possible embodiments, in step S20: calling the deployment module to deploy the decision flow to a rule engine, wherein the deploying comprises:
step S201: calling the deployment module to generate a database script according to the decision flow;
step S202: and storing the database script in a database of a rule engine.
In this embodiment, the decision flow is deployed to the rule engine in the form of a script through the deployment module. Specifically, when a deployment instruction is received, a deployment module is called to generate a database script according to a decision flow, and the database script is stored in a database of the rule engine.
Different from the deployment of the decision flow by a coding mode, the operation of configuration personnel is simplified, and the convenience of the configuration decision flow is improved. In the embodiment, the decision flow development system does not depend on the operation and the technology of configuration personnel in the decision flow configuration, so that the applicability and the operability of the decision flow configuration are improved.
In the embodiment, a decision model component for man-machine interaction with configuration personnel is provided through the configuration module, so that the configuration personnel configure component nodes to create a decision flow; when a deployment instruction is received, a deployment module is called to deploy a decision-making process to a rule engine; and when the decision request is received, calling a target decision process corresponding to the decision request from the rule engine through the decision module, generating a decision result based on the decision request and the target decision process, and returning the decision result.
Different from the method of configuring the decision rule in the decision flow by means of coding, in this embodiment, a decision flow configuration person can provide a decision model component for performing human-computer interaction with the configuration person through the configuration module, so that the configuration person configures a component node to create a decision flow, thereby simplifying the operation of the configuration person and improving the convenience of configuring the decision flow.
The decision flow configuration in the embodiment does not depend on the operation and technology of configuration personnel, and the applicability and operability of the decision flow configuration are improved.
Meanwhile, in the embodiment, configuration personnel do not need to perform complex coding, so that the time for configuring the decision flow is reduced, and the working efficiency of the configuration personnel is improved.
Further, based on the first embodiment, a second embodiment of the decision flow development method of the present invention is provided, and in this embodiment, in the step S30: generating a decision result based on the decision request and the objective decision flow, comprising:
step S301: inputting the service data carried by the decision request into a decision model component of the target decision process through the decision module to generate a decision result;
in this embodiment, no docking node for representing and acquiring third-party data is set in the decision model component. In this embodiment, the decision module may directly use the service data that needs to be subjected to the service decision, and perform the decision based on the objective decision process.
Specifically, the decision request may carry service data, and after receiving the decision request, the decision module may analyze the decision request to obtain the service data. And after the business data obtained by the decision request is analyzed by the decision module, the business data is input into a decision model component of a target decision process to generate a decision result.
Step S302: and returning the decision result to the terminal equipment sending the decision request through the decision module.
In this embodiment, the service data carried in the decision request is input to the decision model component of the target decision process through the decision module to generate a decision result. And after the decision result is obtained, the decision result is returned to the terminal equipment sending the decision request through the decision module.
Further, in some possible embodiments, the decision flow development system further includes a docking module, which is configured to dock a third party service provider to obtain third party data.
In this embodiment, the component node further includes a docking node, where editable third-party information is preset in the docking node, and in a specific implementation manner, the third-party information is information used for acquiring third-party data. Wherein, the third party information may include: the information such as the address of the third party service provider, the data interface of the third party service provider, etc. is not limited herein.
In this embodiment, in step S30: generating a decision result based on the decision request and the objective decision process, including:
step S303: reading target third-party information in a docking node of the target decision process through the docking module, and calling third-party data based on the target third-party information;
in this embodiment, a docking node is set in the decision model component. At this time, the decision module needs to call third-party data provided by a third-party service provider when making a decision. For example, credit record third party data is called from a bank data center for business decision making by a decision module using the third party data.
Specifically, in this embodiment, the third-party information set in the docking node in the decision model of the objective decision process is referred to as objective third-party information.
And reading target third party information set in a docking node in the target decision process through the docking module, and reading an address and an interface of third party data required to be used by the target decision process.
After the address and the data interface of the third-party data needed to be used in the target decision making process are read out through the docking module, the corresponding third-party data are called through the docking module based on the address and the interface, and the decision making is carried out by using the third-party data through the decision making module.
Specifically, in one embodiment, a communication connection is established between the docking module and the decision module, and after the docking module calls third-party data, the third-party data can be sent to the decision module so that the decision module can make a decision by using the third-party data; in another embodiment, the docking module may also be configured to upload the third-party data to the decision flow development system after the third-party data is obtained by calling, and the workflow development system sends the received third-party data to the decision module, which may be specifically set according to actual requirements, and is not limited herein.
Step S304: and inputting the service data and the third-party data carried by the decision request into a decision model component of the target decision process through the decision module so as to generate a decision result.
In this embodiment, the decision request may carry service data. The decision request can carry service data, and after the decision request is received, the decision request is analyzed through the decision module to obtain the service data.
The decision module analyzes the decision request to obtain service data, and after the decision module receives third-party data called by the docking module, the decision module inputs the service data and the third-party data into a decision model component of a target decision process to generate a decision result.
Step S305: and returning the decision result to the terminal equipment sending the decision request through the decision module.
In this embodiment, the service data carried in the decision request is input to the decision model component of the target decision process through the decision module to generate a decision result. And after the decision result is obtained, returning the decision result to the terminal equipment sending the decision request through the decision module.
It should be noted that, compared with the case that the calling address of the third-party data is added to the rule model in a coding manner, the embodiment enables a configurator to quickly and autonomously add the third-party service provider information required for maintenance, does not need to rely on a technician, improves the convenience of configuring the decision flow, and improves the applicability and operability of the decision flow configuration.
Further, in some possible embodiments, the decision flow development method further includes:
step S40: acquiring calling information for calling the third-party data by the docking module;
step S50: generating, by the docking module, a call report based on the call information.
In this embodiment, a call report may also be generated by the docking module according to the data call condition, specifically, call information for the docking module to call the third-party data is obtained, and the call report is generated by the docking module based on the call information. The method realizes classification and statistical management for data service providers, facilitates settlement processing for business personnel, and improves the practicability of the decision flow development system.
In particular embodiments, data consumption records and bills from different data service providers may be included in the call report.
Further, in some possible embodiments, the decision model characterized by the decision model component includes a real-time model and an operational model; the real-time model is used for carrying out decision processing in real time, the operation model is used for generating a conclusion model based on a plurality of data conclusions,
in this embodiment, the method for developing a decision flow further includes:
step S60: inputting the service data carried by each decision request in a preset time period into the operation type model through the decision module at a preset moment so as to generate a model conclusion;
in this embodiment, the decision model is classified and split into: a real-time model and an operation model. The operation type model is used for generating a model conclusion in a batch task operation mode, and the implementation type model is used for providing the model conclusion so as to call the real-time type model through the decision module for decision making.
Specifically, in this embodiment, the business data carried by each decision request in the preset time period is input into the operation type model at the preset time by the decision module, and the business data in the preset time period is decided by the operation type model at the preset time by using the business data input by the decision module, so as to obtain a model conclusion and generate the model conclusion.
In a specific embodiment, the decision module may store service data used in the service decision while performing the service decision each time, send the stored service data in a preset time period to an operation type model component in the decision flow at a preset time through the decision module, and call the operation type model component to perform the decision by using the service data, so as to obtain a model conclusion.
In this embodiment, because different decision requests correspond to different decision processes, when storing service data, the decision processes can be stored in a classified manner according to the difference of the decision processes called by the decision module, and when generating a model conclusion, the decision module can send the service data of each category to the operation type model component in the corresponding decision process.
Further, in this embodiment, the decision flow development system may include: and the storage module is used for storing the service data used in the service decision.
It can be understood that, in an embodiment, when the decision model component includes the docking node, the third-party data called by the docking module and the service data received by the decision module may generate the model conclusion in the same manner as described above, which is not described herein in detail.
Step S70: applying the model conclusion to the real-time model to invoke, by the decision module, the real-time model to make a decision based on the model conclusion.
And after the model conclusion is obtained through the operation model, applying the model conclusion to the real-time model, calling an implementation model in a decision model component of a target decision flow when a decision module is used for business decision, and making a decision based on the model conclusion in the real-time model.
Compared with the existing rule operation in which a real-time algorithm is used, the embodiment improves the operation efficiency of the decision model, thereby improving the data volume and the processing efficiency of business decision processing in unit time.
In this embodiment, when a decision request is received, the decision module inputs the service data carried by the decision request into the decision model component of the target decision process to generate a decision result. The embodiment simplifies the decision process and improves the efficiency of business decision, which is different from the decision making by using logic judgment.
Further, in some possible embodiments, referring to fig. 2, fig. 2 is an application diagram of a decision flow development system according to an embodiment of the present invention. In this embodiment, the decision flow development system includes a configuration module, a deployment module, a decision module, and a docking module (i.e., a docking center shown in fig. 2).
In this embodiment, a human-computer interaction interface with a configurator is provided through a configuration module, so that the configurator configures a decision process, and the self-definition of a decision node page is realized. In this embodiment, a configuration module provides a configuration staff to configure different decision processes based on different service scenarios.
The service scenario in this embodiment relates to: the system comprises the businesses of a production and integration platform, a supply chain business platform, supply chain finance, an internet platform and a cloud platform. Specifically, referring to fig. 2, the service related to the service scenario in this embodiment may include: investment/financing services, fund services, low credit services, warranty mortgage services, real estate wind control services, and the like. It can be understood that, according to actual requirements, a decision flow corresponding to a service other than the service shown in fig. 2 created by a configuration person may also be provided through the configuration module.
In this embodiment, the configuration module provides a decision model component for human-computer interaction with a configuration worker, so that the configuration worker configures the component node. In this embodiment, the component nodes include a fact node, a type node, and a docking node. Specifically, configuring the fact node includes configuring a rule fact, a rule variable and a rule operation method, configuring a type node to configure a rule type, and configuring a connection node to configure relevant information for obtaining third-party data.
Specifically, in this embodiment, the fact node may be supported to be configured in different manners by the configuration module. For example, in one embodiment, the manner in which page clicks may be implemented on the configuration items of the fact node in the decision model component based on native JS (JavaScript) technology to provide a configurator to select a rule fact on the click fact node. Rule variables are dynamically associated by the configuration module based on rule facts selected by a configuration person to generate AND or NOR logical relational expressions. And filtering and displaying the adaptive rule operation method set based on the field type of the rule fact through a configuration module by a reflection mechanism.
In another embodiment, the configuration module further provides an import interface for human-computer interaction with a configuration worker, and in this embodiment, the import interface provided by the configuration module is used by the configuration worker to use a common Excel file as a template, and generate required factual node data (i.e., rule facts and rule variables) quickly and effectively in an offline editing and online import manner.
In this embodiment, the type node provides a selectable rule type, specifically, as shown in fig. 2, the rule type includes: common rules, rule tables, rule trees and scoring cards. The configuration module is used for configuring the type node by the configurator, and can be a mode of realizing page clicking on the configuration item of the type node in the decision model component based on the native JS technology, so as to provide the configurator for selecting the rule type of the click fact node.
In this embodiment, the configuration module pair may be used for a configurator to configure the docking node, and the parameter configuration technology may be used to preset editable information through the docking node in the decision model component provided by the configuration module, so that the configurator can edit the third party information according to actual needs. Based on the configuration mode of the docking node, the embodiment realizes a communication encryption and decryption security mode when third-party data is called, so as to ensure the security of obtaining the third-party data. Based on this, the embodiment enables the configuration personnel to rapidly and autonomously add the information of the third-party service provider required for maintenance without depending on technical personnel, and improves the operability and the use convenience of the decision flow configuration.
In this embodiment, the decision model represented by the decision model component is classified into a real-time model and an operational model in terms of design implementation. Specifically, in this embodiment, the real-time model performs real-time decision based on the conclusion obtained by the operation model, and the real-time model uses a cache technology and a high-concurrency programming technology, so as to support an online transaction high-concurrency scenario. In this embodiment, the operation-type model adopts a day-to-day batch task operation mode, that is, the decision making using the business data of the day is realized by technical means of data slicing, multithread processing, segmented submission and the like at the end of the day, so as to obtain a model conclusion. Based on this, the embodiment can improve the data volume and processing efficiency processed by the decision flow development system in unit time.
In this embodiment, the third party service provider is docked through the docking module to call the third party data. Specifically, referring to fig. 2, in this embodiment, the third-party data at least includes: government data, internet data, third party credit data, etc. It will be appreciated that other third party data than the type of third party data shown in fig. 2 may also be obtained by the docking module, depending on the actual need to make business decisions.
Furthermore, the embodiment can also realize classification statistical management for the data service providers through the docking module, and regularly generate data consumption records and bills between different data service providers, thereby facilitating settlement processing by business personnel.
Based on the above, referring to fig. 2, the specific process of making the service decision in this embodiment may be: and when a decision request is received, calling a corresponding target decision flow from the rule engine through the decision module according to the service scene indicated by the decision request, for example, a risk monitoring decision flow corresponding to the real estate wind control service scene.
And when a docking node of a decision model component in the target decision process is entered, calling corresponding third-party data based on third-party information configured in the docking node through a docking module.
And when entering a decision node of a decision model component in the target decision process, inputting business data and third-party data carried in the decision request into the target decision process through a decision module to generate a decision result. The expression form of the decision result is consistent with the rule type configured by the decision model component in the target process, and the decision result is matched with the business scene, for example, the decision result corresponding to the real estate wind control business scene is a risk screening result.
And after the decision result is generated, outputting the decision result through a decision module and sending the decision result to the terminal equipment sending the decision request.
In addition, the present invention also provides a decision flow development device, which is applied to a decision flow development system, the decision flow development system including: the system comprises a configuration module, a deployment module and a decision-making module;
referring to fig. 3, fig. 3 is a schematic diagram of functional modules of a decision flow development apparatus according to an embodiment of the present invention. The decision flow development device of the invention comprises:
the first calling module 10 is used for providing a decision model component for man-machine interaction with a configuration person through the configuration module so that the configuration person configures a component node to create a decision flow;
the second calling module 20 is configured to call the deployment module to deploy the decision flow to the rule engine when a deployment instruction is received;
a third calling module 30, configured to, when a decision request is received, call, by the decision module, a target decision process corresponding to the decision request from the rule engine, generate a decision result based on the decision request and the target decision process, and return the decision result.
Further, the decision model represented by the decision model component comprises a real-time model and an operational model;
the decision flow development device further includes a fourth call module, where the fourth call module is configured to:
inputting the service data carried by each decision request in a preset time period into the operation type model through the decision module at a preset moment so as to generate a model conclusion;
applying the model conclusion to the real-time model to invoke, by the decision module, the real-time model to make a decision based on the model conclusion.
Further, the third invoking module 30 is further configured to:
inputting the service data carried by the decision request into a decision model component of the target decision process through the decision module to generate a decision result;
and returning the decision result to the terminal equipment sending the decision request through the decision module.
Further, the decision flow development system further comprises a docking module;
the component nodes also comprise docking nodes, wherein editable third party information is preset in the docking nodes;
the third calling module 30 is further configured to:
reading target third-party information in a docking node of the target decision process through the docking module, and calling third-party data based on the target third-party information;
inputting the service data and the third-party data carried by the decision request into a decision model component of the target decision process through the decision module to generate a decision result;
and returning the decision result to the terminal equipment sending the decision request through the decision module.
Further, the decision flow development device further includes a fifth calling module, where the fifth calling module is configured to:
acquiring calling information for calling the third-party data by the docking module;
generating, by the docking module, a call report based on the call information.
Further, the second invoking module 20 is further configured to:
calling the deployment module to generate a database script according to the decision flow;
and storing the database script in a database of a rule engine.
Further, the component node comprises: a fact node providing selectable rule facts and a type node providing selectable rule types;
and presetting editable rule variables and rule operations under the fact nodes, wherein the rule types comprise common rules, rule tables, rule trees and scoring cards.
The steps of the above decision flow development method are implemented when each functional module of the decision flow development device runs.
In addition, the invention also provides decision flow development equipment. Referring to fig. 4, fig. 4 is a schematic structural diagram of a decision flow development device according to an embodiment of the present invention. The decision flow development device in the embodiment of the present invention may specifically be a device for locally operating a decision flow development system.
As shown in fig. 4, the decision flow development device according to the embodiment of the present invention may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., a Wi-Fi interface).
A memory 1005 is provided on the decision flow development device main body, and the memory 1005 stores thereon a program that realizes corresponding operations when executed by the processor 1001. The memory 1005 is also used to store parameters for use by the decision flow development device. The memory 1005 may be a high-speed RAM memory or a non-volatile memory such as a disk memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the decision flow development device architecture illustrated in FIG. 4 does not constitute a limitation of decision flow development devices, and may include more or fewer components than illustrated, or some components may be combined, or a different arrangement of components.
As shown in fig. 4, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a decision flow development program.
In the decision flow development device shown in fig. 4, the processor 1001 may be configured to call the decision flow development program stored in the memory 1005 and perform the following operations:
providing a decision model component for human-computer interaction with a configurator through the configuration module, so that the configurator configures a component node to create a decision flow;
when a deployment instruction is received, calling the deployment module to deploy the decision flow to a rule engine;
when a decision request is received, a target decision process corresponding to the decision request is called from the rule engine through the decision module, and a decision result is generated based on the decision request and the target decision process and returned.
Further, the processor 1001 may be further configured to call the decision flow development program stored in the memory 1005, and perform the following operations:
inputting service data carried by each decision request in a preset time period into the operation type model through the decision module at a preset moment so as to generate a model conclusion;
applying the model conclusion to the real-time model to invoke, by the decision module, the real-time model to make a decision based on the model conclusion.
Further, the processor 1001 may be further configured to call the decision flow development program stored in the memory 1005, and perform the following operations:
inputting the business data carried by the decision request into a decision model component of the target decision process through the decision module to generate a decision result;
and returning the decision result to the terminal equipment sending the decision request through the decision module.
Further, the processor 1001 may be further configured to call the decision flow development program stored in the memory 1005, and perform the following operations:
reading target third-party information in a docking node of the target decision process through the docking module, and calling third-party data based on the target third-party information;
inputting the service data and the third-party data carried by the decision request into a decision model component of the target decision process through the decision module to generate a decision result;
and returning the decision result to the terminal equipment sending the decision request through the decision module.
Further, the processor 1001 may be further configured to call the decision flow development program stored in the memory 1005, and perform the following operations:
acquiring calling information for calling the third-party data by the docking module;
generating, by the docking module, a call report based on the call information.
Further, the processor 1001 may be further configured to call the decision flow development program stored in the memory 1005, and perform the following operations:
calling the deployment module to generate a database script according to the decision flow;
and storing the database script in a database of a rule engine.
Further, the component node comprises: a fact node providing selectable rule facts and a type node providing selectable rule types;
and presetting editable rule variables and rule operations under the fact nodes, wherein the rule types comprise common rules, rule tables, rule trees and scoring cards.
In addition, the invention also provides a computer readable storage medium. Referring to fig. 5, fig. 5 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention. The computer readable storage medium has stored thereon a decision flow development program which, when executed by a processor, implements the steps of the decision flow development method as described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or system comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a computer-readable storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above, and includes instructions for enabling a decision flow development device (which may be a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A decision flow development method is applied to a decision flow development system, and the decision flow development system comprises: the system comprises a configuration module, a deployment module and a decision-making module;
the decision flow development method comprises the following steps:
providing a decision model component for human-computer interaction with a configurator through the configuration module, so that the configurator configures a component node to create a decision flow;
when a deployment instruction is received, calling the deployment module to deploy the decision flow to a rule engine;
when a decision request is received, a target decision process corresponding to the decision request is called from the rule engine through the decision module, and a decision result is generated based on the decision request and the target decision process and returned.
2. The decision flow development method of claim 1 wherein the decision models characterized by the decision model component include a real-time model and an operational model;
the decision flow development method further comprises:
inputting the service data carried by each decision request in a preset time period into the operation type model through the decision module at a preset moment so as to generate a model conclusion;
applying the model conclusion to the real-time model to invoke, by the decision module, the real-time model to make a decision based on the model conclusion.
3. The decision flow development method according to claim 2, wherein the step of generating and returning a decision result based on the decision request and the objective decision flow comprises:
inputting the business data carried by the decision request into a decision model component of the target decision process through the decision module to generate a decision result;
and returning the decision result to the terminal equipment sending the decision request through the decision module.
4. The decision flow development method of claim 2 wherein the decision flow development system further comprises a docking module;
the component nodes also comprise docking nodes, wherein editable third party information is preset in the docking nodes;
the step of generating and returning a decision result based on the decision request and the objective decision flow comprises:
reading target third-party information in a docking node of the target decision process through the docking module, and calling third-party data based on the target third-party information;
inputting the service data and the third-party data carried by the decision request into a decision model component of the target decision process through the decision module to generate a decision result;
and returning the decision result to the terminal equipment sending the decision request through the decision module.
5. The decision flow development method of claim 4, further comprising:
acquiring calling information for calling the third-party data by the docking module;
generating, by the docking module, a call report based on the call information.
6. The decision flow development method of claim 5, wherein the step of invoking the deployment module to deploy the decision flow to a rules engine comprises:
calling the deployment module to generate a database script according to the decision flow;
and storing the database script in a database of a rule engine.
7. The decision flow development method according to any one of claims 1 to 6, wherein the component node comprises: a fact node providing selectable rule facts and a type node providing selectable rule types;
and presetting editable rule variables and rule operations under the fact nodes, wherein the rule types comprise common rules, rule tables, rule trees and scoring cards.
8. A decision flow development device is characterized in that the decision flow development method is applied to a decision flow development system, and the decision flow development system comprises: the system comprises a configuration module, a deployment module and a decision-making module;
the decision flow development device comprises:
the first calling module is used for providing a decision model component for man-machine interaction with configuration personnel through the configuration module so that the configuration personnel can configure the component node to create a decision flow;
the second calling module is used for calling the deployment module to deploy the decision-making process to a rule engine when a deployment instruction is received;
and the third calling module is used for calling a target decision making process corresponding to the decision making request from the rule engine through the decision making module when the decision making request is received, and generating a decision making result based on the decision making request and the target decision making process and returning the decision making result.
9. A decision flow development device, characterized in that the decision flow development device comprises: a memory, a processor, and a decision flow development program stored on the memory and executable on the processor, the decision flow development program configured to implement the steps of the decision flow development method of any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a decision flow development program which, when executed by a processor, implements the steps of the decision flow development method according to any one of claims 1 to 7.
CN202211353749.5A 2022-10-28 2022-10-28 Decision stream development method, device, equipment and storage medium Pending CN115756428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211353749.5A CN115756428A (en) 2022-10-28 2022-10-28 Decision stream development method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211353749.5A CN115756428A (en) 2022-10-28 2022-10-28 Decision stream development method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115756428A true CN115756428A (en) 2023-03-07

Family

ID=85354840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211353749.5A Pending CN115756428A (en) 2022-10-28 2022-10-28 Decision stream development method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115756428A (en)

Similar Documents

Publication Publication Date Title
US8935191B2 (en) Reuse of on-demand enterprise system customization knowledge utilizing collective experience
US9589242B2 (en) Integrating custom policy rules with policy validation process
KR102307471B1 (en) Robotic process automation system
US11366439B2 (en) Closed loop nodal analysis
KR102322885B1 (en) Robotic process automation system for recommending improvement process of automated work flow
CN111324716A (en) Index data acquisition method and device, computer equipment and storage medium
CN116701662A (en) Knowledge graph-based supply chain data management method, device, equipment and medium
US20140282369A1 (en) Software application generator
US20050171885A1 (en) Object oriented demographically predictive insurance agency asset evaluation system and method
Al-Ali et al. Translating bpmn to business rules
CN115756428A (en) Decision stream development method, device, equipment and storage medium
CN107172311B (en) Service evaluation method and terminal equipment
CN113138760B (en) Page generation method and device, electronic equipment and medium
CN111582648A (en) User policy generation method and device and electronic equipment
KR101351079B1 (en) Method and system for providing service for controlling program linked to database
CN111401395A (en) Data processing method, terminal equipment and storage medium
CN114707954B (en) Information management method and system of enterprise intelligent platform
CN117311675B (en) Service configuration method and device related to distributed system and electronic equipment
Wahab et al. Sustainable automated warehouse material handling equipment adoption motives in Malaysia
KR102621198B1 (en) Electronic device of processing business logic and operational method thereof
US12002116B2 (en) Systems and methods for assessment and visualization of excess and obsoletion in supply chain management system
CN111414151B (en) Page generation method and device for process application, electronic equipment and storage medium
CN114372005A (en) Method, device, equipment and medium for writing use case
US20140280378A1 (en) Database generator
US20120124549A1 (en) System and method for capturing project design decisions

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