Business process supervision method and device, equipment and storage medium

By creating process instances based on preset process templates in the financial business process supervision system and monitoring execution information in real time, and automatically adjusting the process, the complexity and scalability problems of existing systems are solved, and efficient and intelligent business process supervision is achieved.

CN119204635APending Publication Date: 2024-12-27PING AN BANK CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411237538.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

Existing financial business process regulatory systems require a lot of development work, complex integration, dynamic process adjustments rely on expertise, and performance and scalability limitations exist in large-scale and complex scenarios.

Method used

By creating process instances based on preset process templates, monitoring execution-related information during the execution of process instances, and automatically adjusting process instances based on these information, realizing process adjustment without interrupting the process, and improving business process supervision efficiency.

Benefits of technology

It realizes more intelligent business process supervision, reduces development workload, simplifies process adjustment process, improves system performance and scalability, and adapts to the needs of complex and large-scale scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119204635A_ABST
    Figure CN119204635A_ABST
Patent Text Reader

Abstract

The invention relates to the field of finance, and provides a business process supervision method and device, equipment and a storage medium, and the method comprises the steps: creating a process instance according to a preset process template; in the process of executing the process instance, monitoring execution related information of the process instance; if it is determined that process adjustment needs to be carried out based on the execution related information, process adjustment is carried out on the process instance, the process instance can be not interrupted in the process of carrying out process adjustment on the process instance, more intelligent business process supervision is achieved, and therefore the business process supervision efficiency is improved. The invention further relates to a block chain technology, and the process instance can be stored in a block chain node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the financial field, and in particular to a business process supervision method, device, equipment and storage medium. Background Art

[0002] The relevant supervision system of business processes is an important type of solution technology in the field of information technology. It is mainly used to simplify and optimize Internet technology tasks and workflows to improve efficiency and reduce human errors. Taking the financial business process in the financial field as an example, there are currently some related products and technologies in the industry for the orchestration and dynamic process adjustment of financial business processes, which can provide workflow orchestration and process adjustment to adapt to changing business needs. However, related products and technologies generally require a lot of development work, complex integration, and dynamic process adjustment is usually a complex interactive process that requires a lot of professional knowledge from staff to correctly configure and use.

[0003] Therefore, how to achieve more intelligent business process supervision to improve the efficiency of business process supervision has become an urgent problem to be solved. Summary of the invention

[0004] The present application provides a business process supervision method, apparatus, device and storage medium, aiming to achieve more intelligent business process supervision to improve the efficiency of business process supervision.

[0005] To achieve the above objectives, the present application provides a business process supervision method, which includes:

[0006] Create a process instance based on the preset process template;

[0007] During the execution of the process instance, monitoring execution-related information of the process instance;

[0008] If it is determined based on the execution related information that a process adjustment is to be performed, the process adjustment is performed on the process instance, wherein the process instance may not be interrupted during the process adjustment.

[0009] In addition, to achieve the above-mentioned purpose, the present application also provides a business process monitoring device, the business process monitoring device comprising:

[0010] The process instance creation module is used to create a process instance based on a preset process template;

[0011] A process instance execution module, used to monitor the execution related information of the process instance during the execution of the process instance;

[0012] The process instance adjustment module is used to adjust the process instance if it is determined that the process adjustment is to be performed based on the execution related information, wherein the process instance may not be interrupted during the process of adjusting the process instance.

[0013] In addition, to achieve the above-mentioned purpose, the present application also provides a computer device, the computer device comprising a memory and a processor;

[0014] The memory is used to store computer programs;

[0015] The processor is used to execute the computer program and implement the business process supervision method as described above when executing the computer program.

[0016] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, it implements the steps of the above-mentioned business process supervision method.

[0017] The present application discloses a business process supervision method, apparatus, device and storage medium. A process instance is created according to a preset process template. During the execution of the process instance, execution-related information of the process instance is monitored. If it is determined that a process adjustment is required based on the execution-related information, the process instance is automatically adjusted, thereby achieving more intelligent business process supervision and improving the efficiency of business process supervision. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] 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.

[0019] Figure 1 It is a schematic flow chart of the steps of a business process supervision method provided in an embodiment of the present application;

[0020] Figure 2 is a schematic block diagram of a business process supervision system provided in an embodiment of the present application;

[0021] Figure 3 This is a schematic diagram of a system data model designed by a business person based on a process designer provided in an embodiment of the present application;

[0022] Figure 4 This is a schematic diagram provided by an embodiment of the present application for a business person to design a process template based on a process designer and define a process instance;

[0023] Figure 5 This is a schematic diagram of a business personnel creating a process instance provided in an embodiment of the present application;

[0024] Figure 6 This is a schematic diagram of an interface for business personnel to modify steps, conditions, and operations of a process instance provided by an embodiment of the present application;

