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

The process nodes are generated through AI large-scale models and combined with self-developed engines to decouple, which solves the problems of complex business orchestration and difficult decoupling of processes and services in the existing technology, and realizes an efficient and flexible business orchestration plan.

CN119938265APending Publication Date: 2025-05-06SUPCON TECH CO LTD +1
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202411980923.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-05-06

AI Technical Summary

Technical Problem

In the prior art, business orchestration tools cannot achieve decoupling between processes and services, resulting in complex orchestration, flexibility and inefficiency, especially in special scenarios where subprocesses are required.

Method used

Through the AI ​​model, process nodes are generated based on the labeled information in business needs, and the business process is decoupled through the self-developed engine to generate a business orchestration plan.

Benefits of technology

The modularization and componentization of business processes are realized, the flexibility and maintainability of business processes are improved, and the changes can be adapted more easily and updated and optimized independently.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119938265A_ABST
    Figure CN119938265A_ABST
Patent Text Reader

Abstract

The invention provides a business arrangement scheme design and execution method and system and a storage medium, and relates to the technical field of software engineering product design and development, and the method comprises the steps: determining a plurality of pieces of annotation information of a business demand in a historical process according to the business demand; training according to the annotation information through an AI large model to generate a plurality of process nodes; performing refining processing on the process nodes to generate a business process; decoupling the business process through a self-research engine to obtain a business arrangement scheme corresponding to the business process; and executing the service according to the service arrangement scheme. According to the invention, an efficient, flexible and extensible solution is provided for business arrangement through the application of the AI model and the self-developed engine, and a better effect can be realized in various business scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of software engineering product design and development, and in particular to a design and execution method, system and storage medium for a business orchestration solution. Background Art

[0002] During the digital transformation process, the level of enterprise informatization continues to improve, business complexity increases, and systems frequently call each other. For business orchestration, if source code development is used, API calls and logic can only be understood and modified by reading the code. Therefore, logic orchestration tools are usually used to orchestrate complex business logic.

[0003] In related technologies, logic orchestration tools usually have problems such as the inability to reuse and settle logic, complex business orchestration, and the inability to decouple processes from businesses. Therefore, when encountering special scenarios such as order splitting and order loading businesses that require the use of sub-processes, the orchestration will become very complicated and it will be impossible to truly decouple processes from businesses, which in turn affects the flexibility and efficiency of business orchestration. Summary of the invention

[0004] The problem solved by the present invention is how to improve the effect of service arrangement in various scenarios.

[0005] To solve the above problems, the present invention provides a method, system and storage medium for designing and executing a service orchestration solution.

[0006] In a first aspect, the present invention provides a method for designing and executing a service orchestration solution, comprising:

[0007] According to the business requirements, multiple annotation information of the business requirements in the historical process is determined;

[0008] Processing the annotation information through the AI ​​big model to generate multiple process nodes;

[0009] Refining the process nodes to generate a business process;

[0010] Decouple the business process through a self-developed engine to obtain a business orchestration solution corresponding to the business process;

[0011] The service is executed according to the service arrangement plan.

[0012] Optionally, determining, according to the business requirement, a plurality of annotation information of the business requirement in the historical process includes:

[0013] According to the business requirement, determine the local method, API, control node, success condition, failure condition and entity preservation of the business requirement in the historical process;

[0014] The local method, the API, the control node, the success condition, the failure condition and the entity storage are respectively annotated to obtain the annotation information corresponding to the local method, the API, the control node, the success condition, the failure condition and the entity storage respectively.

[0015] Optionally, the AI ​​big model processes the annotation information to generate multiple process nodes, including:

[0016] Acquire the natural language corresponding to the business requirement;

[0017] Converting the natural language into a text string, and annotating the text string to obtain annotation information of the natural language;

[0018] Inputting the local method, the API, the control node, the success condition, the failure condition, the entity save, and the natural language annotation information into the AI ​​big model;

[0019] Natural language training and precipitation are performed through the AI ​​big model to obtain multiple process nodes corresponding to the business needs.

[0020] Optionally, the refining of the process nodes to generate a business process includes:

[0021] Acquire key nodes in the process nodes, wherein the key nodes include manual nodes, workflow nodes, gateway nodes, logic arrangement nodes, and automatic task nodes;

[0022] The artificial node, the workflow node, the gateway node, the logic arrangement node and the automatic task node are processed specifically to obtain a sub-process of each of the key nodes;

[0023] The sub-processes are further refined to form the business process.

[0024] Optionally, decoupling the business process by using a self-developed engine to obtain a business orchestration solution corresponding to the business process includes:

[0025] Synchronize the business process to the self-developed engine to obtain all tasks included in the business process;

[0026] Allocating graphical elements to the business process through the self-developed engine;

