A business process orchestration method, device and medium based on automatic language interaction

Through the automatic language interaction method, the assistant intends to classify agents and process orchestration agents are used to realize the automated orchestration of business processes, solving the problems of process attribute configuration and compliance verification in the existing technology, and improving the orchestration efficiency and accuracy.

CN120410170BActive Publication Date: 2025-09-02INSPUR GENERSOFT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510886242.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-30
Publication Date
2025-09-02
Estimated Expiration
2045-06-30

AI Technical Summary

Technical Problem

During the process configuration of existing business process, it is difficult to automatically handle process attribute configuration and historical process modifications, and the lack of compliance verification, resulting in cumbersome operations.

Method used

Using an automatic language interaction method, the user needs are received through the preset dialogue interaction window, the assistant intends to classify the agent to analyze the demand keywords, determine the orchestration node, and the process orchestration agent realizes process generation, attribute configuration and verification through the process orchestration agent to generate a business process that meets user needs.

Benefits of technology

It improves the efficiency of business process orchestration, reduces the cumbersome process of manual analysis and search, realizes the automation of process generation, attribute configuration and verification, and improves orchestration efficiency and compliance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120410170B_ABST
    Figure CN120410170B_ABST
Patent Text Reader

Abstract

The present invention discloses a business process orchestration method, device, and medium based on automatic language interaction, relating to the field of electronic digital data processing technology. The method comprises: receiving a business process orchestration requirement sent by a user based on a preset dialogue interaction window; calling an assistant intention classification agent to parse the business process orchestration requirement, and determining at least one orchestration node corresponding to the business process orchestration requirement based on the requirement keywords in the business process orchestration requirement; wherein the orchestration node includes at least one or more of the following: a process generation node, a process attribute configuration node, and a process verification node; receiving a configuration requirement for the orchestration node sent by the user through the process orchestration agent corresponding to the orchestration node, and implementing business logic orchestration of the orchestration node by executing the business processing logic corresponding to the configuration requirement; and generating a business process corresponding to the business process orchestration requirement based on the business logic corresponding to the orchestration node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic digital data processing, and in particular to a business process arrangement method, device and medium based on automatic language interaction. Background Art

[0002] In the process of enterprise informationization, business processes are the core mechanism that connects different business modules and coordinates cross-departmental collaboration. Automated and standardized business processes ensure efficient utilization of enterprise resources and strict enforcement of business rules. However, the business logic in many enterprise scenarios is highly complex, requiring process configuration personnel to deeply understand the company's actual business rules and translate them into structured process elements, making process configuration difficult.

[0003] Existing business process orchestration methods only consider process generation, but lack consideration for the configuration of specific attributes, modification of historical processes, and compliance verification of process configurations. Users are also required to manually reconfigure some data before the business process can be put into use directly, which is a cumbersome operation. Summary of the Invention

[0004] In order to solve the above problems, the present invention proposes a business process orchestration method based on automatic language interaction, which is applied to a process designer, comprising:

[0005] Based on the preset dialogue interaction window, receive the business process orchestration requirements sent by users;

[0006] Invoke an assistant intent classification agent to parse the business process orchestration requirement, and determine at least one orchestration node corresponding to the business process orchestration requirement based on the requirement keywords in the business process orchestration requirement; wherein the orchestration node includes at least one or more of the following: a process generation node, a process attribute configuration node, and a process verification node;

[0007] Receiving, through the process orchestration agent corresponding to the orchestration node, the configuration requirements for the orchestration node sent by the user, and implementing the business logic orchestration of the orchestration node by executing the business processing logic corresponding to the configuration requirements;

[0008] Generate a business process corresponding to the business process orchestration requirement based on the business logic corresponding to the orchestration node.

[0009] In one implementation of the present invention, determining at least one orchestration node corresponding to a business process orchestration requirement based on a requirement keyword in the business process orchestration requirement specifically includes:

[0010] According to the demand keywords in the business process orchestration demand, determining whether there is a historical business process that matches the demand keywords, so as to determine the screening range of the orchestration node;

[0011] At least one choreography node corresponding to the business process choreography is determined from the screening range according to the demand keyword.

[0012] In one implementation of the present invention, the process orchestration agent corresponding to the orchestration node receives the configuration requirements for the orchestration node sent by the user, and implements the business logic orchestration of the orchestration node by executing the business processing logic corresponding to the configuration requirements, specifically including:

[0013] In a case where the orchestration node is the process generation node, receiving, by the process orchestration agent corresponding to the process generation node, a first configuration requirement for the process generation node sent by the user;

[0014] Determining tool parameters required for the process generation node through a process generation tool bound to the process orchestration agent; wherein the tool parameters include a process name and a node attribute list, and the node attribute list includes at least one or more of the following: process node, process attribute, process node name, process node attribute, and process node execution order;

[0015] Parsing the first configuration requirement according to the tool parameter to obtain a tool parameter value corresponding to the tool parameter;

[0016] The business processing logic corresponding to the first configuration requirement is executed through the process generation engine corresponding to the process generation node to instantiate the tool parameter value and obtain a corresponding business process model.

[0017] In one implementation of the present invention, instantiating the tool parameter value to obtain a corresponding business process model specifically includes:

[0018] Convert the tool parameter value into a BpmnModel instance;

[0019] The BpmnModel instance returned by the process generation engine is received, and based on a preset layout algorithm, each process node in the BpmnModel instance is laid out according to the execution order of its corresponding process node to generate a corresponding business process model.

[0020] In one implementation of the present invention, the process orchestration agent corresponding to the orchestration node receives the configuration requirements for the orchestration node sent by the user, and implements the business logic orchestration of the orchestration node by executing the business processing logic corresponding to the configuration requirements, specifically including:

[0021] In a case where the orchestration node is the process verification node, receiving, by the process orchestration agent corresponding to the process verification node, a second configuration requirement for the process verification node sent by the user, and determining a target business process model to be verified based on the second configuration requirement;

[0022] The business processing logic corresponding to the second configuration requirement is executed through the process verification tool bound to the process orchestration agent to perform process verification and attribute verification on the target business process model, obtain the corresponding process verification results and display them in the dialogue interaction window.

[0023] In one implementation of the present invention, the target business process model is subjected to process verification and attribute verification to obtain corresponding process verification results, specifically including:

[0024] Performing a process check on the target business process model to determine whether the target business process model satisfies preset process constraints; wherein the process constraints include whether it includes a start node and an end node, whether all process nodes have process breakpoints, and whether a process summary is set;

[0025] Acquire a historical business process model, and determine a designated process node in the historical business process model that matches the target business process model;

[0026] According to the historical operation frequency of the designated process node, the node attribute corresponding to the designated process node in the target business process model is optimized.

[0027] In one implementation of the present invention, the process orchestration agent corresponding to the orchestration node receives the configuration requirements for the orchestration node sent by the user, and implements the business logic orchestration of the orchestration node by executing the business processing logic corresponding to the configuration requirements, specifically including:

[0028] In a case where the orchestration node is the process attribute configuration node, receiving, through the process orchestration agent corresponding to the process attribute configuration node, a third configuration requirement sent by the user;

[0029] Parsing the third configuration requirement to determine the process element attributes that need to be configured;

[0030] The configuration process corresponding to the process element attribute is determined through the vector knowledge base bound to the process orchestration agent, and the configuration process is displayed in the dialogue interaction window.

[0031] In one implementation of the present invention, determining the configuration process corresponding to the process element attribute through the vector knowledge base bound to the process orchestration agent specifically includes:

[0032] Obtaining historical configuration records of the process element attributes;

[0033] Determine the association strength between the attributes of each process element based on the configuration dependency between the attributes of each process element in the historical configuration record;

[0034] After determining the configuration process corresponding to the process element attribute through the vector knowledge base bound to the process orchestration agent, the associated process element attribute whose association strength with the process element attribute is greater than a preset strength is recommended to the dialogue interaction window.

[0035] An embodiment of the present invention provides a business process orchestration device based on automatic language interaction, the device comprising:

[0036] at least one processor;

[0037] and, a memory communicatively coupled to the at least one processor;

[0038] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute a business process orchestration method based on automatic language interaction as described in any one of the above items.

[0039] An embodiment of the present invention provides a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to:

[0040] A business process orchestration method based on automatic language interaction as described in any of the above items.

[0041] The business process orchestration method based on automatic language interaction proposed by the present invention can bring the following beneficial effects:

[0042] After receiving a business process orchestration request in the conversational interaction window, the intent classification agent automatically parses the request keywords and maps them to three types of orchestration nodes: process generation, process attribute configuration, and process verification. This breaks the limitation of traditional methods that only focus on process skeleton generation. By invoking the assistant intent classification agent, it can quickly interpret the user's business process orchestration request and then invoke the corresponding process orchestration agent to respond to the request. This avoids the tedious process of manually parsing the request and searching for relevant nodes, greatly improving the efficiency of business process orchestration. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0044] Figure 1 A flowchart of a business process orchestration method based on automatic language interaction provided by an embodiment of the present invention;

[0045] Figure 2 A schematic diagram of the configuration of an assistant intent classification agent provided by an embodiment of the present invention;

[0046] Figure 3 A schematic diagram of a process generation tool configuration provided by an embodiment of the present invention;

[0047] Figure 4 A schematic diagram of a process generation agent configuration provided by an embodiment of the present invention;

[0048] Figure 5 A schematic diagram of a process verification agent configuration provided by an embodiment of the present invention;

[0049] Figure 6 A schematic diagram of configuring an agent for configuring process attributes provided by an embodiment of the present invention;

[0050] Figure 7 A schematic diagram of the structure of a business process orchestration device based on automatic language interaction provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0051] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with specific embodiments of the present invention and corresponding drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0052] The technical solutions provided by various embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0053] like Figure 1 As shown, an embodiment of the present invention provides a business process orchestration method based on automatic language interaction, which is applied to a process designer and includes:

[0054] S101: Based on a preset dialogue interaction window, receiving a business process orchestration requirement sent by a user.

[0055] An embodiment of the present invention provides a process designer, which is the core operation orchestration of the entire business process. It contains multiple process orchestration intelligent entities with large models mounted on them, integrating functions such as process generation, attribute configuration, and process verification. The process designer provides a dialogue interaction window that can interact with users in language to achieve fully automatic and intelligent orchestration of business processes. The dialogue interaction window supports multiple forms of input, including voice, text, files, etc. Users can choose the appropriate input method based on actual conditions and their own habits to publish business process orchestration requirements. The business process orchestration requirements sent by users need to include business logic descriptions, operation requirements, special attribute settings, etc.

[0056] S102: Call the assistant intention classification agent to parse the business process orchestration requirements to determine at least one orchestration node corresponding to the business process orchestration requirements based on the requirement keywords in the business process orchestration requirements; wherein the orchestration node includes at least one or more of the following: a process generation node, a process attribute configuration node, and a process verification node.

[0057] The process designer can call the assistant intent classification agent to parse the business process orchestration requirements. The assistant intent classification agent is equipped with a large model and has certain textual reasoning capabilities. It extracts the demand keywords in the business process orchestration requirements to determine at least one orchestration node corresponding to the business process orchestration requirements. The orchestration node includes at least one or more of the following: process generation node, process attribute configuration node, and process verification node. The process generation node needs to generate a new business process model according to user needs, the process attribute configuration node is to configure the detailed attributes of the process node, and the process verification node is to verify whether the business process meets the preset standards. Figure 2 The configuration diagram of an assistant intention classification agent is shown in FIG. Figure 2 The left side shows the prompt word design of the assistant intention classification agent. Figure 2 On the right is the preview and debugging interface. Users can send business process orchestration requirements through the dialogue interaction window and call the assistant intent classification agent for intelligent question and answer. The assistant intent classification agent analyzes the business process orchestration requirements through its large model and recommends process orchestration agents that meet their needs to users.

[0058] S103: The process orchestration agent corresponding to the orchestration node receives the configuration requirements for the orchestration node sent by the user, and implements the business logic orchestration of the orchestration node by executing the business processing logic corresponding to the configuration requirements.

[0059] After identifying an orchestration node, the extracted requirement keywords are matched against agent keywords to find a process orchestration agent that meets the requirements of the orchestration node. This process orchestration agent can continue to receive targeted user configuration requirements and, by executing the corresponding business processing logic, orchestrate the business logic of the corresponding orchestration node. This allows for targeted execution of subsequent operations such as process generation, process and node attribute configuration, and overall process verification, ultimately achieving intelligent orchestration of the user's business processes.