[0025] Figure 7 It is a schematic flow chart of the steps of another business process supervision method provided by an embodiment of the present application;

[0026] Figure 8 This is a schematic diagram of an interface for updating a process instance status provided in an embodiment of the present application;

[0027] Fig. 9 It is a schematic diagram of an interface for displaying the status of a process instance provided in an embodiment of the present application;

[0028] Fig.10 is a schematic block diagram of a business process monitoring device provided in an embodiment of the present application;

[0029] Fig.11 It is a schematic block diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0030] 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.

[0031] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0032] It should 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.

[0033] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0034] The relevant supervision system of business processes is an important type of solution technology in the field of information technology. It is mainly used to simplify and optimize Internet technology tasks and workflows to improve efficiency and reduce human errors. Taking the financial business process in the financial field as an example, there are currently some related products and technologies in the industry for the orchestration and dynamic process adjustment of financial business processes, which can provide workflow orchestration and process adjustment to adapt to changing business needs. However, related products and technologies generally require a lot of development work, complex integration, and dynamic process adjustment is usually a complex interactive process that requires a lot of professional knowledge from staff to correctly configure and use. In addition, there are performance and scalability limitations when dealing with business processes in large-scale and complex scenarios.

[0035] In order to solve the above problems, the embodiments of the present application provide a business process supervision method, apparatus, device and storage medium for realizing more intelligent business process supervision to improve the efficiency of business process supervision.

[0036] See also Figure 1 , Figure 1 This is a flow chart of a business process supervision method provided in an embodiment of the present application. The method can be applied to a computer device, and the application scenario of the method is not limited in the present application.

[0037] like Figure 1 As shown, the business process supervision method specifically includes steps S101 to S103.

[0038] S101. Create a process instance according to a preset process template.

[0039] Before conducting business process supervision, a business process supervision system is first designed, and a process template is set through the business process supervision system.

[0040] For example, Figure 2 As shown, the business process supervision system includes a user interface, a process designer, a configuration interface, a monitoring dashboard, a runtime engine, a rule engine, a process parser, a data storage layer, a data analysis engine, an integration interface layer, etc.

[0041] The process designer is used to define and design the system data model, including but not limited to core data structures such as process templates, process instances, tasks, and users. Through the process designer, users can graphically design and configure these data structures and determine the attributes and relationships of each data entity.

[0042] A process template is an abstract definition of a type of business process, describing the steps, conditions, operations, etc. of a process instance. The key attributes of a process template include:

[0043] Template ID: Uniquely identifies each process template.

[0044] Template name: The name of the process template, used to distinguish different process templates.

[0045] Description: A brief description of the process template to help users understand the purpose of the process template.

[0046] Step List: Contains a collection of all the steps in the process template, each step describes a specific operation.

[0047] Conditions: The transition conditions between process steps, such as task completion or specific business rule triggering.

[0048] Creation Time: The creation time of the process template.

[0049] Modification time: The last modification time of the process template.

[0050] For the association relationship corresponding to the process template, there is a one-to-many relationship between the process template and the task, and a process template can contain multiple tasks.

[0051] A process instance is a specific execution instance created based on a process template and is used for operations in actual business scenarios. Each process instance corresponds to a specific business process and can contain multiple tasks. The key attributes of a process instance include:

[0052] Process instance ID: uniquely identifies each process instance.

[0053] Template ID: Associated to the process template used to create this process instance.

[0054] Status: describes the execution status of the current process instance, such as in progress, completed, paused, or terminated.

[0055] Current step: Indicates the step of the current process instance.

[0056] Start time: The time when the process instance starts executing.

[0057] End time: The end time of the process instance. If the process instance is still in progress, this value is empty.

[0058] History: Records the execution status and status changes of each step in the process instance.

[0059] For the association relationship corresponding to the process instance, there is a one-to-many relationship between the process instance and the task. A process instance contains multiple tasks, and each task represents a step in the process instance. There is a many-to-one relationship between the process instance and the user. Multiple process instances can be started or managed by one user.

[0060] A task is a specific operation or step in a process instance that requires specific actions or judgments to be performed. The key attributes of a task include:

[0061] Task ID: Uniquely identifies each task.

[0062] Task Name: The name of the task, used to describe the content of the task.

[0063] Task Type: Specify the type of task, such as user task, system task, approval task, etc.

[0064] Status: The current status of the task, such as Not Started, In Progress, Completed, Failed, etc.

[0065] Associated process instance ID: Associated to the process instance to which the task belongs.

[0066] Executor: The user who is responsible for executing the task.

[0067] Start time: The time when the task starts.

[0068] Completion Time: The time when the task is completed.