[0027] Screening the tasks to obtain non-continuous tasks among the tasks, and using the non-continuous tasks as breakpoint tasks;

[0028] The service orchestration solution is generated according to the breakpoint task and the graphical element.

[0029] Optionally, allocating graphical elements to the business process by using the self-developed engine includes:

[0030] Analyze all the tasks included in the business process to determine the task type of each task, where the task type includes logic processing tasks, object processing tasks, and service tasks;

[0031] When the task is the logic processing task, allocating the logic processing graphical element in the service unit of the self-developed engine to the task;

[0032] When the task is the object processing task, allocating the object processing graphical element in the service unit to the task;

[0033] When the task is the service task, the service unit combination graphical element in the service unit is allocated to the task.

[0034] Optionally, executing the service according to the service arrangement scheme includes:

[0035] Performing task arrangement of the tasks through the graphical element corresponding to each of the tasks in the business process;

[0036] Determine the tasks to be executed according to the automatic task nodes through the process instance;

[0037] The tasks are executed according to the task scheduling scheme until all the tasks in the business process are completed.

[0038] Optionally, executing the tasks according to the task scheduling scheme until all the tasks in the business process are completed includes:

[0039] Execute the task according to the task scheduling scheme, and when the task to be executed is the breakpoint task, initialize the global constants, global variables and execution records of the process instance after the breakpoint task is executed;

[0040] After completing the initialization of the process instance, determining whether there are other tasks after the breakpoint task;

[0041] If yes, the automatic task node is transferred to the next task, and the next task is continued to be executed through the initialized process instance;

[0042] If not, the execution of the service arrangement plan is completed.

[0043] In a second aspect, the present invention provides a system for designing and executing a service orchestration solution, comprising:

[0044] A marking unit, used to determine, according to a business requirement, a plurality of marking information of the business requirement in a historical process;

[0045] An AI processing unit, configured to process the annotation information through an AI big model to generate multiple process nodes;

[0046] A process generation unit, used to refine the process nodes and generate a business process;

[0047] A decoupling unit, used to decouple the business process through a self-developed engine to obtain a business orchestration solution corresponding to the business process;

[0048] An execution unit is used to execute the service according to the service arrangement plan.

[0049] In a third aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the method for designing and executing the above-mentioned business orchestration solution is implemented.

[0050] The design and execution method, system and storage medium of the business orchestration scheme of the present invention ensure that the newly designed business process is consistent with the existing business practice and historical data by analyzing the annotation information in the business requirements and historical processes, and provide rich context information for the AI ​​big model. Then, the AI ​​big model is used to process these annotation information to generate process nodes. Based on structured data, the AI ​​big model can be used to quickly generate corresponding business process nodes according to the annotations, which not only improves the efficiency of process design, but also enhances the adaptability and prediction accuracy of process nodes to complex business logic through machine learning, and refines these process nodes to further ensure the executability and accuracy of details of the business process. Finally, the business process is decoupled by the self-developed engine, and the flexible orchestration of the business is realized, the modularization and componentization of the business process is guaranteed, and it can be quickly constructed and flexibly adjusted to meet a variety of scenarios, greatly improving the flexibility and maintainability of the business process. The decoupled business process can adapt to changes more easily, allowing each part to be updated and optimized independently without affecting the stability of the entire system. The present invention provides an efficient, flexible and scalable solution for business orchestration through the use of AI models and self-developed engines, which can achieve better results in a variety of business scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 This is one of the flow charts of the design and execution method of the service arrangement scheme in one embodiment of the present invention;

[0052] Figure 2 A schematic diagram of the overall business architecture in another embodiment of the present invention;

[0053] Figure 3 This is a schematic diagram of the structure of a self-developed engine in another embodiment of the present invention;

[0054] Figure 4 This is a second flow chart of a method for designing and executing a service orchestration solution in another embodiment of the present invention;

[0055] Figure 5 It is a schematic diagram of the structure of a system for designing and executing a service orchestration solution in another embodiment of the present invention. DETAILED DESCRIPTION

[0056] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be interpreted as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.

[0057] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0058] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to"; the term "based on" means "based at least in part on"; the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0059] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0060] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only used for illustrative purposes, and are not used to limit the scope of these messages or information.

[0061] In view of the problems existing in the above-mentioned related technologies, this embodiment provides a method, system and storage medium for designing and executing a service orchestration solution.

[0062] Combination Figure 1 As shown, the design and execution method of the service orchestration solution provided by the embodiment of the present invention includes:

[0063] According to the business requirements, multiple annotation information of the business requirements in the historical process is determined.