[0060] In an embodiment of the present invention, the assistant intention classification agent can parse user needs and accurately match the corresponding business processing modules. Traditional process configuration requires users to manually select functional modules, which can easily lead to operational errors due to insufficient professional knowledge. The assistant intention classification agent automatically parses through a large model, reducing human judgment errors, and can directly map user needs to specific process orchestration agents without manual search, thereby improving response speed.

[0061] In one embodiment, a large model parses user-entered business process orchestration requirements, extracts requirement keywords, and matches them against process names, node attributes, business logic, and other information in the enterprise's historical business process library. If no matching historical business process exists, the business process orchestration requirement is considered a new process requirement. Based on these matching results, a selection range for orchestration nodes and process orchestration agents is defined. For business process orchestration requirements targeting historical processes, no process generation is required; existing business process models can be directly reused without regenerating flowcharts. Users only need to modify details using the attribute configuration agent and then quickly verify compliance using the verification agent. Therefore, in this case, the orchestration node selection range only includes process attribute configuration nodes and process verification nodes. For new business process orchestration requirements, however, orchestration inevitably involves three types of orchestration nodes: process generation, process verification, and process attribute configuration. Therefore, the corresponding selection range includes a process generation node, compared to historical processes. After determining the selection range for orchestration nodes, at least one orchestration node that meets the user's requirements can be selected from the selection range based on the requirement keywords.

[0062] In one embodiment, when the orchestration node is a process generation node, the user enters a first configuration requirement through the dialog interaction window. This first configuration requirement is a process generation requirement, such as generating a procurement approval process with application, financial review, and general manager approval nodes, or uploading a file containing a process description. After receiving the first configuration requirement, the process generation agent analyzes the user's intent using its large model, identifies keywords such as "generate process," and triggers the process generation process.

[0063] Next, the process orchestration agent corresponding to the process generation node, namely the process generation agent, will determine the tool parameters required for the process generation node through the process generation tool to which it is bound. The tool parameters are used to define the overall framework of the business process, which includes the process name and the node attribute list. The node attribute list includes at least one or more of the following: process node, process node name and process node execution order.

[0064] The process generation tool needs to be configured in advance, such as Figure 3 The figure shows a process generation tool configuration diagram. When configuring the process generation tool, you need to define the tool number, tool name, source type, source, tool description, and tool parameter type. The tool can execute the corresponding logic by hanging on the custom external service component. Figure 4 As shown, a process generation agent configuration diagram is shown. When configuring a process generation agent (i.e., a workflow generation agent), the corresponding process generation tool is selected from the tool list displayed under the tool component, i.e., an intelligent generation workflow diagram is generated, and the business processing logic corresponding to the agent can be executed.

[0065] After clearly defining the tool parameters required to generate the business process model, the process generation agent will parse the first configuration requirement based on the tool parameters to extract the tool parameter values ​​corresponding to the above tool parameters. If the user lacks key parameters during this process, the process generation agent can prompt to complete them through the dialogue interaction window. After obtaining the tool parameter values, the process generation engine executes the business processing logic corresponding to the first configuration requirement, that is, instantiates the tool parameter values ​​and generates the corresponding business process model. The business process model can be fed back to the user through the agent dialogue interaction window.

[0066] Tool parameter values ​​are instantiated using the BPMN (Business Process Model and Notation) standard. Essentially, this involves converting parameter values ​​into a visual process model. This conversion process involves constructing a BpmnModel object based on the BPMN specification. After receiving the tool parameter values, the process generation engine converts them into a BpmnModel instance. This step populates the BpmnModel structure with the tool parameter values, ultimately returning a complete process that includes the process name, process attributes, process node names, process node execution order, and process node attributes. A message listener is added to the process designer. When the process generation engine returns a BpmnModel instance, the designer receives the BpmnModel instance from the process generation engine. Then, based on a pre-defined layout algorithm, the process nodes in the BpmnModel instance are laid out according to their corresponding process node execution order, generating the corresponding business process model. The layout algorithm arranges the process nodes in the BpmnModel instance into the flow chart based on their execution order and logical relationships.

[0067] In one embodiment, when the orchestration node is a process verification node, it is necessary to perform model verification on existing historical business process models or newly generated business process models. Model verification is divided into two parts: first, verifying the business process model itself to determine whether it complies with the relevant business process model specifications; second, verifying the settings of process-related attributes based on actual usage scenarios.