[0069] For the association relationship between tasks, there is a many-to-one relationship between tasks and process instances, and multiple tasks belong to the same process instance. There is a many-to-one relationship between tasks and users, and multiple tasks can be executed by one user.

[0070] In summary, the process template defines the structure and behavior of the entire process instance, and implements the operations of each step through tasks. A process instance is a specific implementation of a process template, generated based on the process template, and contains multiple associated tasks. A task is the basic execution unit in a process instance, which is executed by the user and records information such as the task status and execution time.

[0071] For example, Figure 3 As shown, Figure 3 A schematic diagram of the system data model designed by business personnel based on the process designer, including template basic information, template parameter information, etc. The template basic information includes template name, template description, etc. The template parameter information includes parameter modification test standard name, parameter level, parameter type, etc. The parameter level includes but is not limited to product level, enterprise level, etc.

[0072] The process designer is also used to design process templates and define the steps, conditions, operations, etc. of each process instance. Through the process designer, users can visualize and build process templates through the configuration interface. For example, using flowcharts, state transition diagrams, etc.

[0073] For example, Figure 4 As shown, Figure 4Design process templates for business personnel based on the process designer and define schematic diagrams of process instances. Among them, the logic code is a step in the execution of the process instance. The processing of the business in this step is implemented using configuration code. The test sub-process is a sub-process of the execution process instance. Because processes can be nested, sub-processes can be defined separately, and other processes can be directly introduced into the sub-process. The process template is an abstract and standardized definition of a class of business processes, which includes the steps, conditions, operation rules, etc. for the execution of the process instance. It is a reusable process that can be instantiated as a specific process instance in multiple business scenarios to achieve automated and standardized business operations. The key elements of the process template include:

[0074] 1. Step list: It is the core component of the process template and includes a series of steps arranged in sequence. Each step represents a specific operation or task, such as approval, data processing, notification, etc. Each step usually contains the following attributes:

[0075] Step ID: uniquely identifies the step.

[0076] Step Name: Describe the function or purpose of the step.

[0077] Step Type: Specifies the type of step, such as manual task, automatic task, decision point, etc.

[0078] Execution conditions: specify the prerequisites for the step to start executing, such as the completion of the previous step, a specific time trigger, etc.

[0079] Timeout setting: Specifies how long a step must take to complete. A timeout may trigger a warning or exception handling.

[0080] 2. Conditions: are used to define branching logic in a process instance. Different steps or paths may be triggered depending on the conditions, such as:

[0081] Decision point: Based on specific business rules or data judgment, it is determined whether the next step of the process instance is to continue executing a certain step or enter another branch.

[0082] Conditional expression: The specific expression of conditional logic, which can be a simple comparison or a complex combination of multiple conditions.

[0083] 3. Operation rules: These are the specific operations that need to be taken when each step is executed, such as sending notifications, modifying database records, calling external interfaces, etc. For example:

[0084] Rules Engine: Manages and executes these operational rules, ensuring that steps are executed as expected.

[0085] 4. Template version: It records the version information of the process template so as to perform version control when the process instance is improved and maintained. Different versions can be adjusted for different business needs or environments, and usually contain the following attributes:

[0086] Version number: uniquely identifies the version of the process template.

[0087] Version description: Record the reasons and contents of version changes to facilitate tracking of modification history.

[0088] 5. Exception handling mechanism: It defines the response measures that the system should take when errors or exceptions occur during the execution of a process instance. For example:

[0089] Retry mechanism: whether to retry after a task fails and the number of retries.

[0090] Alarm and notification: When an error occurs in a step, whether the administrator or relevant personnel needs to be notified.

[0091] 6. Data input and output: Define the data input and output required for each step to ensure the consistency of the process instance and the integrity of the data, such as:

[0092] Input data: Data required before a step is executed, which can be user input, database query results, or output from other steps.

[0093] Output data: The result data after the step is executed, usually used as input for the next step or directly output to the user or system.

[0094] For the creation and maintenance of process templates:

[0095] 1. Create a process template: Create and define a process template through the process designer (graphical interface). Consider business logic, condition settings and other factors when designing.

[0096] 2. Process template publishing and version management: After the process template is created, it can be published to the business process supervision system for users to use.

[0097] 3. Maintenance and updating of process templates: According to changes in business needs or problems discovered, process templates are updated regularly and new versions are released to adapt to new requirements.

[0098] The runtime engine is responsible for starting the newly created process instance and setting its status to in progress, while setting the current step to the starting step in the process template. During the execution of the process instance, the runtime engine is responsible for dynamically updating the status of the process instance according to the completion of the task. When a task is completed, the runtime engine sets the task status to completed and advances the process instance to the next step.