[0064] Specifically, in the initial stage of the business orchestration plan, it is necessary to accurately grasp the business needs, annotate information in historical processes, and conduct in-depth analysis of historical data to extract elements that are critical to current business needs, such as specific business rules, commonly used API interfaces, key control nodes, etc. By annotating these elements, rich contextual information can be provided for the training of large AI models, which is crucial for the generation of subsequent process nodes. It can ensure that the newly designed business processes are consistent with the company's existing business practices and historical data, and provide basic data for AI models to learn business logic and patterns. It not only improves the pertinence and accuracy of business process design, but also lays a solid data foundation for subsequent steps.

[0065] The AI ​​big model processes the annotation information to generate multiple process nodes.

[0066] Specifically, based on structured data, AI can be used to quickly draw the corresponding business process nodes according to the tags. In terms of the application of AI technology, if the nodes are not labeled, it will be difficult for the AI ​​big model to accurately identify them. The AI ​​big model uses the annotation information extracted from the historical process for processing. This information includes key elements such as local methods, APIs, and control nodes. By learning this data, the AI ​​model can identify patterns and relationships in the business process and generate new process nodes. The advantage of this method is that it can greatly improve the efficiency and accuracy of business process design while reducing human errors. The learning ability of AI enables the best practices precipitated from historical data to be quickly applied to the design of new processes, enhancing the level of intelligence in process design. By continuously training the AI ​​big model, its accuracy is improved, laying the foundation for the subsequent direct generation of business processes through the AI ​​big model.

[0067] The process nodes are refined to generate a business process.

[0068] Specifically, after the AI ​​big model generates process nodes, the next step is to refine these nodes. The system designer can refine the business process based on the product design, refine the key nodes, and then refine them based on the business process designed by the system designer. This step involves converting the preliminary process nodes into detailed business processes, including defining the specific operations, input and output parameters, exception handling mechanisms, etc. of each node. The refinement process ensures the executability and adaptability of the business process, making the generated process not only feasible in theory, but also able to be smoothly executed in actual business operations.

[0069] The business process is decoupled through a self-developed engine to obtain a business orchestration plan corresponding to the business process.

[0070] Specifically, the self-developed engine is a capability that enables rapid service development and supports service reorganization through drag-and-drop business orchestration and parameter configuration. Users extend business functions through graphical orchestration and bind them to logical orchestration and workflow. After system designers have completed the corresponding business process design and developers have improved the process implementation, a self-developed engine is needed to drive the business process. Therefore, after the business process is refined, the role of the self-developed engine becomes crucial. The engine makes the business orchestration solution more flexible and maintainable by decoupling the various parts of the business process. Decoupling means that each link in the business process can be modified and optimized independently of other links without affecting the stability of the entire process. This decoupling capability greatly improves the adaptability and scalability of the business process, enabling enterprises to quickly respond to market changes and adjust business processes in a timely manner. The automation of business processes can be quickly built and flexibly adjusted to meet a variety of scenarios. The subsequent extraction of intermediate data can fully display the overall flow of the business.

[0071] The service is executed according to the service arrangement plan.

[0072] Specifically, specific business operations are performed according to the generated business orchestration plan. This step is the ultimate goal of business process design, which is to transform the design into actual operations. When executing the business, the self-developed engine guides the operation of the business process according to the business orchestration plan to ensure that each process node is accurately executed according to the predetermined logic. This execution method improves the automation level of business processes, reduces manual intervention, and improves the efficiency and reliability of business processing. In this way, enterprises can ensure the consistency and compliance of business processes, while improving the monitoring and analysis capabilities of business process execution.

[0073] In summary, the design and execution methods of the business orchestration solution can be applied to an overall business architecture, where the overall business architecture is divided into client, server, data storage and operation and maintenance management, and its connection method is combined with Figure 2 As shown, the client can be a computer or a mobile phone connected to the server through a traffic gateway, and the server is connected to the operation and maintenance management and data storage, wherein the server stores data by sinking resources. The present invention is specifically applied to the server in the overall business architecture.

[0074] In a preferred embodiment of the present invention, when executing a business, it is first necessary to start the node: page or backend service binding configuration and execution method; after the page and backend service are executed, start to initialize the business orchestration instance; add a business orchestration instance ID, node ID, business ID (model + primary key ID) intermediate table to establish the relationship between the business and the instance; the initialization content includes: business orchestration instance, instance and business relationship, execution process and other information; initiate the business, push messages, transfer to the next node, and listen to messages; for the business of splitting and loading orders, the input parameters include the business ID and the previous business ID, and record the relationship of 1:N and N:1; the business orchestration service records the execution of important information such as input and output parameters, methods, nodes, etc., to facilitate problem troubleshooting; execute according to the business orchestration (until the end of the next breakpoint).