[0068] Specifically, when the orchestration node is a process verification node, the process orchestration agent corresponding to the process verification node, i.e., the process verification agent, receives the second configuration requirement for the process verification node sent by the user, and determines the target business process model to be verified based on the second configuration requirement.

[0069] Through the process verification tool bound to the process orchestration intelligent body, the business processing logic corresponding to the second configuration requirement is executed, thereby performing process verification and attribute verification on the target business process model, obtaining the corresponding process verification results and displaying them in the dialogue interaction window.

[0070] like Figure 5 The figure shows a process verification agent configuration diagram. The user sends the second configuration requirement through the dialogue interaction window. The process verification agent analyzes the second configuration requirement through the large model, and then selects the corresponding process verification tool (i.e., the intelligent verification flowchart) from the tool list displayed under the tool component to perform corresponding verification operations on the target business process model.

[0071] If you perform process verification on the target business process model, you need to determine whether the target business process model meets the preset process constraints. Process constraints include whether it includes a start node and an end node, whether all process nodes have process breakpoints, and whether a process summary is set. A completed business process model must include a start node and an end node, and all process nodes must have input and output transfer lines. The process summary must be clearly described to facilitate subsequent business process model maintenance.

[0072] If the target business process model is to be attributed, it is necessary to optimize the unreasonable attributes in the target business process model in combination with the historical operations of the historical business process model. Specifically, first, obtain the historical business process model, and then determine the specified process nodes in the historical business process model that match the target business process model. Specifically, the process nodes similar to the target business process model can be found by comparing information such as node type, node name, and node attributes. By analyzing the historical operation frequency of the specified process node, that is, the number of times a process node has been operated in the historical business process model, such as the number of times the approval node has been signed or transferred, by analyzing the historical operation frequency, it is possible to understand the common problems of the process node in actual use, thereby optimizing its attribute settings. If a certain approval node frequently has signature operations in the historical process, it means that the participant settings of the node may not be accurate enough. Based on historical data, it can be recommended that the user adjust the participant settings of the node, such as adding more approvers or adjusting the approval authority.

[0073] For user-defined process verification requirements, such as whether to set timeout operations for each node, the large model needs to parse the second configuration requirements entered by the user, extract the information as input parameters and pass it to the process verification tool. The custom verification is implemented in the process verification engine and the verification results are given. The verification results will be displayed in the dialogue interaction window.

[0074] In one embodiment, a flowchart contains multiple process elements. Process element attributes refer to the specific characteristics and configuration parameters of each element (such as a node or connection) in the process model. These attributes define the element's behavior, appearance, and interaction with other elements. Each process element has multiple attributes. When the orchestration node is a process attribute configuration node, users may not know how to configure it. Therefore, under the process attribute configuration node, it is necessary to call the process orchestration agent of the process attribute configuration node to provide a configuration process for how to configure the process element attributes.

[0075] Specifically, the process orchestration agent corresponding to the process attribute configuration node, i.e., the process attribute configuration agent, receives the third configuration requirement sent by the user. It then parses the third configuration requirement to identify the process element attributes that require configuration. The vector knowledge base, a database of process configuration-related knowledge including configuration methods and steps for various process element attributes, retrieves the configuration process matching the third configuration requirement based on the vector knowledge base bound to the process orchestration agent. The configuration process is then displayed in the interactive dialog window for the user to reference.

[0076] like Figure 6 The figure shows a schematic diagram of a process attribute configuration agent. The user sends the third configuration requirement through the dialogue interaction window. The process attribute configuration agent (i.e., the process configuration document Q&A assistant) analyzes the third configuration requirement through a large model, and then uses the vector knowledge base (inBuilder common problems and solutions, inBuilder development knowledge) to screen the configuration process used to implement the third configuration requirement and present it to the user through the dialogue interaction window.

[0077] In one embodiment, when configuring process element attributes, in order to optimize the process configuration, related process element attributes can be actively recommended to users based on historical data. This not only improves the efficiency of process configuration, but also helps users understand the configuration logic of the business process and reduce the probability of errors.