[0099] Users can interact with the business process supervision system through the user interface to create, start, pause, and terminate process instances. The runtime engine is responsible for executing various operations initiated by users on the user interface to ensure that each process instance correctly corresponds to its specific business process. Users can also directly modify the steps, conditions, or operations of a process instance through the user interface. The modified process instance will recalculate the execution path through the runtime engine to ensure that the adjustment is completed without interrupting the process.

[0100] The monitoring dashboard is responsible for real-time monitoring of the execution of process instances and displays various data and status. Users can use the monitoring dashboard to monitor exceptions or failures in task execution.

[0101] The rule engine is responsible for automatically executing corresponding measures, such as retrying, automatically recovering, or notifying the administrator, according to the preset processing strategy when an exception or failure in task execution is detected.

[0102] The process parser is responsible for parsing the configuration of the process template and process instance defined by the process designer to ensure that the process instance can be executed according to the defined logic.

[0103] The data storage layer is responsible for storing relevant data of all process instances, including process templates, instances, and execution logs.

[0104] The data analysis engine is responsible for analyzing the data generated during the execution of the process instance and providing optimization suggestions or further analysis reports.

[0105] The integration interface layer is responsible for integration with other systems or services to ensure the scalability and compatibility of the business process supervision system.

[0106] The business process monitoring system is flexible and scalable, can handle large-scale and complex processes, and supports containerized deployment. In addition, it provides rich integration capabilities and can seamlessly integrate with external systems. Through standardized interfaces and API (Application Programming Interface) integrated output, a wider range of automation and process optimization can be achieved.

[0107] When conducting business process supervision, for example, taking financial business in the financial field as an example, in order to optimize the relevant tasks and workflows of financial business to improve efficiency and reduce human errors, a process instance corresponding to the financial business is created based on a pre-designed process template.

[0108] In some embodiments, creating a process instance based on a preset process template includes: configuring process-related information of the process instance based on the preset process template, and assigning a unique process instance identifier to the process instance, wherein the process-related information includes at least one of the steps, conditions, and operation rules executed by the process instance.

[0109] According to the request to create a process instance based on the process template, the business process supervision system creates the corresponding process instance based on the process template, including but not limited to the steps, conditions, operation rules and other information of the process instance execution. And assign a unique process instance identifier, such as a process instance ID, to the process instance to uniquely identify the process instance. For example, Figure 5 As shown, Figure 5 A schematic diagram of creating a process instance for business personnel. The created process instance contains information such as the process instance ID, name, status, update user, and update time.

[0110] After that, the created process instance is started, and the business process supervision system sets the status of the process instance to in progress and sets the current step to the starting step in the process template.

[0111] Regarding the creation, start, pause, and termination of process instances, the following is a detailed introduction to the operations related to process instances:

[0112] 1. Interface definition `Step`

[0113] interface Step{

[0114] void execute();

[0115] }

[0116] The `Step` interface defines an `execute()` method. Each specific process step needs to implement this interface and define the specific operation logic in the `execute()` method.

[0117] 2. Process Orchestrator

[0118] class ProcessOrchestrator{

[0119] Private Map<String,Step> steps;

[0120] public ProcessOrchestrator(){

[0121] steps = new HashMap<>();

[0122] }

[0123] public void registerStep(String stepName,Step step){

[0124] steps.put(stepName,step);

[0125] }

[0126] public void executeStep(String stepName){

[0127] Step step=steps.get(stepName);

[0128] if (step!= null) {

[0129] step.execute();

[0130] }else{

[0131] System.out.println("Step not found:"+stepName);

[0132] }

[0133] }

[0134] }

[0135] `ProcessOrchestrator` class uses a `Map<String,Step> `structure to store process steps, where `String` is the step name and `Step` is the corresponding specific step implementation.

[0136] In the constructor of `ProcessOrchestrator`, an empty `HashMap` is initialized to store steps.

[0137] 3. Registration process steps `registerStep()`

[0138] public void registerStep(String stepName,Step step){

[0139] steps.put(stepName,step);

[0140] }

[0141] The `registerStep` method is used to register a specific `Step` instance with its name into the process choreographer. This means that users can add different operation steps to the process by calling this method.

[0142] 4. Execute process step `executeStep()`

[0143] public void executeStep(String stepName){

[0144] Step step=steps.get(stepName);

[0145] if (step!= null) {

[0146] step.execute();

[0147] }else{

[0148] System.out.println("Step not found:"+stepName);

[0149] }

[0150] }

[0151] The `executeStep` method is used to execute a step with a specific name. First, it looks for the corresponding `Step` instance from the `Map`, and if found, calls its `execute()` method to execute the step operation. If the corresponding step is not found, the prompt message "Step not found" is output.

[0152] 5. Related operations of process instances

[0153] In a process instance, you can operate the process in the following ways:

[0154] Step registration: First, register all steps in the process to `ProcessOrchestrator` through the `registerStep` method. Each step corresponds to a `Step` instance.

[0155] Step Execution: Then, the registered steps are executed sequentially or on demand through the `executeStep` method. The business process supervision system retrieves the step from the storage based on the step name and executes its `execute` method.

[0156] The code shows how to dynamically manage and execute each step in a process instance. With this design, you can easily add, modify, or delete steps in a process instance, and execute specified steps as needed, enhancing the flexibility and maintainability of the process instance.

[0157] S102: During the execution of the process instance, monitor the execution-related information of the process instance.

[0158] S103: If it is determined based on the execution-related information that a process adjustment is to be performed, then a process adjustment is performed on the process instance, wherein the process instance may not be interrupted during the process adjustment.

[0159] During the execution of a process instance, the execution-related information of the process instance is monitored in real time, including real-time execution data, contextual information, etc. The business process supervision system can automatically adjust the process instance based on the execution-related information such as real-time execution data and contextual information, automatically identify patterns and anomalies in the process instance, and automatically take appropriate measures to make adjustments, thereby improving the intelligence level of the process instance. The business process supervision system can analyze the performance and efficiency of the process instance in real time, and automatically adjust the resource allocation, task allocation, execution step sequence, etc. of the process instance based on the execution-related information such as real-time execution data, so as to improve the overall efficiency and responsiveness of the process instance.

[0160] In some embodiments, during the execution of the process instance, monitoring the execution-related information of the process instance includes: during the execution of the process instance, monitoring the real-time status of the process instance; if it is determined based on the execution-related information that a process adjustment is required, then adjusting the process instance includes: if it is determined based on the real-time status that a process adjustment is required, then adjusting the process instance.

[0161] Exemplarily, the process adjustment of the process instance includes at least one of the following: pausing the process instance; modifying the steps and / or conditions for executing the process instance; and modifying the execution path of the process instance.

[0162] When events or conditions change, the business process monitoring system can quickly detect and trigger corresponding process instance adjustments, thereby reducing manual intervention and delays and improving the efficiency and responsiveness of process instance execution.

[0163] In some embodiments, during the execution of the process instance, the execution-related information of the process instance is monitored, including: during the execution of the process instance, the process instance modification operations performed by the user based on the UI user interface are monitored; if it is determined that a process adjustment is required based on the execution-related information, the process instance is adjusted, including: if the process instance modification operation is monitored, it is determined that a process adjustment is required, and based on the process instance modification operation, the process instance is adjusted.

[0164] When the execution process of a process instance needs to be adjusted, the user can directly modify the steps, conditions, operations, etc. of the process instance based on the interface. The business process supervision system automatically recalculates the execution path of the process instance based on the adjusted configuration.

[0165] For example, Figure 6 As shown, Figure 6 A schematic diagram of the interface for business personnel to modify the steps, conditions, and operations of a process instance, where:

[0166] 1. Steps

[0167] Node name: This indicates the specific steps of the current process instance. When modifying a process instance, you can change the specific steps of the process instance by changing the node name.

[0168] 2. Conditions

[0169] Request method: The figure shows the HTTP (Hypertext Transfer Protocol) request method, such as POST. By changing the request method, you can set different conditions to trigger different operations.

[0170] Timeout period: The timeout period can be used as part of a condition to determine whether to execute subsequent steps or take other actions.

[0171] Communication mode: The communication mode (synchronous or asynchronous) can also be used as part of the process conditions, and different execution paths can be selected according to different communication modes.

[0172] 3. Operation

[0173] Interface name: indicates the service interface to be called in the current step. By modifying the interface name, you can specify a new operation.

[0174] Request Path: This is the path of the HTTP request, which is used to define the specific operation to be performed.

[0175] Service code: defines the specific service to be called. Modifying the service code can directly change the operation content performed by the current step.

[0176] By adjusting these parameters, users can flexibly modify the steps, conditions, and specific operations in the process instance, thereby dynamically adjusting and optimizing the entire process instance. Users can dynamically adjust the process according to actual needs and changes without relying on the development team to make major changes or programming work, and can respond to business changes and market needs more quickly.

[0177] In addition, it provides an intuitive visual interface and interactive tools, allowing users to adjust the process more intuitively. At the same time, the process design, condition setting and process adjustment can be carried out through the graphical interface, which greatly reduces the technical threshold and improves the user experience.

[0178] In some embodiments, Figure 7 As shown, step S101 may include step S104 and step S105.

[0179] S104, during the execution of the process instance, monitoring the task completion status of the process instance; wherein each process instance includes at least one task;

[0180] S105: Update the status of the process instance according to the task completion status.