[0075] The design and execution method, system and storage medium of the business orchestration scheme of the present invention ensure that the newly designed business process is consistent with the existing business practice and historical data by analyzing the annotation information in the business requirements and historical processes, and provide rich context information for the AI ​​big model. Then, the AI ​​big model is used to process these annotation information to generate process nodes. Based on structured data, the AI ​​big model can be used to quickly generate corresponding business process nodes according to the annotations, which not only improves the efficiency of process design, but also enhances the adaptability and prediction accuracy of process nodes to complex business logic through machine learning, and refines these process nodes to further ensure the executability and accuracy of details of the business process. Finally, the business process is decoupled by the self-developed engine, and the flexible orchestration of the business is realized, the modularization and componentization of the business process is guaranteed, and it can be quickly constructed and flexibly adjusted to meet a variety of scenarios, greatly improving the flexibility and maintainability of the business process. The decoupled business process can adapt to changes more easily, allowing each part to be updated and optimized independently without affecting the stability of the entire system. The present invention provides an efficient, flexible and scalable solution for business orchestration through the use of AI models and self-developed engines, which can achieve better results in a variety of business scenarios.

[0076] Optionally, determining, according to the business requirement, a plurality of annotation information of the business requirement in the historical process includes:

[0077] According to the business requirement, determine the local method, API, control node, success condition, failure condition and entity preservation of the business requirement in the historical process;

[0078] The local method, the API, the control node, the success condition, the failure condition and the entity storage are respectively annotated to obtain the annotation information corresponding to the local method, the API, the control node, the success condition, the failure condition and the entity storage respectively.

[0079] Specifically, in the design and execution method of the business orchestration solution, the first step is to determine the annotation information of multiple key elements in the historical process according to business needs. Therefore, it is necessary to deeply analyze the historical process and identify local methods, APIs, control nodes, success conditions, failure conditions, and entity preservation elements that are closely related to business needs. The local methods, APIs, control nodes, success conditions, failure conditions, entity preservation, etc. in the historical process are annotated. In a preferred embodiment of the present invention, the key links in an order processing process are annotated, including local methods for payment processing, APIs integrated with the inventory system, control nodes for order confirmation, conditions for successful order submission, exception handling in case of failure, and entity preservation operations for order data. The annotation of these elements provides rich training data for the AI ​​big model, enabling it to learn patterns and relationships in business processes and generate new process nodes.

[0080] In the embodiments of the present invention, by combining historical processes for annotation, not only the pertinence and accuracy of business process design is improved, but also high-quality data input is provided for the training of AI models. In this way, the AI ​​model can learn the best practices and potential problems in historical processes, so that when generating new process nodes, it can more effectively adapt to complex business scenarios and needs.

[0081] Optionally, the AI ​​big model processes the annotation information to generate multiple process nodes, including:

[0082] Acquire the natural language corresponding to the business requirement;

[0083] Converting the natural language into a text string, and annotating the text string to obtain annotation information of the natural language;

[0084] Inputting the local method, the API, the control node, the success condition, the failure condition, the entity save, and the natural language annotation information into the AI ​​big model;

[0085] Natural language training and precipitation are performed through the AI ​​big model to obtain multiple process nodes corresponding to the business needs.

[0086] Specifically, in the business orchestration solution, the training process of the AI ​​big model is based on the detailed annotated business requirement information. First, the corresponding natural language descriptions are extracted from the business requirements, which may involve specific operations, conditions, and expected results. For example, if the business requirement is "processing customer orders", the relevant natural language descriptions may include steps such as "verifying order information" and "checking inventory". Next, these natural language descriptions are converted into text strings and annotated to extract key information such as entities, actions, and conditions. This step involves converting the language description into structured data that can be understood by AI. Then, the local methods, APIs, control nodes, and other information annotated in the historical process, as well as the newly extracted natural language annotation information, are combined and input into the AI ​​big model. Through natural language training and precipitation, the AI ​​big model learns the patterns and relationships in these data, and finally generates multiple process nodes corresponding to business requirements, such as order verification nodes, inventory inspection nodes, etc. This process simulates the way humans think when designing business processes, making the generated process nodes more consistent with actual business logic.

[0087] In the embodiments of the present invention, through the application of AI big models, accurate process nodes can be quickly extracted and generated from a large amount of historical data and natural language descriptions, reducing manual intervention and potential errors and improving design efficiency. At the same time, this method can ensure that the newly designed business process is consistent with the company's existing business logic and best practices, enhance the adaptability and flexibility of the process, and enable the company to respond to market changes and business needs more quickly.

[0088] Optionally, the refining of the process nodes to generate a business process includes:

[0089] Acquire key nodes in the process nodes, wherein the key nodes include manual nodes, workflow nodes, gateway nodes, logic arrangement nodes, and automatic task nodes;

