A method, device and storage medium for determining a deduction strategy of a deduction service process
By generating deduction strategies through the process engine platform, the strategy selection in the deduction business process is decoupled, which solves the problem of code intrusion, saves hardware resources and improves computing efficiency.
Patent Information
- Application Number
- CN202411789794.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2044-12-06
AI Technical Summary
When enterprise business systems execute deduction transactions, the significant differences between different funding parties lead to increased code intrusion, wasted hardware resources, and unnecessary expenditure on computing resources.
The deduction strategy in the deduction business process is determined by the process engine platform. The target rule flow is generated by using the strategy components and flow relationships provided by the configuration interface, thereby decoupling the selection of deduction strategy and reducing code coupling.
It reduces code intrusion into business systems, saves hardware resources, improves computing efficiency, and lowers the probability of payment failure.
Smart Images

Figure CN119960756B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a method, apparatus, computer equipment, and storage medium for determining deduction strategies in a deduction business process. Background Technology
[0002] Currently, when executing deduction transactions, the enterprise's business system needs to follow different deduction processes depending on the funding party, resulting in significant differences between these processes. As the number of participating funding parties increases, these differences also become more pronounced.
[0003] Currently, developers create a set of business code for each payment deduction process, configure this code into the business system, and then have the system run it to implement the payment deduction process. This approach is increasingly intrusive to the business system's code, leading to excessive waste of hardware resources and unnecessary computational expenditure when the business system runs this code. Summary of the Invention
[0004] Based on this, it is necessary to provide a method, apparatus, computer equipment, and storage medium for determining the deduction strategy in a deduction business process to address the aforementioned technical problems. This method can determine the deduction strategy in the deduction business process through a process engine platform, eliminating the need to develop this part of the business code. It decouples the selection of the deduction strategy from the deduction business process, reduces code coupling, thereby reducing code intrusion into the business system and saving hardware resources of the business system.
[0005] A method for determining the deduction strategy in a deduction business process, applied to a process engine platform, includes: responding to a deduction strategy selection instruction to obtain fund deduction information for the deduction business process; obtaining a target rule flow based on the fund deduction information, wherein the target rule flow is generated by the deduction configuration information manually entered into each target strategy component provided in the configuration interface of the process engine platform and the flow relationship of each target strategy component, the deduction configuration information including the target deduction strategy; and determining the target deduction strategy for the deduction business process based on the target rule flow.
[0006] In one embodiment, a method for determining a deduction strategy in a deduction business process further includes: displaying a configuration interface of a process engine platform, the configuration interface containing multiple strategy components; receiving deduction configuration information manually input into each strategy component and the flow relationship of each strategy component manually configured; generating multiple rule flows based on the deduction configuration information of each strategy component and the flow relationship of each strategy component, the multiple rule flows including target rule flows, and the multiple strategy components including each target strategy component; wherein any generated rule flow represents a business scenario corresponding to a fund deduction requirement.
[0007] In one embodiment, the multiple strategy components include a start component, one or more intermediate flow components, and an end component that flow sequentially. The deduction configuration information of the start component includes configured initial trigger information, the deduction configuration information of the intermediate flow components includes configured decision condition information, and the deduction configuration information of the end component includes configured deduction strategies. Any rule flow includes the deduction configuration information of each component in the start component, intermediate flow components, and end component.
[0008] In one embodiment, obtaining the target rule flow based on fund deduction information includes: obtaining trigger information corresponding to the starting component from the fund deduction information; matching the obtained trigger information with the initial trigger information of the starting component; if the match is successful, determining the target intermediate flow component based on the flow relationship of the starting component; obtaining decision information corresponding to the target intermediate flow component from the fund deduction information; determining the target ending component based on the obtained decision information and the decision condition information of the target intermediate flow component; and determining the target rule flow based on the deduction configuration information of each component in the starting component, the target intermediate flow component, and the target ending component.
[0009] In one embodiment, determining the target deduction strategy for the deduction business process based on the target rule flow includes: determining the target deduction strategy for the deduction business process based on the deduction strategy configured in the target termination component.
[0010] In one embodiment, the deduction strategy selection instruction is triggered by the upstream system corresponding to the process engine platform in the business system, and the fund deduction information of the deduction business process is sent from the upstream system to the process engine platform. After the step of determining the target deduction strategy of the deduction business process according to the target rule flow, the method further includes: returning the target deduction strategy of the deduction business process to the downstream system corresponding to the process engine platform in the business system, so that the downstream system can perform the deduction operation according to the target deduction strategy of the deduction business process.
[0011] In one embodiment, after the step of returning the deduction strategy of the deduction business process to the downstream system corresponding to the process engine platform in the business system, the method further includes: monitoring the downstream system to perform deduction operations according to the target deduction strategy of the deduction business process; after monitoring that the deduction operation of the downstream system fails, obtaining the failure reason information from the downstream system; and after associating and binding the failure reason information with the target deduction strategy, generating a failure prompt message for the target deduction strategy to prompt manual adjustment of the configuration.
[0012] A device for determining a deduction strategy in a deduction business process, applied to a process engine platform, includes: a first acquisition module, used to acquire fund deduction information of the deduction business process in response to a deduction strategy selection instruction; a second acquisition module, used to acquire a target rule flow based on the fund deduction information, the target rule flow being generated through deduction configuration information manually entered into each target strategy component provided by the configuration interface of the process engine platform and the configured flow relationship of each target strategy component, the deduction configuration information including the target deduction strategy; and a determination module, used to determine the target deduction strategy of the deduction business process based on the target rule flow.
[0013] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of any of the methods described above.
[0014] A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method of the above embodiment.
[0015] The aforementioned method, apparatus, computer device, and storage medium for determining the deduction strategy in a deduction business process, in response to a deduction strategy selection instruction, acquires the fund deduction information of the deduction business process; obtains a target rule flow based on the fund deduction information, which is generated by manually inputting deduction configuration information into each target strategy component provided in the configuration interface of the process engine platform, as well as the configured flow relationship of each target strategy component. The deduction configuration information includes the target deduction strategy; and determines the target deduction strategy of the deduction business process based on the target rule flow. Therefore, the deduction strategy in the deduction business process can be determined through the process engine platform without developing this part of the business code, decoupling the selection of the deduction strategy from the deduction business process, reducing code coupling, thereby reducing code intrusion into the business system and saving hardware resources of the business system. Attached Figure Description
[0016] Figure 1 This is an application environment diagram of a deduction strategy determination method for a deduction business process in one embodiment;
[0017] Figure 2 This is a flowchart illustrating a method for determining a deduction strategy in a deduction business process, as shown in one embodiment.
[0018] Figure 3 This is a schematic diagram of the configuration interface of the process engine platform in one embodiment;
[0019] Figure 4 This is a structural block diagram of a deduction strategy determination device for a deduction business process in one embodiment;
[0020] Figure 5This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0022] This application provides a method for determining the deduction strategy in a deduction business process, applicable to, for example... Figure 1 The application environment shown. For example... Figure 1 As shown, the process engine platform 100 is used to execute a deduction strategy determination method for a deduction business process according to this application. Specifically, when the business system 200 executes the operation of the deduction business process, it sends a deduction strategy selection instruction to the process engine platform 100. In response to the deduction strategy selection instruction, the process engine platform 100 obtains the fund deduction information of the deduction business process, obtains the target rule flow based on the fund deduction information, and generates the target rule flow through the deduction configuration information manually entered into each target strategy component provided in the configuration interface of the process engine platform and the configured flow relationship of each target strategy component. The target deduction strategy for the deduction business process is determined based on the target rule flow. The determined target deduction strategy for the deduction business process is fed back to the business system 200 so that the business system 200 can continue to execute the deduction business process based on the determined target deduction strategy.
[0023] In one embodiment, such as Figure 2 As shown, a method for determining the deduction strategy in a deduction business process is provided, which is then applied to... Figure 1 Taking the process engine platform 100 as an example, the following steps are included:
[0024] S202, in response to the deduction strategy selection instruction, obtains the fund deduction information of the deduction business process.
[0025] In this embodiment, the deduction strategy selection instruction is used to instruct the process engine platform 100 to provide the deduction strategy for the deduction business process. The process engine platform 100 obtains the fund deduction information for the deduction business process. The fund deduction information includes order information, the fund provider in the order, the principal and interest deducted, the premium, and the premium platform channel, etc.
[0026] S204. Obtain the target rule flow based on the fund deduction information. The target rule flow is generated by the deduction configuration information entered manually in each target strategy component provided in the configuration interface of the process engine platform and the flow relationship of each target strategy component. The deduction configuration information includes the target deduction strategy.
[0027] In this embodiment, the process engine platform provides a configuration interface with multiple strategy components. Users can input deduction configuration information in the strategy components. The deduction configuration information is manually configured based on different business scenarios according to the deduction business. Users can also configure the flow relationship between each strategy component, that is, the relationship between flow from one strategy component to one or more other strategy components.
[0028] Based on the deduction configuration information of each target strategy component and the flow relationship between them, the target rule flow can be determined. That is, when the process engine platform reads the target rule flow, it executes the corresponding operation according to the deduction configuration information in each target strategy component, and then, according to the flow relationship, moves to the next target strategy component to continue executing the operation corresponding to the deduction configuration information of the next target strategy component, until the process ends.
[0029] In one embodiment, prior to step S204 above, a method for determining a deduction strategy in a deduction business process further includes: displaying a configuration interface of a process engine platform, the configuration interface containing multiple strategy components; receiving deduction configuration information manually input into each strategy component and the flow relationship of each strategy component manually configured; generating multiple rule flows based on the deduction configuration information of each strategy component and the flow relationship of each strategy component, the multiple rule flows including target rule flows, and the multiple strategy components including each target strategy component; wherein any generated rule flow represents a business scenario corresponding to a fund deduction requirement.
[0030] Specifically, the configuration interface of the workflow engine platform includes multiple strategy components, each providing users with an input interface for deduction configuration information. It also provides configuration methods for the flow relationships between these strategy components. Through these multiple strategy components and their flow relationships, multiple rule flows can be generated. For example, ... Figure 3 As shown, the configuration interface of the process engine platform provides multiple strategy components. Users manually configure deduction information in each strategy component based on the business scenario requiring fund deductions, resulting in multiple rule flows. For example, ... Figure 3 As shown, rule flow 1 includes: rule decision → decision condition 1 → strategy result 1. Rule flow 2 includes: rule decision → decision condition 1 → decision condition 2 → strategy result 2. Rule flow 3 includes: rule decision → decision condition 1 → strategy result 3. Rule flow 4 includes: rule decision → decision condition 1 → decision condition 3 → strategy result 6. Rule flow 5 includes: rule decision → decision condition 1 → decision condition 3 → decision condition 4 → strategy result 10…
[0031] like Figure 3As shown, after a user manually configures multiple rule flows in the configuration interface of the process engine platform, the platform stores these rule flows. Then, when responding to a deduction strategy selection instruction, the target rule flow is matched from these multiple rule flows using the fund deduction information from the deduction business process.
[0032] In one example, multiple policy components include a start component, one or more intermediate components, and an end component that flow sequentially. The deduction configuration information of the start component includes configured initial trigger information, the deduction configuration information of the intermediate components includes configured decision condition information, and the deduction configuration information of the end component includes configured deduction strategies. Any rule flow contains the deduction configuration information of each component in the start component, intermediate components, and end component.
[0033] Specifically, the start component refers to the first strategy component in the rule flow that initiates the matching process, and the end component refers to the last strategy component in the rule flow. Intermediate flow components are neither start nor end components in the rule flow. The start component configures initial trigger information, triggering the matching operation of the rule flow when the fund deduction information of the deduction business process matches the initial trigger information. The intermediate flow component configures decision condition information, determining the next intermediate flow component or end component based on the matching of the fund deduction information of the deduction business process with the decision condition information. The end component configures the deduction strategy. After determining the end component based on the fund deduction information of the deduction business process, the target deduction strategy for the deduction business process can be determined through the deduction strategy configured in the end component.
[0034] Therefore, through the configuration interface of the process engine platform, multiple different rule flows can be configured based on business scenarios, with each rule flow corresponding to a deduction strategy. For complex business scenarios that require different deduction business processes to be executed according to different funding parties, and where the business processes of each funding party are different, the process engine platform can realize functions such as logic configuration, visualization, and code decoupling, thereby reducing code intrusion into business systems.
[0035] In one embodiment, obtaining the target rule flow based on fund deduction information includes: obtaining trigger information corresponding to the starting component from the fund deduction information; matching the obtained trigger information with the initial trigger information of the starting component; if the match is successful, determining the target intermediate flow component based on the flow relationship of the starting component; obtaining decision information corresponding to the target intermediate flow component from the fund deduction information; determining the target ending component based on the obtained decision information and the decision condition information of the target intermediate flow component; and determining the target rule flow based on the deduction configuration information of each component in the starting component, the target intermediate flow component, and the target ending component.
[0036] Specifically, the fund deduction information includes trigger information and various decision information. The process engine platform retrieves the trigger information corresponding to the starting component from the fund deduction information and matches it. After a successful match, it flows to the next target intermediate flow component, then retrieves the corresponding decision information from the fund deduction information and matches it with the decision information in that target intermediate flow component. Based on the matching result, it flows to the next target flow component, until the target ending component is determined. Through this layer-by-layer matching method, the starting component, target intermediate flow components, and target ending component are finally determined, and the target rule flow is obtained based on the deduction configuration information in each component. For example, such as Figure 3 As shown, the target rule flow is: rule decision → decision condition 1 → decision condition 3 → strategy result 7. At this point, the target deduction strategy is the determined strategy result 7.
[0037] In one example, the above-mentioned determination of the target deduction strategy for the deduction business process based on the target rule flow includes: determining the target deduction strategy for the deduction business process based on the deduction strategy configured in the target end component.
[0038] Specifically, the deduction strategy configured in the target termination component can be used as the target deduction strategy for the deduction business process. Alternatively, based on the deduction strategy configured in the target termination component, the target deduction strategy for the corresponding deduction business process can be matched from the process engine platform according to its attribute configuration. For example, the deduction strategy configured in the target termination component is Result 1, where Result 1 is information represented by internal code in the process engine platform. The specific target deduction strategy corresponding to Result 1 in the process engine platform is: the funding party deducts principal and interest, while other platform channels deduct premiums. Therefore, the deduction strategy configured in the target termination component can be transformed into a specific strategy that business personnel can understand.
[0039] S206, Determine the target deduction strategy for the deduction business process based on the target rule flow.
[0040] In this embodiment, after the process engine platform executes the target rule flow, it obtains the target deduction strategy for the deduction business process. The target deduction strategy represents information such as the deduction process requiring payment from the funding party and the deduction method. Specifically, the target deduction strategy indicates the deduction operation performed by the specific funding party. For example, the target deduction strategy may indicate that the funding party deducts principal and interest, or that the funding party deducts the principal and interest receivables, while the premium is deducted through other platform channels.
[0041] The aforementioned method for determining the deduction strategy in a deduction business process involves: responding to a deduction strategy selection instruction; acquiring the fund deduction information for the deduction business process; obtaining a target rule flow based on the fund deduction information; generating the target rule flow through the deduction configuration information manually entered into each target strategy component provided by the configuration interface of the process engine platform, and the configured flow relationship of each target strategy component; the deduction configuration information including the target deduction strategy; and determining the target deduction strategy for the deduction business process based on the target rule flow. Therefore, the deduction strategy in the deduction business process can be determined through the process engine platform without developing this part of the business code, decoupling the selection of the deduction strategy from the deduction business process, reducing code coupling, thereby reducing code intrusion into the business system and saving hardware resources of the business system.
[0042] In one embodiment, the deduction strategy selection instruction is triggered by the upstream system corresponding to the process engine platform in the business system, and the fund deduction information of the deduction business process is sent from the upstream system to the process engine platform; after the above step S206, a method for determining the deduction strategy of a deduction business process further includes: returning the target deduction strategy of the deduction business process to the downstream system corresponding to the process engine platform in the business system, so that the downstream system performs the deduction operation according to the target deduction strategy of the deduction business process.
[0043] In one example, after returning the deduction strategy of the deduction business process to the downstream system corresponding to the process engine platform in the business system, the process further includes: monitoring the downstream system to perform deduction operations according to the target deduction strategy of the deduction business process; after monitoring that the deduction operation of the downstream system fails, obtaining the failure reason information from the downstream system; and after associating and binding the failure reason information with the target deduction strategy, generating a failure prompt message for the target deduction strategy to prompt manual adjustment of the configuration.
[0044] Specifically, the deduction strategy selection instructions and the fund deduction information for the deduction business process both originate from the upstream system of the process engine platform. After determining the target deduction strategy, the process engine platform feeds it back to the downstream system. The downstream system executes the deduction operation according to the target deduction strategy of the deduction business process. The process engine platform also monitors the deduction operations of the downstream system. When a deduction failure is detected, the failure reason information is associated with the target deduction strategy, and a failure prompt message for the target deduction strategy is generated to prompt manual adjustment of the configuration. Therefore, by combining with the downstream system, the deduction strategy configured in the corresponding termination component can be adjusted in real time, reducing the probability of the business system's deduction business process failing due to incorrect configuration of the deduction strategy.
[0045] In specific application scenarios, the deduction strategy determination method of one of the deduction business processes described in the above embodiments can be encapsulated into a lightweight process component that can be embedded into the business system. Specifically, through the core idea of "strategy + execution + monitoring", "strategy" is used to complete the rule formulation, "execution" is used to complete the strategy result, and "monitoring" is used to ensure the accuracy of execution.
[0046] The "strategy" allows for the creation of different rule flows based on the deduction needs of different funding parties, transforming all business scenarios into a single rule flow. The business system receives the deduction strategy from the rule flow and "executes" the deduction. Simultaneously, during deduction execution, the system incorporates the attribute configuration of the deduction strategy to complete the execution of different strategies. This avoids overly redundant and complex strategies. Diverse processing is further achieved through the combination of the deduction strategy and attribute configuration within the rule flow. Finally, data "monitoring" provides enhanced security and reliability for lightweight process components.
[0047] The configuration steps for lightweight process components include:
[0048] 1. Strategy Input Item Configuration: This section configures the matching information of the above strategy components, such as the matching information that needs to be used for decision judgment in decision condition 1.
[0049] 2. Policy Input Item Monitoring Rule Configuration: This section configures whether the information input into the policy component is valid.
[0050] 3. Rule flow configuration: Configure the deduction strategy information in each strategy component.
[0051] 4. Rule flow execution: Execute the rule flow.
[0052] 5. Rule flow result output: Output the deduction strategy in the end component.
[0053] 6. Configuration of the properties of the rule flow result: Configure the properties of the deduction strategy output by the component at the end of the configuration.
[0054] 7. Execution of rule process results: The deduction policy is returned to the downstream system of the business system.
[0055] 8. Configure monitoring rules for execution results: Configure monitoring rules for deduction results.
[0056] The aforementioned method for determining deduction strategies in a deduction business process is encapsulated into a lightweight process component that can be embedded into the business system. Integration with the business system requires no additional deployment, saving hardware resources. A single rule flow can be defined and reused multiple times, allowing for unlimited expansion and reducing code coupling. Business operations personnel can directly read deduction strategy information for different business models based on the rule flow of the strategy, resulting in greater transparency and stronger business continuity. Monitoring data allows for timely and effective identification of problems in the process, enabling more targeted problem-solving.
[0057] It should be understood that although the steps in the flowchart are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some of the steps in the accompanying drawings may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0058] This application also provides a device for determining the deduction strategy in a deduction business process, applied to a process engine platform. For example... Figure 4 As shown, a deduction strategy determination device for a deduction business process includes a first acquisition module 402, a second acquisition module 404, and a determination module 406. The first acquisition module 402 is used to acquire fund deduction information for the deduction business process in response to a deduction strategy selection instruction; the second acquisition module 404 is used to acquire a target rule flow based on the fund deduction information. The target rule flow is generated by the deduction configuration information manually entered into each target strategy component provided by the configuration interface of the process engine platform, as well as the configured flow relationship of each target strategy component. The deduction configuration information includes the target deduction strategy; the determination module 406 is used to determine the target deduction strategy for the deduction business process based on the target rule flow.
[0059] In one embodiment, a deduction strategy determination device for a deduction business process further includes a configuration module for displaying the configuration interface of the process engine platform. The configuration interface includes multiple strategy components; receives deduction configuration information manually input into each strategy component and the flow relationship of each strategy component manually configured; generates multiple rule flows based on the deduction configuration information of each strategy component and the flow relationship of each strategy component. The multiple rule flows include target rule flows, and the multiple strategy components include each target strategy component. Each generated rule flow represents a business scenario corresponding to a fund deduction requirement.
[0060] In one embodiment, the multiple strategy components include a start component, one or more intermediate flow components, and an end component that flow sequentially. The deduction configuration information of the start component includes configured initial trigger information, the deduction configuration information of the intermediate flow components includes configured decision condition information, and the deduction configuration information of the end component includes configured deduction strategies. Any rule flow includes the deduction configuration information of each component in the start component, intermediate flow components, and end component.
[0061] In one embodiment, obtaining the target rule flow based on fund deduction information includes: obtaining trigger information corresponding to the starting component from the fund deduction information; matching the obtained trigger information with the initial trigger information of the starting component; if the match is successful, determining the target intermediate flow component based on the flow relationship of the starting component; obtaining decision information corresponding to the target intermediate flow component from the fund deduction information; determining the target ending component based on the obtained decision information and the decision condition information of the target intermediate flow component; and determining the target rule flow based on the deduction configuration information of each component in the starting component, the target intermediate flow component, and the target ending component.
[0062] In one embodiment, determining the target deduction strategy for the deduction business process based on the target rule flow includes: determining the target deduction strategy for the deduction business process based on the deduction strategy configured in the target termination component.
[0063] In one embodiment, the deduction strategy selection instruction is triggered by the upstream system corresponding to the process engine platform in the business system, and the fund deduction information of the deduction business process is sent from the upstream system to the process engine platform. After determining the target deduction strategy of the deduction business process according to the target rule flow, the method further includes: returning the target deduction strategy of the deduction business process to the downstream system corresponding to the process engine platform in the business system, so that the downstream system can perform the deduction operation according to the target deduction strategy of the deduction business process.
[0064] In one embodiment, after returning the deduction strategy of the deduction business process to the downstream system corresponding to the process engine platform in the business system, the method further includes: monitoring the downstream system to perform deduction operations according to the target deduction strategy of the deduction business process; after monitoring that the deduction operation of the downstream system fails, obtaining the failure reason information from the downstream system; and after associating and binding the failure reason information with the target deduction strategy, generating a failure prompt message for the target deduction strategy to prompt manual adjustment of the configuration.
[0065] For specific limitations regarding the deduction strategy determination device for a deduction business process, please refer to the limitations of the deduction strategy determination method for a deduction business process described above, which will not be repeated here. Each module in the aforementioned deduction strategy determination device for a deduction business process can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0066] In one embodiment, a computer device is provided, which may be a server supporting the operation of the process engine platform 100, and its internal structure diagram may be as follows: Figure 5As shown. The computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The network interface is used for data interaction with the business system 200. When the computer program is executed by the processor, it implements the aforementioned method for determining a deduction strategy in a deduction business process.
[0067] Those skilled in the art will understand that Figure 5 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device on which the present application is intended to be applied. A specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0068] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it performs the following steps: in response to a deduction strategy selection instruction, it obtains fund deduction information for a deduction business process; it obtains a target rule flow based on the fund deduction information, the target rule flow being generated by deduction configuration information manually entered in each target strategy component provided by the configuration interface of the process engine platform and the configured flow relationship of each target strategy component, the deduction configuration information including a target deduction strategy; and it determines the target deduction strategy for the deduction business process based on the target rule flow.
[0069] In one embodiment, when the processor executes the computer program, it performs the following steps: displaying the configuration interface of the process engine platform, which includes multiple strategy components; receiving deduction configuration information manually entered into each strategy component and the flow relationship of each strategy component configured manually; generating multiple rule flows based on the deduction configuration information of each strategy component and the flow relationship of each strategy component, wherein the multiple rule flows include target rule flows and the multiple strategy components include each target strategy component; wherein any generated rule flow represents a business scenario corresponding to a fund deduction requirement.
[0070] In one embodiment, the multiple strategy components include a start component, one or more intermediate flow components, and an end component that flow sequentially. The deduction configuration information of the start component includes configured initial trigger information, the deduction configuration information of the intermediate flow components includes configured decision condition information, and the deduction configuration information of the end component includes configured deduction strategies. Any rule flow includes the deduction configuration information of each component in the start component, intermediate flow components, and end component.
[0071] In one embodiment, when the processor executes the computer program to implement the above-described steps of obtaining the target rule flow based on the fund deduction information, it specifically implements the following steps: obtaining the trigger information corresponding to the starting component from the fund deduction information, matching the obtained trigger information with the initial trigger information of the starting component, and if the match is successful, determining the target intermediate flow component based on the flow relationship of the starting component; obtaining the decision information corresponding to the target intermediate flow component from the fund deduction information, and determining the target ending component based on the obtained decision information and the decision condition information of the target intermediate flow component; and determining the target rule flow based on the deduction configuration information of each component in the starting component, the target intermediate flow component, and the target ending component.
[0072] In one embodiment, when the processor executes the computer program to implement the above-described step of determining the target deduction strategy of the deduction business process based on the target rule flow, it specifically implements the following steps: determining the target deduction strategy of the deduction business process based on the deduction strategy configured in the target termination component.
[0073] In one embodiment, the deduction strategy selection instruction is triggered by the upstream system corresponding to the process engine platform in the business system, and the fund deduction information of the deduction business process is sent from the upstream system to the process engine platform; when the processor executes the computer program, it implements the following steps: returning the target deduction strategy of the deduction business process to the downstream system corresponding to the process engine platform in the business system, so that the downstream system can perform the deduction operation according to the target deduction strategy of the deduction business process.
[0074] In one embodiment, when the processor executes the computer program, it performs the following steps: monitoring the downstream system to perform deduction operations according to the target deduction strategy of the deduction business process; after monitoring that the deduction operation of the downstream system fails, obtaining the failure reason information from the downstream system; after associating and binding the failure reason information with the target deduction strategy, generating a failure prompt message for the target deduction strategy to prompt manual adjustment of the configuration.
[0075] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon. When executed by a processor, the computer program performs the following steps: in response to a deduction strategy selection instruction, obtaining fund deduction information for a deduction business process; obtaining a target rule flow based on the fund deduction information, the target rule flow being generated through deduction configuration information manually entered into each target strategy component provided by the configuration interface of the process engine platform and the configured flow relationship of each target strategy component, the deduction configuration information including a target deduction strategy; and determining the target deduction strategy for the deduction business process based on the target rule flow.
[0076] In one embodiment, when the computer program is executed by the processor, it performs the following steps: displaying the configuration interface of the process engine platform, which includes multiple strategy components; receiving deduction configuration information manually entered into each strategy component and the flow relationship of each strategy component configured manually; generating multiple rule flows based on the deduction configuration information of each strategy component and the flow relationship of each strategy component, wherein the multiple rule flows include target rule flows and the multiple strategy components include each target strategy component; wherein any generated rule flow represents a business scenario corresponding to a fund deduction requirement.
[0077] In one embodiment, the multiple strategy components include a start component, one or more intermediate flow components, and an end component that flow sequentially. The deduction configuration information of the start component includes configured initial trigger information, the deduction configuration information of the intermediate flow components includes configured decision condition information, and the deduction configuration information of the end component includes configured deduction strategies. Any rule flow includes the deduction configuration information of each component in the start component, intermediate flow components, and end component.
[0078] In one embodiment, when the computer program is executed by the processor to implement the above-described steps of obtaining the target rule flow based on the fund deduction information, the specific steps are as follows: obtaining the trigger information corresponding to the starting component from the fund deduction information, matching the obtained trigger information with the initial trigger information of the starting component, and if the match is successful, determining the target intermediate flow component based on the flow relationship of the starting component; obtaining the decision information corresponding to the target intermediate flow component from the fund deduction information, and determining the target ending component based on the obtained decision information and the decision condition information of the target intermediate flow component; and determining the target rule flow based on the deduction configuration information of each component in the starting component, the target intermediate flow component, and the target ending component.
[0079] In one embodiment, when a computer program is executed by a processor to implement the above-described step of determining the target deduction strategy of the deduction business process based on the target rule flow, the specific steps are as follows: determining the target deduction strategy of the deduction business process based on the deduction strategy configured in the target termination component.
[0080] In one embodiment, the deduction strategy selection instruction is triggered by the upstream system corresponding to the process engine platform in the business system, and the fund deduction information of the deduction business process is sent from the upstream system to the process engine platform; when the computer program is executed by the processor, it performs the following steps: returning the target deduction strategy of the deduction business process to the downstream system corresponding to the process engine platform in the business system, so that the downstream system performs the deduction operation according to the target deduction strategy of the deduction business process.
[0081] In one embodiment, when the computer program is executed by the processor, it performs the following steps: monitoring the downstream system to perform deduction operations according to the target deduction strategy of the deduction business process; after monitoring that the deduction operation of the downstream system fails, obtaining the failure reason information from the downstream system; after associating and binding the failure reason information with the target deduction strategy, generating a failure prompt message for the target deduction strategy to prompt manual adjustment of the configuration.
[0082] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0083] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0084] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.
Claims
1. A method for determining a deduction strategy of a deduction service flow, characterized in that, The method is applied to a process engine platform, and the method comprises the following steps: a configuration interface of the process engine platform is displayed, and the configuration interface comprises a plurality of policy components; configuration information of a deduction in each policy component input by a person and a flow relationship of each policy component configured by the person are received, wherein the plurality of policy components comprise a start component, one or more intermediate flow components and an end component, the configuration information of the deduction of the start component comprises configured initial trigger information, the configuration information of the deduction of the intermediate flow component comprises configured decision condition information, and the configuration information of the deduction of the end component comprises configured deduction strategy; a plurality of rule flows are generated according to the configuration information of the deduction of each policy component and the flow relationship of each policy component, any rule flow represents a business scenario corresponding to a fund deduction demand, and any rule flow comprises the configuration information of the deduction of each component in the start component, the intermediate flow component and the end component; in response to a deduction strategy selection instruction, fund deduction information of the deduction business process is obtained; a target rule flow is obtained according to the fund deduction information; a target deduction strategy of the deduction business process is determined according to the target rule flow; wherein the target rule flow is obtained according to the fund deduction information, comprising: trigger information corresponding to the start component is obtained from the fund deduction information, the obtained trigger information is matched with the initial trigger information of the start component, if the matching is successful, a target intermediate flow component is determined according to the flow relationship of the start component; decision information corresponding to the target intermediate flow component is obtained from the fund deduction information, and a target end component is determined according to the obtained decision information and the decision condition information of the target intermediate flow component; a target rule flow is determined according to the configuration information of the deduction of each component in the start component, the target intermediate flow component and the target end component.
2. The method of claim 1, wherein, the target deduction strategy of the deduction business process is determined according to the target rule flow, comprising: the target deduction strategy of the deduction business process is determined according to the deduction strategy configured in the target end component.
3. The method of claim 1, wherein, the deduction strategy selection instruction is triggered by an upstream system corresponding to the process engine platform in the business system, and the fund deduction information of the deduction business process is sent to the process engine platform by the upstream system; after the step of determining the target deduction strategy of the deduction business process according to the target rule flow, the method further comprises: the target deduction strategy of the deduction business process is returned to a downstream system corresponding to the process engine platform in the business system, so that the downstream system performs a deduction operation according to the target deduction strategy of the deduction business process.
4. The method of claim 3, wherein, after the step of returning the deduction strategy of the deduction business process to the downstream system corresponding to the process engine platform in the business system, the method further comprises: the deduction operation of the downstream system according to the target deduction strategy of the deduction business process is monitored; after monitoring that the deduction operation of the downstream system fails, failure reason information is obtained from the downstream system; After the failure cause information is associated with the target deduction strategy, failure prompt information of the target deduction strategy is generated to prompt manual adjustment configuration.
5. A collection policy determination apparatus of a collection service flow, characterized by comprising: The device is applied to a process engine platform, and the device comprises: A configuration module is configured to display a configuration interface of the process engine platform, wherein the configuration interface comprises a plurality of strategy components; receive deduction configuration information input by a human in each strategy component and flow transfer relationships of each strategy component configured by the human, wherein the plurality of strategy components comprise a start component, one or more intermediate flow transfer components, and an end component, the deduction configuration information of the start component comprises configured initial trigger information, the deduction configuration information of the intermediate flow transfer component comprises configured decision condition information, and the deduction configuration information of the end component comprises configured deduction strategy; generate a plurality of rule flows according to the deduction configuration information of each strategy component and the flow transfer relationships of each strategy component, and any rule flow generated represents a business scenario corresponding to a fund deduction demand, and any rule flow comprises deduction configuration information of each component in the start component, the intermediate flow transfer component, and the end component; A first obtaining module is configured to obtain fund deduction information of the deduction business process in response to a deduction strategy selection instruction. A second obtaining module is configured to obtain a target rule flow according to the fund deduction information, wherein the target rule flow is generated according to deduction configuration information input by a human in each target strategy component of a configuration interface of the process engine platform and flow transfer relationships of each target strategy component configured by the human, and the deduction configuration information comprises a target deduction strategy. A determination module is configured to determine a target deduction strategy of the deduction business process according to the target rule flow.
6. A computer device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the steps of the method in any one of claims 1 to 4.
7. A computer-readable storage medium having stored thereon a computer program, characterized in that The computer program is executed by the processor to implement the steps of the method in any one of claims 1 to 4.
Citation Information
Patent Citations
Deduction instruction configuration method, loan aid system and compute equipment
CN109509079A
Decision and rule association method and device and server
CN116032768A