[0181] During the execution of a process instance, the task completion status of the process instance is monitored in real time, and the business process supervision system updates the status of the process instance based on the monitored task completion status. When a task of a process instance is completed, the business process supervision system sets its status to completed and updates the current step to the next step to be executed.

[0182] For example, Figure 8 As shown, Figure 8 This is a schematic diagram of the interface for updating the status of a process instance. The flowchart shows the execution and update process of a process instance, involving the execution of multiple steps, exception handling, and the return of the final result. At each key point in the execution of the process instance, the business process supervision system will update the status of the process instance to ensure the smooth execution of the process instance, while providing flexible exception handling and real-time adjustment capabilities. The following is a detailed description of the process instance status update:

[0183] 1. Start the process instance

[0184] Start node: The process instance starts from the "Start" node and enters the "In Progress" state, indicating that the process has started and is waiting for the first task to be executed.

[0185] 2. Execute transaction flow query

[0186] Transaction flow query: The process instance enters the query operation, the system executes the transaction flow query operation, and attempts to request ESB (Enterprise Service Bus).

[0187] Status update: If the request to ESB is successful, the process instance status is updated to "Request to ESB is successful" and the next step is continued. Otherwise, the process enters the "Request to ESB is abnormal" branch to handle the abnormal situation.

[0188] 3. Exception handling

[0189] Request ESB exception: When an exception occurs in the request to ESB, the process instance enters the exception handling path. The business process monitoring system can record error logs and trigger alarms or retry mechanisms.

[0190] Status update: If the business process monitoring system can successfully handle the exception (such as through successful retry), the process instance will return to the normal path to continue execution, otherwise it may terminate the process instance or take other measures.

[0191] 4. Execution of batch components

[0192] Batch component: On the successful path of processing transaction flow query, the process instance enters the "batch component" step. This step may involve batch processing of multiple subtasks.

[0193] Status update: After the batch tasks are executed, the process instance updates the status according to the results of the batch tasks. If all are successful, the process instance proceeds to the next step; if a task fails, it may enter the exception handling process.

[0194] 5. Final result returned

[0195] Transaction flow return result: After the process instance goes through multiple steps, it enters the final result return stage.

[0196] Status update: This step returns the final transaction result and updates the process instance status to "Complete".

[0197] 6. Termination of process instance

[0198] Result Node: The final "Result" node represents the end of a process instance.

[0199] Status update: The business process monitoring system updates the process instance status to "completed" or "terminated" and records the relevant process instance execution results and logs.

[0200] 7. State refinement

[0201] Real-time monitoring and adjustment: During the process execution, you can view the real-time status of the process instance through the monitoring dashboard and make adjustments as needed. For example, in the batch component step, if an anomaly is detected, you can pause the process instance, modify the step condition or execution path, and then continue execution.

[0202] For example, Fig. 9 As shown, Fig. 9 This is a schematic diagram of the interface showing the status of a process instance, which shows the ID, name, status, execution time, end time and other information of each process instance. The status of a process instance includes failure, stop, running, success, etc. Users can also enter query information, such as execution result, execution time and other query information, to query the specific execution status of the corresponding process instance.

[0203] In some embodiments, during the execution of the process instance, after monitoring the task completion status of the process instance, it includes: when an exception or failure occurs in the task execution, recording the exception / failure information, and performing corresponding response processing according to a preset processing strategy.

[0204] During the execution of a process instance, when an exception or failure occurs in the task execution of the process instance, the business process supervision system automatically captures and records the exception / failure information, and performs corresponding response processing according to the preset processing strategy, such as retrying, automatic recovery, or notifying the administrator.

[0205] By providing real-time monitoring and early warning functions, problems and bottlenecks in process instances can be identified in a timely manner, and key indicators, abnormal situations and early warning signals can be monitored. Intelligent recommendations and suggestions can be provided, relevant personnel can be notified, and timely intervention and adjustments can be made to help users make more accurate process adjustment decisions.

[0206] In the above embodiment, a process instance is created according to a preset process template, and during the execution of the process instance, execution-related information of the process instance is monitored. If it is determined that a process adjustment is required based on the execution-related information, the process instance is automatically adjusted, thereby achieving more intelligent business process supervision and improving the efficiency of business process supervision.

[0207] See also Fig.10 , Fig.10 It is a schematic block diagram of a business process supervision device provided in an embodiment of the present application. The business process supervision device can be configured in a computer device to execute the aforementioned business process supervision method.

[0208] like Fig.10 As shown, the business process monitoring device 1000 includes: a process instance creation module 1001, a process instance execution module 1002, and a process instance adjustment module 1003.

[0209] A process instance creation module 1001 is used to create a process instance according to a preset process template;

[0210] A process instance execution module 1002 is used to monitor the execution related information of the process instance during the execution of the process instance;