[0090] The artificial node, the workflow node, the gateway node, the logic arrangement node and the automatic task node are processed specifically to obtain a sub-process of each of the key nodes;

[0091] The sub-processes are further refined to form the business process.

[0092] Specifically, in the detailed processing stage of the business orchestration scheme, the process nodes are further decomposed into key nodes, including manual nodes, workflow nodes, gateway nodes, logic orchestration nodes and automatic task nodes. For example, an order processing process may include key links such as "order verification" (manual node), "inventory check" (automatic task node), and "payment gateway interaction" (gateway node). Then, based on the business process designed by the system designer, it is refined, including but not limited to logic orchestration, condition judgment and variable configuration, etc. Among them, for each key node, it is processed specifically according to business needs, and the sub-process of each node is defined, including specific operation steps, input and output parameters, exception handling, etc. This step involves in-depth analysis and design of the internal logic of each node to ensure that each node can accurately respond to business needs. Subsequently, based on these sub-processes, secondary refinement is carried out to combine into a complete business process to form a set of coherent and executable business operation sequences.

[0093] In the embodiment of the present invention, by further refining the process nodes, it is possible to ensure that each link can accurately meet the business needs, thereby improving the adaptability and flexibility of the business process. This refinement process helps to identify and solve potential problem points and optimize the efficiency and effectiveness of the business process.

[0094] Optionally, decoupling the business process by using a self-developed engine to obtain a business orchestration solution corresponding to the business process includes:

[0095] Synchronize the business process to the self-developed engine to obtain all tasks included in the business process;

[0096] Allocating graphical elements to the business process through the self-developed engine;

[0097] Screening the tasks to obtain non-continuous tasks among the tasks, and using the non-continuous tasks as breakpoint tasks;

[0098] The service orchestration solution is generated according to the breakpoint task and the graphical element.

[0099] Specifically, first, synchronize the business process to the self-developed engine. This step allows the engine to obtain and understand all the tasks included in the process. For example, based on the "order processing process" mentioned above, the tasks that may be included are "payment processing" and "inventory inspection". Next, the self-developed engine assigns graphical components to these tasks so that each task can be presented in a graphical manner for easy management and operation. These graphical components can be used to implement basic logical processing and display them graphically for developers to understand. Then, the engine screens the tasks and identifies non-continuous tasks, i.e. breakpoint tasks. Finally, based on these breakpoint tasks and graphical components, a detailed business orchestration plan is generated to ensure that each task can be executed correctly according to the predetermined logic. Combined with Figure 3 The schematic diagram of the self-developed engine structure shown in the figure shows that in the business orchestration scheme, the event publisher is responsible for triggering the start of the business process or triggering a step in the process under specific conditions. Allowing business processes to respond to internal or external events to achieve process automation. The scheduler is used in the business orchestration scheme to manage and schedule various tasks in the process. Ensuring that tasks are executed at the scheduled time and sequence is essential for the coordination and control of the process. The process context module is used to maintain the context information of the business process, including process variables, status, and history. In the business orchestration scheme, context information is very important for the recovery of the process and the processing of breakpoint tasks. The process execution engine is the core of the business orchestration scheme and is responsible for executing various tasks in the process. According to the process definition and context information, the progress of the process is driven to ensure the correct execution of the task. The expression engine is used to calculate various expressions required in the process, such as conditional judgment, data conversion, etc., providing flexible logical processing capabilities for the process. The variable manager is responsible for managing the variables used in the business process, including creation, update, and deletion. In the business orchestration scheme, variable management is essential for maintaining process status and data transmission. The process verifier is used to check the correctness and integrity of the process before publishing it. In business orchestration solutions, ensure that the process meets the expected rules and standards before execution. AI components are used in business orchestration solutions to provide intelligent decision support, such as predicting possible problems in the process through machine learning models, or optimizing process paths. Identify "breakpoint" task nodes, including approval flows, manual nodes, etc. These nodes will be specially marked. When encountering breakpoint task nodes, it is necessary to end the running instance and initialize the data of the next task node. The initialized data includes global constants and variables and the results returned by the previous node. Instances, nodes, and business relationships are stored for subsequent use.

[0100] In the embodiment of the present invention, the visualization of the business process is enhanced by using graphical elements, so that users with non-technical backgrounds can also understand and participate in process design. At the same time, the identification and management of breakpoint tasks improve the adaptability of the process and user experience.

[0101] Optionally, allocating graphical elements to the business process by using the self-developed engine includes:

[0102] Analyze all the tasks included in the business process to determine the task type of each task, where the task type includes logic processing tasks, object processing tasks, and service tasks;

[0103] When the task is the logic processing task, allocating the logic processing graphical element in the service unit of the self-developed engine to the task;

[0104] When the task is the object processing task, allocating the object processing graphical element in the service unit to the task;

