Business processing method and device, computer equipment and storage medium
By creating workflows for automated tasks in the financial business system and adjusting resource allocation strategies in real time, the problem of system performance degradation when processing a large number of tasks is solved, and the scalability and performance of the system are improved.
Patent Information
- Application Number
- CN202411514144.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-28
- Publication Date
- 2025-01-24
AI Technical Summary
Financial business systems face scalability challenges in complex service orchestration scenarios, and handling a large number of tasks and workflows can lead to system performance degradation or system crashes.
Create workflows for automated tasks and determine monitoring metrics by responding to users' process orchestration operations in the visual process editor. Allocate resources to the target workflow according to the preset resource allocation strategy, and obtain monitoring data in real time to adjust the resource allocation strategy to ensure that resource allocation meets the preset conditions.
It improves the flexibility of system resource allocation and avoids the decline or collapse of system performance due to resource allocation, thereby improving the performance of the business system.
Smart Images

Figure CN119356986A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of financial technology, and in particular to a business processing method, apparatus, computer equipment and storage medium. Background Art
[0002] Visual monitoring of financial business systems is an important solution technology in the field of information technology. Through this visual monitoring, users can clearly understand the status and performance of the entire system service process, as well as the progress of the workflow, task status, error and alarm information, etc.
[0003] However, in complex service orchestration scenarios, the system also faces scalability challenges. Processing a large number of tasks and workflows may lead to system performance degradation or system crash. Summary of the invention
[0004] The embodiments of the present application provide a business processing method, apparatus, computer equipment and storage medium, which can improve the performance of a business system.
[0005] In a first aspect, an embodiment of the present application provides a service processing method, which includes:
[0006] In response to a process orchestration operation triggered by a user through a visual process editor, creating a workflow of at least one automation task, and determining monitoring indicators of each of the automation tasks;
[0007] When a target automation task is acquired, determining a target workflow corresponding to the target automation task and a target monitoring indicator corresponding to the target automation task from at least one of the workflows;
[0008] Allocating resources for the target workflow according to a preset resource allocation strategy, and executing the target automation task based on the allocated resources;
[0009] Acquire the target monitoring data corresponding to the target automation task in real time according to the target monitoring component corresponding to the target monitoring indicator;
[0010] Determining whether the resource allocation strategy meets the preset adjustment conditions according to the target monitoring data;
[0011] If the resource allocation strategy meets the adjustment conditions, the resource allocation strategy is adjusted according to the target monitoring data and the preset resource allocation adjustment strategy, and the step of allocating resources for the target workflow according to the preset resource allocation strategy and executing the target automation task based on the allocated resources is returned.
[0012] In a second aspect, an embodiment of the present application further provides a service processing device, comprising:
[0013] A creation unit, configured to create a workflow of at least one automation task in response to a process orchestration operation triggered by a user through a visual process editor, and determine monitoring indicators of each of the automation tasks;
[0014] A first determining unit is configured to, when a target automation task is acquired, determine a target workflow corresponding to the target automation task and a target monitoring indicator corresponding to the target automation task from at least one of the workflows;
[0015] An execution unit, configured to allocate resources for the target workflow according to a preset resource allocation strategy, and execute the target automation task based on the allocated resources;
[0016] A first acquisition unit, configured to acquire target monitoring data corresponding to the target automation task in real time according to the target monitoring component corresponding to the target monitoring indicator;
[0017] A first judgment unit, configured to judge whether the resource allocation strategy meets a preset adjustment condition according to the target monitoring data;
[0018] An adjustment unit is used to adjust the resource allocation strategy according to the target monitoring data and a preset resource allocation adjustment strategy if the resource allocation strategy meets the adjustment condition, and return to execute the execution unit.
[0019] In a third aspect, an embodiment of the present application further provides a computer device, which includes a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above method when executing the computer program.
[0020] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein the storage medium stores a computer program, wherein the computer program includes program instructions, and wherein the program instructions can implement the above method when executed by a processor.
[0021] The embodiment of the present application provides a business processing method, device, computer equipment and storage medium. The method includes: in response to a process arrangement operation triggered by a user through a visual process editor, creating a workflow of at least one automated task, and determining the monitoring indicators of each of the automated tasks; when a target automated task is obtained, determining a target workflow corresponding to the target automated task and a target monitoring indicator corresponding to the target automated task from at least one of the workflows; allocating resources for the target workflow according to a preset resource allocation strategy, and executing the target automated task based on the allocated resources; acquiring the target monitoring data corresponding to the target automated task in real time according to the target monitoring component corresponding to the target monitoring indicator; judging whether the resource allocation strategy meets the preset adjustment conditions according to the target monitoring data; if the resource allocation strategy meets the adjustment conditions, adjusting the resource allocation strategy according to the target monitoring data and the preset resource allocation adjustment strategy, and returning to execute the steps of allocating resources for the target workflow according to the preset resource allocation strategy, and executing the target automated task based on the allocated resources. In the embodiment of the present application, the resource allocation strategy can be adjusted according to the acquired monitoring data, and the business processing system will reallocate resources to the tasks based on the adjusted resource allocation strategy, thereby improving the flexibility of system resource allocation, avoiding system performance degradation or system crash due to resource allocation reasons, and thus improving the performance of the business system. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0023] Figure 1 A schematic diagram of an application scenario of the business processing method provided in an embodiment of the present application;
[0024] Figure 2 A flowchart of a business processing method provided in an embodiment of the present application;
[0025] Figure 3 A schematic diagram of a sub-process of the business processing method provided in an embodiment of the present application;
[0026] Figure 4 A schematic diagram of another sub-process of the business processing method provided in an embodiment of the present application;
[0027] Figure 5 A schematic block diagram of a service processing device provided in an embodiment of the present application;
[0028] Figure 6 A schematic block diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0030] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0031] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0032] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0033] Embodiments of the present application provide a service processing method, apparatus, computer equipment, and storage medium.
[0034] The executor of the business processing method may be the business processing device provided in the embodiment of the present application, or a computer device integrating the business processing device, wherein the business processing device may be implemented in hardware or software, the computer device may be a terminal or a server, and the terminal may be a smart phone, a tablet computer, a PDA, or a laptop computer, etc.
[0035] See also Figure 1 , Figure 1 Schematic diagram of an application scenario of the business processing method provided in the embodiment of the present application. The business processing method is applied to Figure 1In the business processing system in the present invention, the business processing system provides a visual process editor, and the user can directly trigger the process orchestration operation based on the visual process editor, create at least one workflow of the automation task, and determine the monitoring indicators of each automation task; when the target automation task is obtained, the target workflow corresponding to the target automation task and the target monitoring indicator corresponding to the target automation task are determined from at least one workflow; resources are allocated to the target workflow according to a preset resource allocation strategy, and the target automation task is executed based on the allocated resources; the target monitoring data corresponding to the target automation task is obtained in real time according to the target monitoring component corresponding to the target monitoring indicator; whether the resource allocation strategy meets the preset adjustment conditions is determined according to the target monitoring data; if the resource allocation strategy meets the adjustment conditions, the resource allocation strategy is adjusted according to the target monitoring data and the preset resource allocation adjustment strategy, and the step of returning to execute resources for the target workflow according to the preset resource allocation strategy, and executing the target automation task based on the allocated resources. It can be seen that the embodiment of the present application can adjust the resource allocation strategy according to the acquired monitoring data, and the business processing system will reallocate resources to the tasks based on the adjusted resource allocation strategy, thereby improving the flexibility of system resource allocation, avoiding system performance degradation or system crash due to resource allocation reasons, and thus improving the performance of the business system.
[0036] Figure 2 The following is a flow chart of the business processing method provided by the embodiment of the present application. The business processing method provided by the present application is described below with the business processing system as the execution subject. The business processing system can specifically be a financial business processing system, such as a banking business processing system.
[0037] like Figure 2 As shown, the method includes the following steps S110-S170.
[0038] S110: In response to a process orchestration operation triggered by a user through a visual process editor, create a workflow of at least one automation task, and determine a monitoring indicator for each of the automation tasks.
[0039] In this embodiment, the business processing system provides a visual monitoring interface, and a visual process editor is provided in the visual monitoring interface. Through the visual process editor, the user can customize the workflow and monitoring indicators of each task.
[0040] Specifically, the visual monitoring interface is generated by a modular architecture, which includes a visual process editor (workflow definition) and an execution engine setting module, a monitoring module, a reporting module, and a user interface display module, etc., to ensure that the designed system is scalable, reliable, and secure.
[0041] It can be seen that this embodiment enables users to easily create, manage and monitor service orchestration execution processes by designing an intuitive visual monitoring interface. At the same time, the interface provides real-time status information, error reports and warnings, as well as customizable dashboards and reporting functions through various modules.
[0042] This embodiment provides an extensible workflow definition and management mechanism for business processing system design, allowing users to customize service orchestration execution processes according to their own needs. It also provides a visual workflow editor that allows users to easily define tasks, steps, and dependencies. At the same time, it supports complex conditional logic and branch control to meet different business scenarios.
[0043] The monitoring module and the reporting module provide real-time monitoring and reporting functions, respectively, and provide real-time access to workflow execution status, task progress, performance indicators, and log information. Customizable dashboards, charts, and graphical displays and other monitoring and reporting interfaces are provided to support quick understanding of system operation and trends. The monitoring module stores a variety of monitoring components, and the target monitoring data in this embodiment includes performance indicator data.
[0044] It can be seen that the business processing system provided by this application has a flexible service orchestration execution process definition and an extensible architecture that can adapt to changing needs and scales, and users can customize configuration and expansion according to their own needs. Work creation through a visual process editor improves user experience and ease of use. Users do not need to have an in-depth understanding of complex orchestration technologies and details, and can easily create, manage, and monitor workflows through a graphical interface.
[0045] Among them, the visual monitoring interface provided by this application can support intuitive charts, reports and dashboards to help operations understand the system status, trends and key indicators, enabling users to better understand the system's performance, resource utilization and bottlenecks, and support better decision-making and optimization.
[0046] S120: When a target automation task is acquired, determine a target workflow corresponding to the target automation task and a target monitoring indicator corresponding to the target automation task from at least one of the workflows.
[0047] In this embodiment, multiple target automation tasks may be acquired simultaneously, and steps S120 - S160 are executed for each target automation task.
[0048] The target automation task is the automation task that needs to be executed currently. It can be automatically triggered according to the trigger mechanism preset by the system, or it can be manually triggered in response to user instructions.
[0049] Specifically, since the system has pre-constructed workflows corresponding to multiple automation tasks and monitoring indicators for each automation task, when the target automation task that needs to be executed is obtained, the target workflow corresponding to the task identifier of the target automation task and the corresponding target monitoring indicators are determined from the pre-constructed multiple workflows.
[0050] S130: Allocate resources for the target workflow according to a preset resource allocation strategy, and execute the target automation task based on the allocated resources.
[0051] In this embodiment, the resource allocation strategy is used to instruct to allocate resources to the target automation task according to the available resources of the current system and the amount of resources required by the task.
[0052] Among them, Figure 3 As shown, executing the target automation task based on the allocated resources includes:
[0053] S1301, creating a target execution engine corresponding to the target workflow based on the allocated resources;
[0054] S1302: Add the target automation task to the target execution engine to execute the target workflow.
[0055] Specifically, according to the allocated resources, an engine that is currently idle and whose resource type and available resources correspond to the allocated resource type and resource quantity is found in the system as the target execution engine, and the target automation task is added to the target execution engine, and the target automation task is executed by the target execution engine.
[0056] S140. Acquire target monitoring data corresponding to the target automation task in real time according to the target monitoring component corresponding to the target monitoring indicator.
[0057] In this embodiment, based on Figure 3 Corresponding embodiments, such as Figure 4 As shown, the target monitoring component corresponding to the target monitoring indicator acquires the target monitoring data corresponding to the target automation task in real time, including:
[0058] S1401, determining a target monitoring component corresponding to the target monitoring indicator from a plurality of preset monitoring components; determining the target monitoring instance of the target execution engine by using the target monitoring component;
[0059] S1402. Acquire the target monitoring data through the target monitoring instance.
[0060] Specifically, the system is equipped with different monitoring components for different types of monitoring data. The monitoring components are used to generate corresponding monitoring instances according to internal logic so as to obtain the operation status of the current monitoring object (target execution engine) through the monitoring instances, wherein the target monitoring data includes resource utilization, task execution time, etc.
[0061] In some embodiments, in order to avoid task suspension due to abnormal task execution, this embodiment also determines whether the target automation task meets the preset restart conditions based on the target monitoring data after the target monitoring data; if the target automation task meets the restart conditions, it returns to execute the steps of allocating resources for the target workflow according to the preset resource allocation strategy, and executing the target automation task based on the allocated resources.
[0062] It can be seen that this application can automatically restart abnormal services, further improving the performance of the system.
[0063] In addition, in order to prevent the task from falling into a restart cycle, the present embodiment further sets a restart times threshold, and only abnormal services with a restart times threshold less than the restart times threshold enter the restart step. At this time, judging whether the target automation task meets the preset restart condition according to the target monitoring data includes:
[0064] Determine whether the target automation task is executed abnormally according to the target monitoring data; if the target automation task is executed abnormally, obtain the number of restarts of the target automation task; if the number of restarts is less than a preset restart number threshold, determine that the target automation task meets the restart condition; if the target automation task is executed normally, or the number of restarts is greater than or equal to the restart number threshold, determine that the target automation task does not meet the restart condition.
[0065] Specifically, if the resource utilization rate of the automated task is too low or too high, or the task execution time is too long, the task execution is determined to be abnormal. For tasks that exceed the restart number threshold, the system needs to generate an alarm and have the staff handle the abnormal tasks.
[0066] Furthermore, after the target monitoring component corresponding to the target monitoring indicator acquires the target monitoring data corresponding to the target automation task in real time, the method further includes:
[0067] A trend report corresponding to the target automation task is generated according to the target monitoring data and a preset trend analysis model; the trend report is sent to a report viewing component in a visual monitoring interface, wherein the visual monitoring interface also includes a task execution status viewing component, a task progress viewing component, and a monitoring data viewing component, and different components respectively encapsulate data acquisition logic of corresponding functions.
[0068] Among them, the trend analysis model is determined based on the trend analysis of historical data. The trend report indicates whether anomalies will occur after a certain period of task running, or the data trend of the task, such as the trend of monitoring data. The trend report can be used to issue task anomaly warnings, notify staff to prepare response measures in advance, or dynamically adjust task resource allocation or task execution order according to its own strategy to avoid anomalies.
[0069] The business processing system provided in the embodiment of the present application also provides intelligent analysis capabilities, supports instant understanding of the system status and performance, supports real-time collection and display of key indicators, and monitors task execution and abnormal events. At the same time, the system can automatically optimize service orchestration execution processes and resource allocation, as well as prediction and optimization suggestions based on historical data and trend analysis.
[0070] S150. Determine whether the resource allocation strategy meets the preset adjustment conditions according to the target monitoring data; if so, execute step S160; if not, execute step S170.
[0071] Specifically, the target monitoring data includes task execution time and resource utilization, etc. If the task execution time is not within the preset completion time, and / or the resource utilization is not within the preset resource utilization range, it is determined that the resource allocation strategy meets the preset adjustment conditions, otherwise, there is no need to adjust the resource allocation strategy.
[0072] S160: If the resource allocation strategy meets the adjustment condition, adjust the resource allocation strategy according to the target monitoring data and the preset resource allocation adjustment strategy, and return to execute step S130.
[0073] Specifically, if the resource allocation strategy meets the adjustment conditions, it is necessary to adjust the resource allocation strategy based on the degree of deviation between the target monitoring data and the standard range of the monitoring data, wherein the standard range of the monitoring data includes a preset completion time and a preset resource utilization range. For example, if the resource utilization is too high, more resources are allocated to the task by adjusting the resource allocation adjustment strategy. If the resource utilization is too low, the resources allocated to the task are reduced by adjusting the resource allocation adjustment strategy.
[0074] S170: If the resource allocation strategy does not meet the adjustment condition, continue to execute the target automation task based on the allocated resources.
[0075] Furthermore, the method further includes: in response to the acquired system extension instruction, accessing the extension resource corresponding to the system extension instruction through a preset extension interface.
[0076] It can be seen that the business processing system provided in the embodiment of the present application provides an integrated extension interface and an extension mechanism, which supports seamless integration of the business processing system with third-party systems through the extension interface and the extension mechanism, thereby improving the flexibility of integration between different systems.
[0077] To sum up, the embodiments of the present application can adjust the resource allocation strategy according to the acquired monitoring data, and the business processing system will reallocate resources to the tasks based on the adjusted resource allocation strategy, thereby improving the flexibility of system resource allocation, avoiding system performance degradation or system crash due to resource allocation reasons, and thus improving the performance of the business system.
[0078] Figure 5 is a schematic block diagram of a service processing device 500 provided in an embodiment of the present application. Figure 5 As shown, corresponding to the above service processing method, the present application also provides a service processing device 500. The service processing device 500 includes a unit for executing the above service processing method, and the service processing device 500 can be configured in a terminal or a server. Figure 5 The business processing device 500 includes a creating unit 501, a first determining unit 502, an executing unit 503, a first acquiring unit 504, a first judging unit 505 and an adjusting unit 506.
[0079] A creation unit 501 is used to create a workflow of at least one automation task in response to a process arrangement operation triggered by a user through a visual process editor, and to determine a monitoring indicator of each of the automation tasks;
[0080] A first determining unit 502 is configured to, when a target automation task is acquired, determine a target workflow corresponding to the target automation task and a target monitoring indicator corresponding to the target automation task from at least one of the workflows;
[0081] An execution unit 503 is used to allocate resources for the target workflow according to a preset resource allocation strategy, and execute the target automation task based on the allocated resources;
[0082] A first acquisition unit 504 is used to acquire the target monitoring data corresponding to the target automation task in real time according to the target monitoring component corresponding to the target monitoring indicator;
[0083] A first judging unit 505 is used to judge whether the resource allocation strategy meets a preset adjustment condition according to the target monitoring data;
[0084] The adjustment unit 506 is configured to adjust the resource allocation strategy according to the target monitoring data and a preset resource allocation adjustment strategy if the resource allocation strategy meets the adjustment condition, and return to execute the execution unit.
[0085] In some embodiments, when executing the step of executing the target automation task based on the allocated resources, the execution unit 503 is specifically configured to:
[0086] Creating a target execution engine corresponding to the target workflow based on the allocated resources;
[0087] The target automation task is added to the target execution engine to execute the target workflow.
[0088] In some embodiments, the first acquisition unit 504 is specifically used for:
[0089] Determining a target monitoring component corresponding to the target monitoring indicator from a plurality of preset monitoring components;
[0090] Determine the target monitoring instance of the target execution engine by the target monitoring component;
[0091] The target monitoring data is obtained through the target monitoring instance.
[0092] In some embodiments, the service processing device 500 further includes:
[0093] A second judgment unit, judging whether the target automation task meets a preset restart condition according to the target monitoring data;
[0094] A restart unit is used to return to the step of allocating resources for the target workflow according to a preset resource allocation strategy and executing the target automation task based on the allocated resources when the target automation task meets the restart condition.
[0095] In some embodiments, the second determination unit is specifically configured to:
[0096] Determining whether the target automation task is executed abnormally according to the target monitoring data;
[0097] If the target automation task is executed abnormally, obtaining the restart times of the target automation task;
[0098] If the restart number is less than a preset restart number threshold, determining that the target automation task meets the restart condition;
[0099] If the target automation task is executed normally, or the restart number is greater than or equal to the restart number threshold, it is determined that the target automation task does not meet the restart condition.
[0100] In some embodiments, the service processing device 500 further includes:
[0101] A trend analysis unit, used to generate a trend report corresponding to the target automation task according to the target monitoring data and a preset trend analysis model;
[0102] The sending unit is used to send the trend report to a report viewing component in a visual monitoring interface. The visual monitoring interface also includes a task execution status viewing component, a task progress viewing component and a monitoring data viewing component.
[0103] In some embodiments, the service processing device 500 further includes:
[0104] The extension unit is used to access the extension resource corresponding to the system extension instruction through a preset extension interface in response to the acquired system extension instruction.
[0105] To sum up, the business processing device 500 provided in the embodiment of the present application can adjust the resource allocation strategy according to the acquired monitoring data, and the business processing system will reallocate resources to the tasks based on the adjusted resource allocation strategy, thereby improving the flexibility of system resource allocation, avoiding system performance degradation or system crash due to resource allocation reasons, and thus improving the performance of the business system.
[0106] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned business processing device and each unit can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and brevity of description, it will not be repeated here.
[0107] The above-mentioned service processing device can be implemented in the form of a computer program. The computer program can be Figure 6 Runs on the computer device shown.
[0108] See also Figure 6 , Figure 6 600 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 600 may be a terminal or a server.
[0109] See also Figure 6 The computer device 600 includes a processor 602 , a memory and a network interface 605 connected via a system bus 601 , wherein the memory may include a non-volatile storage medium 603 and an internal memory 604 .
[0110] The non-volatile storage medium 603 can store an operating system 6031 and a computer program 6032. The computer program 6032 includes program instructions, and when the program instructions are executed, the processor 602 can execute a service processing method.
[0111] The processor 602 is used to provide computing and control capabilities to support the operation of the entire computer device 600 .
[0112] The internal memory 604 provides an environment for the operation of the computer program 6032 in the non-volatile storage medium 603. When the computer program 6032 is executed by the processor 602, the processor 602 can execute a business processing method.
[0113] The network interface 605 is used to communicate with other devices over the network. Figure 6 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 600 to which the solution of the present application is applied. The specific computer device 600 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0114] The processor 602 is used to run a computer program 6032 stored in the memory to implement the following steps:
[0115] In response to a process orchestration operation triggered by a user through a visual process editor, creating a workflow of at least one automation task, and determining monitoring indicators of each of the automation tasks;
[0116] When a target automation task is acquired, determining a target workflow corresponding to the target automation task and a target monitoring indicator corresponding to the target automation task from at least one of the workflows;
[0117] Allocating resources for the target workflow according to a preset resource allocation strategy, and executing the target automation task based on the allocated resources;
[0118] Acquire the target monitoring data corresponding to the target automation task in real time according to the target monitoring component corresponding to the target monitoring indicator;
[0119] Determining whether the resource allocation strategy meets the preset adjustment conditions according to the target monitoring data;
[0120] If the resource allocation strategy meets the adjustment conditions, the resource allocation strategy is adjusted according to the target monitoring data and the preset resource allocation adjustment strategy, and the step of allocating resources for the target workflow according to the preset resource allocation strategy and executing the target automation task based on the allocated resources is returned.
[0121] It should be understood that in the embodiment of the present application, the processor 602 may be a central processing unit (CPU), and the processor 602 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0122] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.
[0123] Therefore, the present application also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the following steps:
[0124] In response to a process orchestration operation triggered by a user through a visual process editor, creating a workflow of at least one automation task, and determining monitoring indicators of each of the automation tasks;
[0125] When a target automation task is acquired, determining a target workflow corresponding to the target automation task and a target monitoring indicator corresponding to the target automation task from at least one of the workflows;
[0126] Allocating resources for the target workflow according to a preset resource allocation strategy, and executing the target automation task based on the allocated resources;
[0127] Acquire the target monitoring data corresponding to the target automation task in real time according to the target monitoring component corresponding to the target monitoring indicator;
[0128] Determining whether the resource allocation strategy meets the preset adjustment conditions according to the target monitoring data;
[0129] If the resource allocation strategy meets the adjustment conditions, the resource allocation strategy is adjusted according to the target monitoring data and the preset resource allocation adjustment strategy, and the step of allocating resources for the target workflow according to the preset resource allocation strategy and executing the target automation task based on the allocated resources is returned.
[0130] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.
[0131] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0132] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
[0133] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present application can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0134] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
[0135] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A business processing method, characterized in that: include: In response to a process orchestration operation triggered by a user through a visual process editor, creating a workflow of at least one automation task, and determining monitoring indicators of each of the automation tasks; When a target automation task is acquired, determining a target workflow corresponding to the target automation task and a target monitoring indicator corresponding to the target automation task from at least one of the workflows; Allocating resources for the target workflow according to a preset resource allocation strategy, and executing the target automation task based on the allocated resources; Acquire the target monitoring data corresponding to the target automation task in real time according to the target monitoring component corresponding to the target monitoring indicator; Determining whether the resource allocation strategy meets the preset adjustment conditions according to the target monitoring data; If the resource allocation strategy meets the adjustment conditions, the resource allocation strategy is adjusted according to the target monitoring data and the preset resource allocation adjustment strategy, and the step of allocating resources for the target workflow according to the preset resource allocation strategy and executing the target automation task based on the allocated resources is returned.
2. The method according to claim 1, characterized in that The executing the target automation task based on the allocated resources comprises: Creating a target execution engine corresponding to the target workflow based on the allocated resources; The target automation task is added to the target execution engine to execute the target workflow.
3. The method according to claim 2, characterized in that The step of acquiring the target monitoring data corresponding to the target automation task in real time according to the target monitoring component corresponding to the target monitoring indicator includes: Determining a target monitoring component corresponding to the target monitoring indicator from a plurality of preset monitoring components; Determine the target monitoring instance of the target execution engine by the target monitoring component; The target monitoring data is obtained through the target monitoring instance.
4. The method according to claim 1, characterized in that After acquiring the target monitoring data corresponding to the target automation task in real time according to the target monitoring component corresponding to the target monitoring indicator, the method further includes: Determining whether the target automation task meets a preset restart condition according to the target monitoring data; If the target automation task meets the restart condition, the step of returning to the step of allocating resources for the target workflow according to a preset resource allocation strategy and executing the target automation task based on the allocated resources.
5. The method according to claim 4, characterized in that The determining, according to the target monitoring data, whether the target automation task meets a preset restart condition includes: Determining whether the target automation task is executed abnormally according to the target monitoring data; If the target automation task is executed abnormally, obtaining the restart times of the target automation task; If the restart number is less than a preset restart number threshold, determining that the target automation task meets the restart condition; If the target automation task is executed normally, or the restart number is greater than or equal to the restart number threshold, it is determined that the target automation task does not meet the restart condition.
6. The method according to claim 1, characterized in that After acquiring the target monitoring data corresponding to the target automation task in real time according to the target monitoring component corresponding to the target monitoring indicator, the method further includes: Generate a trend report corresponding to the target automation task according to the target monitoring data and a preset trend analysis model; The trend report is sent to a report viewing component in a visual monitoring interface, wherein the visual monitoring interface further comprises a task execution status viewing component, a task progress viewing component and a monitoring data viewing component.
7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: In response to the acquired system extension instruction, an extension resource corresponding to the system extension instruction is accessed through a preset extension interface.
8. A service processing device, characterized in that: include: A creation unit, configured to create a workflow of at least one automation task in response to a process orchestration operation triggered by a user through a visual process editor, and determine monitoring indicators of each of the automation tasks; A first determining unit is configured to, when a target automation task is acquired, determine a target workflow corresponding to the target automation task and a target monitoring indicator corresponding to the target automation task from at least one of the workflows; An execution unit, configured to allocate resources for the target workflow according to a preset resource allocation strategy, and execute the target automation task based on the allocated resources; A first acquisition unit, configured to acquire target monitoring data corresponding to the target automation task in real time according to the target monitoring component corresponding to the target monitoring indicator; A first judgment unit, configured to judge whether the resource allocation strategy meets a preset adjustment condition according to the target monitoring data; An adjustment unit is used to adjust the resource allocation strategy according to the target monitoring data and a preset resource allocation adjustment strategy if the resource allocation strategy meets the adjustment condition, and return to execute the execution unit.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the service processing method according to any one of claims 1 to 7 is implemented.
10. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the service processing method according to any one of claims 1 to 7.