[0211] The process instance adjustment module 1003 is used to adjust the process instance if it is determined that the process adjustment is to be performed based on the execution related information, wherein the process instance may not be interrupted during the process of adjusting the process instance.

[0212] In one embodiment, the process instance creation module 1001 is further used to:

[0213] The process-related information of the process instance is configured according to the preset process template, and a unique process instance identifier is assigned to the process instance, wherein the process-related information includes at least one of the steps, conditions, and operation rules executed by the process instance.

[0214] In one embodiment, the process instance execution module 1002 is further used to:

[0215] During the execution of the process instance, monitoring the real-time status of the process instance;

[0216] The process instance adjustment module 1003 is also used for:

[0217] If it is determined based on the real-time status that a process adjustment is to be performed, the process adjustment is performed on the process instance.

[0218] In one embodiment, the process adjustment of the process instance includes at least one of the following:

[0219] pausing the process instance;

[0220] Modify the steps and / or conditions for executing the process instance;

[0221] Modify the execution path of the process instance.

[0222] In one embodiment, the process instance execution module 1002 is further used to:

[0223] During the execution of the process instance, monitoring the process instance modification operation performed by the user based on the UI user interface;

[0224] The process instance adjustment module 1003 is also used for:

[0225] If the process instance modification operation is monitored, it is determined that a process adjustment is to be performed, and based on the process instance modification operation, the process instance is adjusted.

[0226] In one embodiment, the process instance execution module 1002 is further used to:

[0227] During the execution of the process instance, monitoring the task completion status of the process instance; wherein each process instance includes at least one task;

[0228] According to the completion status of the task, the status of the process instance is updated.

[0229] In one embodiment, the process instance execution module 1002 is further used to:

[0230] When an exception or failure occurs during task execution, the exception / failure information is recorded and corresponding response processing is performed according to the preset processing strategy.

[0231] Among them, each module in the above-mentioned business process supervision device 1000 corresponds to each step in the above-mentioned business process supervision method embodiment, and its functions and implementation processes are no longer repeated here one by one.

[0232] The business process supervision device 1000 can execute the business process supervision method provided in the embodiment of the present application, and therefore can achieve the beneficial effects that can be achieved by the business process supervision method provided in the embodiment of the present application. Please refer to the previous embodiment for details and will not be repeated here.

[0233] The method and apparatus of the present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0234] Exemplarily, the above method and apparatus may be implemented in the form of a computer program. The computer program may be implemented in the form of a computer program. Fig.11 Runs on the computer device shown.

[0235] See also Fig.11 , Fig.11 It is a schematic block diagram of the structure of a computer device provided in an embodiment of the present application.

[0236] See also Fig.11 The computer device includes a processor and a memory connected via a system bus, wherein the memory may include a non-volatile storage medium and an internal memory.

[0237] The processor is used to provide computing and control capabilities and support the operation of the entire computer equipment.

[0238] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor, the processor can execute any business process supervision method.

[0239] It should be understood that the processor may be a central processing unit (CPU), and the processor 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.

[0240] In one embodiment, the processor is used to run a computer program stored in the memory to implement the following steps:

[0241] Create a process instance based on the preset process template;

[0242] During the execution of the process instance, monitoring execution-related information of the process instance;

[0243] If it is determined based on the execution related information that a process adjustment is to be performed, the process adjustment is performed on the process instance, wherein the process instance may not be interrupted during the process adjustment.

[0244] In one embodiment, when implementing the creation of a process instance according to a preset process template, the processor is used to implement:

[0245] The process-related information of the process instance is configured according to the preset process template, and a unique process instance identifier is assigned to the process instance, wherein the process-related information includes at least one of the steps, conditions, and operation rules executed by the process instance.

[0246] In one embodiment, when the processor implements monitoring the execution-related information of the process instance during the execution of the process instance, it is used to implement:

[0247] During the execution of the process instance, monitoring the real-time status of the process instance;

[0248] When the processor implements the process adjustment for the process instance if it is determined that the process adjustment is to be performed based on the execution related information, the processor is used to implement:

[0249] If it is determined based on the real-time status that a process adjustment is to be performed, the process adjustment is performed on the process instance.

[0250] In one embodiment, the process adjustment of the process instance includes at least one of the following:

[0251] pausing the process instance;

[0252] Modify the steps and / or conditions for executing the process instance;

[0253] Modify the execution path of the process instance.

[0254] In one embodiment, when the processor implements monitoring the execution-related information of the process instance during the execution of the process instance, it is used to implement:

[0255] During the execution of the process instance, monitoring the process instance modification operation performed by the user based on the UI user interface;

[0256] When the processor implements the process adjustment for the process instance if it is determined that the process adjustment is to be performed based on the execution related information, the processor is used to implement:

[0257] If the process instance modification operation is monitored, it is determined that a process adjustment is to be performed, and based on the process instance modification operation, the process instance is adjusted.

[0258] In one embodiment, after implementing the creation of a process instance according to a preset process template, the processor is used to implement:

[0259] During the execution of the process instance, monitoring the task completion status of the process instance; wherein each process instance includes at least one task;

[0260] According to the completion status of the task, the status of the process instance is updated.

[0261] In one embodiment, after the processor implements monitoring the task completion status of the process instance during the execution of the process instance, the processor is used to implement:

[0262] When an exception or failure occurs during task execution, the exception / failure information is recorded and corresponding response processing is performed according to the preset processing strategy.

[0263] The computer device can execute the business process supervision method provided in the embodiment of the present application, and therefore can achieve the beneficial effects that can be achieved by the business process supervision method provided in the embodiment of the present application. Please refer to the previous embodiment for details and will not be repeated here.

[0264] An embodiment of the present application also provides a computer-readable storage medium.

[0265] The computer-readable storage medium of the present application stores a computer program, and when the computer program is executed by a processor, the steps of the business process supervision method as described above are implemented.

[0266] The computer-readable storage medium may be an internal storage unit of the business process monitoring device or computer device described in the above embodiments, such as a hard disk or memory of the business process monitoring device or computer device. The computer-readable storage medium may also be an external storage device of the business process monitoring device or computer device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital card (Secure Digital Card, SD Card), a flash card (Flash Card), etc., equipped on the business process monitoring device or computer device.

[0267] Since the computer program stored in the computer-readable storage medium can execute any one of the business process supervision methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any one of the business process supervision methods provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0268] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc.

[0269] The blockchain referred to in this application is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0270] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0271] The above description is only a specific implementation mode 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 substitutions within the technical scope disclosed in the present application, and these modifications or substitutions should be included in the protection scope of the present application.

Claims

1. A business process supervision method, characterized in that: The business process supervision method comprises: Create a process instance based on the preset process template; During the execution of the process instance, monitoring execution-related information of the process instance; If it is determined based on the execution related information that a process adjustment is to be performed, the process adjustment is performed on the process instance, wherein the process instance may not be interrupted during the process adjustment.

2. The business process supervision method according to claim 1, characterized in that: The step of creating a process instance according to a preset process template includes: The process-related information of the process instance is configured according to the preset process template, and a unique process instance identifier is assigned to the process instance, wherein the process-related information includes at least one of the steps, conditions, and operation rules executed by the process instance.

3. The business process supervision method according to claim 1, characterized in that: During the execution of the process instance, monitoring the execution-related information of the process instance includes: During the execution of the process instance, monitoring the real-time status of the process instance; If it is determined based on the execution related information that a process adjustment is to be performed, then the process instance is adjusted, including: If it is determined based on the real-time status that a process adjustment is to be performed, the process adjustment is performed on the process instance.

4. The business process supervision method according to claim 3, characterized in that: The process adjustment of the process instance includes at least one of the following: pausing the process instance; Modify the steps and / or conditions for executing the process instance; Modify the execution path of the process instance.

5. The business process supervision method according to claim 1, characterized in that: During the execution of the process instance, monitoring the execution-related information of the process instance includes: During the execution of the process instance, monitoring the process instance modification operation performed by the user based on the UI user interface; If it is determined based on the execution related information that a process adjustment is to be performed, then the process instance is adjusted, including: If the process instance modification operation is monitored, it is determined that a process adjustment is to be performed, and based on the process instance modification operation, the process instance is adjusted.

6. The business process supervision method according to any one of claims 1 to 5, characterized in that: After creating a process instance according to the preset process template, it includes: During the execution of the process instance, monitoring the task completion status of the process instance; wherein each process instance includes at least one task; According to the completion status of the task, the status of the process instance is updated.

7. The business process supervision method according to claim 6, characterized in that: During the execution of the process instance, after monitoring the task completion status of the process instance, the method includes: When an exception or failure occurs during task execution, the exception / failure information is recorded and corresponding response processing is performed according to the preset processing strategy.

8. A business process monitoring device, characterized in that: The business process monitoring device comprises: The process instance creation module is used to create a process instance based on a preset process template; A process instance execution module, used to monitor the execution related information of the process instance during the execution of the process instance; The process instance adjustment module is used to adjust the process instance if it is determined that the process adjustment is to be performed based on the execution related information, wherein the process instance may not be interrupted during the process of adjusting the process instance.

9. A computer device, characterized in that: The computer device includes a memory and a processor; The memory is used to store computer programs; The processor is used to execute the computer program and implement the business process supervision method according to any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the business process supervision method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Method and device for managing process instances in semiconductor computer integrated manufacturing system

    CN121073182A