[0105] When the task is the service task, the service unit combination graphical element in the service unit is allocated to the task.

[0106] Specifically, in the business orchestration solution, one of the key functions of the self-developed engine is to assign appropriate graphical components to each task in the business process. This process begins with a detailed analysis of all tasks in the business process to determine the type of each task, including logic processing tasks, object processing tasks, and service tasks. Subsequently, the self-developed engine will allocate corresponding graphical components from its service unit library according to the type of task, such as conditional judgment graphical components for logic processing tasks, database operation graphical components for object processing tasks, and API call graphical components for service tasks. This allocation ensures that each task can be represented and operated in a way that best suits its functions and requirements. The logic processing, object processing, and service units in the service orchestration are all independent service units, each with its own responsibilities; graphical components for logic processing, including assignment, conditions, etc., are provided in the service orchestration. These primitives can achieve basic logic processing and display them graphically for developers to understand; graphical components for object processing are provided in the service orchestration, including record creation, record query, record update, and record deletion. Through these primitives, corresponding operations such as adding, deleting, modifying and checking can be performed on custom objects or standard objects created through the platform, simplifying the process of processing object data and improving development efficiency; service orchestration provides graphical components for service unit combinations, including scripts, scheduled tasks, etc. Through these primitives, services that have been developed in the platform can be integrated into service orchestration and recombined to quickly expand richer business functions.

[0107] In the embodiment of the present invention, by assigning special graphical elements to different types of tasks, designers can understand and operate business processes more intuitively and quickly. This method simplifies complex logic and operations through a graphical interface, reducing the risk of errors and misunderstandings. The task management method based on graphical elements helps to achieve rapid deployment and flexible adjustment of business processes, thereby accelerating business innovation and responding to market changes.

[0108] Optionally, executing the service according to the service arrangement scheme includes:

[0109] Performing task arrangement of the tasks through the graphical element corresponding to each of the tasks in the business process;

[0110] Determine the tasks to be executed according to the automatic task nodes through the process instance;

[0111] The tasks are executed according to the task scheduling scheme until all the tasks in the business process are completed.

[0112] Specifically, during the execution phase of the business orchestration plan, the tasks are first orchestrated through the graphical elements corresponding to each task in the business process. This step involves using the graphical interface in the self-developed engine to organize the various tasks in the business process in a graphical form, so that the logic and execution order of the process are clear at a glance. Next, the engine automatically identifies which tasks need to be executed immediately and which can be postponed or depend on the results of other tasks by determining the tasks to be executed based on the automatic task nodes through the process instance. Finally, tasks are executed according to the task arrangement until all tasks in the business process are completed, ensuring the smooth progress of the entire business process.

[0113] In the embodiment of the present invention, through the task arrangement of graphical components, the execution status of the business process can be intuitively managed and monitored, and problems can be discovered and solved in a timely manner. This method improves the transparency and traceability of the business process and helps to quickly locate bottlenecks and errors in the process. At the same time, automated task execution reduces human intervention, reduces error rates, and improves the speed and accuracy of business processing.

[0114] Optionally, executing the tasks according to the task scheduling scheme until all the tasks in the business process are completed includes:

[0115] Execute the task according to the task scheduling scheme, and when the task to be executed is the breakpoint task, initialize the global constants, global variables and execution records of the process instance after the breakpoint task is executed;

[0116] After completing the initialization of the process instance, determining whether there are other tasks after the breakpoint task;

[0117] If yes, the automatic task node is transferred to the next task, and the next task is continued to be executed through the initialized process instance;

[0118] If not, the execution of the service arrangement plan is completed.

[0119] Specifically, during the execution of the business orchestration solution, the execution of tasks follows a strict process, especially for the processing of breakpoint tasks. By identifying breakpoint tasks, the business and process are decoupled, the message queue is used to separate the business and process, and the intermediate table is used to store the relationship between the two. When such tasks are encountered during the execution process, once completed, the system will reinitialize the process instance, including setting global constants, global variables, and updating execution records to ensure that subsequent tasks can continue to execute in the correct context and state. After completing the initialization, the system will check whether there are other tasks to be executed. If so, the process will continue to execute the next task; if not, the business orchestration solution is executed. This design allows the business process to smoothly resume execution when it encounters a point where it needs to be paused, without losing progress or status.

[0120] In a preferred embodiment of the present invention, the decoupling of business and process is achieved by identifying breakpoint tasks. This method ensures the continuity of business processes and the consistency of data, and will not be interrupted even when manual intervention is required or when waiting for external conditions to be met. The adaptability and reliability of business processes are improved, allowing enterprises to respond to complex and changing business environments more flexibly.