[0078] Specifically, the historical configuration records of the process element attributes are obtained, and the configuration dependencies between the process element attributes in the historical configuration records are analyzed. Configuration dependency refers to the fact that the value or setting of a process element attribute may be restricted or affected by other process element attributes. By analyzing the dependency, the strength of the association between the process element attributes is determined. The strength of association can be quantified as a numerical value, which represents the closeness of the two attributes in the process configuration. When calculating the strength of association of attribute B relative to attribute A, the historical configuration records are analyzed, and the strength of association between the two can be calculated by taking the ratio between the number of co-occurrences of the two process element attributes AB and the total number of occurrences of the process element attribute A.

[0079] Within a defined configuration process, associated process element attributes with a correlation strength greater than a preset correlation strength are selected. If a user only requests configuration for a single process element attribute, these associated process element attributes can be recommended and displayed in the dialog window, helping the user quickly understand and optimize the process configuration. For example, if there is a strong correlation between attribute A and attribute B, the user can automatically be recommended to check the status or configuration of task B while configuring task A.

[0080] S104: Generate a business process corresponding to the business process orchestration requirement according to the business logic corresponding to the orchestration node.

[0081] After the business logic orchestration of each orchestration node is completed through the above-mentioned process orchestration intelligent agent, the orchestrated business logic can realize the automatic generation of processes, intelligent answers to process configuration questions, and verification of process configuration compliance. Based on these business logics, business processes that meet the user's process orchestration needs can be obtained.

[0082] The above are embodiments of the method proposed by the present invention. Based on the same idea, some embodiments of the present invention also provide devices and non-volatile computer storage media corresponding to the above methods.

[0083] Figure 7 This is a schematic diagram of the structure of a business process orchestration device based on automatic language interaction provided by an embodiment of the present invention. Figure 7 Shown, including:

[0084] at least one processor; and,

[0085] at least one processor communicatively connected to a memory; wherein,

[0086] The memory stores instructions that can be executed by at least one processor. The instructions are executed by the at least one processor so that the at least one processor can execute the business process orchestration method based on automatic language interaction as described in any one of the above items.

[0087] An embodiment of the present invention provides a non-volatile computer storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured as follows:

[0088] A business process orchestration method based on automatic language interaction as described in any of the above items.

[0089] The various embodiments of the present invention are described in a progressive manner. Similar portions between the various embodiments can be referred to in conjunction with each other. Each embodiment focuses on the differences between the other embodiments. In particular, the device and medium embodiments are generally similar to the method embodiments, so their descriptions are relatively simplified. For relevant portions, refer to the descriptions of the method embodiments.

[0090] The devices and media provided in the embodiments of the present invention correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects to their corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

[0091] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0092] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0093] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0094] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0095] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0096] Memory may include non-permanent storage in a computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0097] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can be implemented using any method or technology for information storage. Information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change RAM (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.

[0098] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0099] The foregoing is merely an embodiment of the present invention and is not intended to limit the present invention. It will be apparent to those skilled in the art that various modifications and variations of the present invention are possible. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are intended to be included within the scope of the claims of the present invention.

Claims

1. A business process orchestration method based on automatic language interaction, characterized in that: Applied to a process designer, the method includes: Based on the preset dialogue interaction window, receive the business process orchestration requirements sent by users; Invoking an assistant intent classification agent to parse the business process orchestration requirement to determine at least one orchestration node corresponding to the business process orchestration requirement based on requirement keywords in the business process orchestration requirement; wherein the orchestration node includes a process generation node; Receiving, through the process orchestration agent corresponding to the orchestration node, the configuration requirements for the orchestration node sent by the user, and implementing the business logic orchestration of the orchestration node by executing the business processing logic corresponding to the configuration requirements; Generate a business process corresponding to the business process orchestration requirement according to the business logic corresponding to the orchestration node; Receiving, by means of a process orchestration agent corresponding to the orchestration node, a configuration requirement for the orchestration node sent by the user, and implementing business logic orchestration of the orchestration node by executing business processing logic corresponding to the configuration requirement, specifically includes: In a case where the orchestration node is the process generation node, receiving, by the process orchestration agent corresponding to the process generation node, a first configuration requirement for the process generation node sent by the user; Determining tool parameters required for the process generation node through a process generation tool bound to the process orchestration agent; wherein the tool parameters include a process name and a node attribute list, and the node attribute list includes at least one or more of the following: process node, process attribute, process node name, process node attribute, and process node execution order; Parsing the first configuration requirement according to the tool parameter to obtain a tool parameter value corresponding to the tool parameter; Executing the business processing logic corresponding to the first configuration requirement through the process generation engine corresponding to the process generation node to instantiate the tool parameter value to obtain a corresponding business process model; Instantiate the tool parameter values ​​to obtain the corresponding business process model, specifically including: Convert the tool parameter value into a BpmnModel instance; The BpmnModel instance returned by the process generation engine is received, and based on a preset layout algorithm, each process node in the BpmnModel instance is laid out according to the execution order of its corresponding process node to generate a corresponding business process model.