[0121] In summary, combined with Figure 4 As shown in the figure, the design and execution method of the business orchestration solution is implemented through an integrated environment, which includes business APP, development platform, business process, self-developed engine and AI platform. On the development platform, product designers use models, APIs, logical orchestration and page configuration to compile and deploy business applications, which are then converted into business processes. The process nodes in the business process are passed to the self-developed engine and parsed and synchronized through the AI ​​big model to generate detailed process nodes. The AI ​​big model uses the annotation information and natural language input in the historical process to improve the accuracy of process node generation through training and precipitation. In the business operation stage, the business APP initiates the business and pushes messages, the self-developed engine creates message queue topics and process instances, and then executes the business according to the business orchestration solution, including processing breakpoint tasks and transferring to the next node. This solution realizes the automation, intelligence and flexibility of business processes through the decoupling function of the self-developed engine and the intelligent analysis of the AI ​​big model, thereby improving the efficiency and quality of business processing.

[0122] Combination Figure 5As shown, the present invention also provides a system for designing and executing a service arrangement solution, including:

[0123] A marking unit, used to determine, according to a business requirement, a plurality of marking information of the business requirement in a historical process;

[0124] An AI processing unit, configured to process the annotation information through an AI big model to generate multiple process nodes;

[0125] A process generation unit, used to refine the process nodes and generate a business process;

[0126] A decoupling unit, used to decouple the business process through a self-developed engine to obtain a business orchestration solution corresponding to the business process;

[0127] An execution unit is used to execute the service according to the service arrangement plan.

[0128] The design and execution system of the business orchestration scheme of the present invention ensures that the newly designed business process is consistent with the existing business practice and historical data by analyzing the annotation information in the business requirements and historical processes, and provides rich context information for the AI ​​big model. Then, the AI ​​big model is used to process these annotation information to generate process nodes. Based on structured data, the AI ​​big model can be used to quickly generate corresponding business process nodes according to the annotations, which not only improves the efficiency of process design, but also enhances the adaptability and prediction accuracy of process nodes to complex business logic through machine learning, and refines these process nodes to further ensure the executability and accuracy of details of the business process. Finally, the business process is decoupled by the self-developed engine, and the flexible orchestration of the business is realized, the modularization and componentization of the business process are guaranteed, and it can be quickly constructed and flexibly adjusted to meet a variety of scenarios, greatly improving the flexibility and maintainability of the business process. The decoupled business process can adapt to changes more easily, allowing each part to be updated and optimized independently without affecting the stability of the entire system. The present invention provides an efficient, flexible and scalable solution for business orchestration through the use of AI models and self-developed engines, which can achieve better results in a variety of business scenarios.

[0129] The present invention also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the above-mentioned method for designing and executing the service orchestration solution is implemented.

[0130] In other words, a non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor performs the following operations:

[0131] According to the business requirements, multiple annotation information of the business requirements in the historical process is determined;

[0132] Processing the annotation information through the AI ​​big model to generate multiple process nodes;

[0133] Refining the process nodes to generate a business process;

[0134] Decouple the business process through a self-developed engine to obtain a business orchestration solution corresponding to the business process;

[0135] The service is executed according to the service arrangement plan.

[0136] The present invention also provides a field switch, comprising a memory and a processor; the memory is used to store a computer program, and the processor is used to implement the above-mentioned service orchestration scheme design and execution method when executing the computer program.

[0137] In other words, a field switch includes a memory and a processor coupled to the memory; the memory is configured to store a computer program; and the processor is configured to perform the following operations when executing the computer program:

[0138] According to the business requirements, multiple annotation information of the business requirements in the historical process is determined;

[0139] Processing the annotation information through the AI ​​big model to generate multiple process nodes;

[0140] Refining the process nodes to generate a business process;

[0141] Decouple the business process through a self-developed engine to obtain a business orchestration solution corresponding to the business process;

[0142] The service is executed according to the service arrangement plan.

[0143] The computer-readable storage medium of the present invention ensures that the newly designed business process is consistent with the existing business practices and historical data by analyzing the annotation information in the business needs and historical processes, and provides rich contextual information for the AI ​​big model. Then, the AI ​​big model is used to process these annotation information to generate process nodes. Based on structured data, the AI ​​big model can be used to quickly generate corresponding business process nodes according to the annotations, which not only improves the efficiency of process design, but also enhances the adaptability and prediction accuracy of process nodes to complex business logic through machine learning, and refines these process nodes to further ensure the executability and accuracy of details of the business process. Finally, the business process is decoupled by the self-developed engine, which realizes the flexible arrangement of the business, ensures the modularization and componentization of the business process, can be quickly constructed and flexibly adjusted to meet a variety of scenarios, and greatly improves the flexibility and maintainability of the business process. The decoupled business process can adapt to changes more easily, allowing each part to be updated and optimized independently without affecting the stability of the entire system. The present invention provides an efficient, flexible and scalable solution for business orchestration through the use of AI models and self-developed engines, which can achieve better results in a variety of business scenarios.

[0144] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0145] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.

Claims

1. A method of designing and executing a business orchestration plan, characterized in that include: According to business needs, multiple annotation information of the business needs in the historical process are determined; Through the AI ​​model, multiple process nodes are generated according to the annotation information; Refine the process nodes and generate business processes; The business process is decoupled through the self-developed engine to obtain the business orchestration plan corresponding to the business process; The service is executed according to the service arrangement plan.

2. The design and execution method of the service orchestration plan according to claim 1, characterized in that, According to business needs, multiple annotation information of the business needs in the historical process are determined, including: According to the business needs, determine the local method, API, control node, success conditions, failure conditions and entity preservation of the business needs in the historical process; The local method, the API, the control node, the success condition, the failure condition and the entity storage are respectively annotated to obtain the annotation information corresponding to the local method, the API, the control node, the success condition, the failure condition and the entity storage respectively.

3. The design and execution method of the service orchestration plan according to claim 2, characterized in that, The AI ​​model processes the process according to the annotation information, and generates multiple process nodes, including: Acquire the natural language corresponding to the business requirement; The natural language is converted into a text string, and the text string is annotated to obtain the label information of the natural language; The local method, the API, the control node, the success condition, the failure condition, the entity saving, and the natural language label information are input to the AI ​​big model; Through the AI ​​big model, natural language training and precipitation are carried out to obtain multiple process nodes corresponding to the business requirements.

4. The design and execution method of the service orchestration plan according to claim 1, characterized in that, The process node is refined and generated by the business process, including: Obtain the key nodes in the process node, including manual nodes, workflow nodes, gateway nodes, logical orchestration nodes, and automatic task nodes; The artificial node, the workflow node, the gateway node, the logic arrangement node and the automatic task node are processed specifically to obtain a sub-process of each of the key nodes; The sub-process is refinement and the business process is composed.

5. The design and execution method of the service orchestration plan according to claim 1, characterized in that, The business process is decoupled through the self-developed engine to obtain the business orchestration plan corresponding to the business process, including: Synchronize the business process to the self-developed engine to obtain all tasks contained in the business process; The business process is assigned graphical components through the self-developed engine; The task is filtered to obtain the unsequential tasks in the task, and the unsequential tasks are used as breakpoint tasks; According to the breakpoint task and the graphical element, the service orchestration scheme is generated.

6. The design and execution method of the service orchestration plan according to claim 5, characterized in that, The self-developed engine allocates graphical elements to the business process, including: All the tasks included in the business process are analyzed and the task type of each task is determined, and the task type includes logical processing tasks, object processing tasks, and service tasks; When the task is the logical processing task, the logical processing graphical element in the service unit of the self-developed engine is assigned to the task; When the task is the object processing task, the object processing graphical element in the service unit is assigned to the task; When the task is the service task, the service unit combination graphical elements in the service unit in the service unit are assigned to the task.

7. The design and execution method of the service orchestration plan according to claim 5, characterized in that, The execution of services according to the service orchestration plan includes: Task orchestration of the task is performed through the graphical elements corresponding to each of the tasks in the business process; The task executed is determined based on the automatic task node through a process instance; The task is performed according to the task orchestration plan until all the tasks in the business process are completed.

8. The design and execution method of the service orchestration plan according to claim 7, characterized in that, The execution of the task according to the task arrangement until all the tasks in the business process are completed, including: Execute the task according to the task scheduling scheme, and when the task to be executed is the breakpoint task, initialize the global constants, global variables and execution records of the process instance after the breakpoint task is executed; After completing the initialization of the process instance, it is determined whether there are other tasks after the breakpoint task; If so, the automatic task node is transferred to the next task and the next task is continued to be executed through the initialized process instance; If not, the execution of the business orchestration plan is completed.

9. A design and execution system for business orchestration scheme, characterized in that include: The labeling unit is used to determine multiple labeling information of the business needs in the historical process according to the business needs; The AI ​​processing unit is used to process the annotation information through the AI ​​model and generate multiple process nodes; The process generation unit is used to refine the process nodes and generate business processes; The decoupling unit is used to decouple the business process through a self-developed engine to obtain the business orchestration plan corresponding to the business process; An execution unit is used to perform services according to the service orchestration scheme.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by the processor, the design and execution method of the service orchestration scheme according to any one of claims 1-8 are implemented.

Citation Information

Cited By

  • Business application rapid abstract modeling method and device

    CN120373979A

  • Business process arrangement method and device based on automatic language interaction and medium

    CN120410170A

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

    CN120410170B