2. A business process orchestration method based on automatic language interaction according to claim 1, characterized in that: Determining at least one orchestration node corresponding to the business process orchestration requirement based on a requirement keyword in the business process orchestration requirement specifically includes: According to the demand keywords in the business process orchestration demand, determining whether there is a historical business process that matches the demand keywords, so as to determine the screening range of the orchestration node; At least one choreography node corresponding to the business process choreography is determined from the screening range according to the demand keyword.

3. The business process arrangement method based on automatic language interaction according to claim 1, characterized in that: The orchestration node also includes a process verification node, which receives the configuration requirements for the orchestration node sent by the user through the process orchestration agent corresponding to the orchestration node, and implements the business logic orchestration of the orchestration node by executing the business processing logic corresponding to the configuration requirements, specifically including: In a case where the orchestration node is the process verification node, receiving, by the process orchestration agent corresponding to the process verification node, a second configuration requirement for the process verification node sent by the user, and determining a target business process model to be verified based on the second configuration requirement; The business processing logic corresponding to the second configuration requirement is executed through the process verification tool bound to the process orchestration agent to perform process verification and attribute verification on the target business process model, obtain the corresponding process verification results and display them in the dialogue interaction window.

4. The method for orchestrating business processes based on automatic language interaction according to claim 3, characterized in that: Perform process verification and attribute verification on the target business process model to obtain corresponding process verification results, specifically including: Performing a process check on the target business process model to determine whether the target business process model satisfies preset process constraints; wherein the process constraints include whether it includes a start node and an end node, whether all process nodes have process breakpoints, and whether a process summary is set; Acquire a historical business process model, and determine a designated process node in the historical business process model that matches the target business process model; According to the historical operation frequency of the designated process node, the node attribute corresponding to the designated process node in the target business process model is optimized.

5. The business process arrangement method based on automatic language interaction according to claim 1, characterized in that: The orchestration node also includes a process attribute configuration node, which receives the configuration requirements for the orchestration node sent by the user through the process orchestration agent corresponding to the orchestration node, and implements the business logic orchestration of the orchestration node by executing the business processing logic corresponding to the configuration requirements, specifically including: In a case where the orchestration node is the process attribute configuration node, receiving, through the process orchestration agent corresponding to the process attribute configuration node, a third configuration requirement sent by the user; Parsing the third configuration requirement to determine the process element attributes that need to be configured; The configuration process corresponding to the process element attribute is determined through the vector knowledge base bound to the process orchestration agent, and the configuration process is displayed in the dialogue interaction window.

6. The method for orchestrating business processes based on automatic language interaction according to claim 5, characterized in that: Determining the configuration process corresponding to the process element attribute through the vector knowledge base bound to the process orchestration agent, specifically including: Obtaining historical configuration records of the process element attributes; Determine the association strength between the attributes of each process element based on the configuration dependency between the attributes of each process element in the historical configuration record; After determining the configuration process corresponding to the process element attribute through the vector knowledge base bound to the process orchestration agent, the associated process element attribute whose association strength with the process element attribute is greater than a preset strength is recommended to the dialogue interaction window.

7. A business process orchestration device based on automatic language interaction, characterized in that: The device comprises: at least one processor; and, a memory communicatively coupled to the at least one processor; The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the business process orchestration method based on automatic language interaction as described in any one of claims 1 to 6.

8. A non-volatile computer storage medium storing computer-executable instructions, characterized in that: The computer executable instructions are configured to: A business process orchestration method based on automatic language interaction as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Multi-agent cooperative electric power inspection method, system and device and storage medium

    CN119106101A

  • Design and execution method and system of service orchestration scheme and storage medium

    CN119938265A