Task processing method and computing device

By receiving terminal requests to generate and automatically execute task processing flows, the high technical requirements and low efficiency of complex operation and maintenance tasks are solved, achieving efficient and accurate task processing.

CN120950197APending Publication Date: 2025-11-14XFUSION DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510902663.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-30
Publication Date
2025-11-14

AI Technical Summary

Technical Problem

In the infrastructure operation and maintenance scenarios of intelligent computing centers, complex operation and maintenance tasks require the cooperation of people with different professional knowledge backgrounds. The operation steps are cumbersome, resulting in low task processing efficiency and easy errors.

Method used

By receiving task processing requests from terminals, determining task types and parameters, generating processing flows using process template libraries and subtask libraries, and automatically executing the flows in conjunction with a task processing engine, the technical requirements are reduced and processing efficiency is improved.

Benefits of technology

It simplifies the operational steps for business personnel to obtain and process information, avoids cross-departmental coordination and human error, improves the generation efficiency and accuracy of task processing, and shortens the task processing time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120950197A_ABST
    Figure CN120950197A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a task processing method and computing equipment, and the method comprises the steps: receiving a task processing request sent by a terminal, the task processing request being used for requesting to obtain a processing flow of a task; determining a task type and task parameters of the task according to the task processing request; according to the task type and the task parameters of the task, a first processing flow is determined, the first processing flow is used for processing the task, and the first processing flow comprises a plurality of first sub-tasks and an execution sequence among the first sub-tasks; and sending the first processing flow to the terminal. In the method, the business personnel can interact with the computing device through the terminal to quickly and accurately determine the task processing flow, so that the technical requirements of task processing on the business personnel are reduced, the task processing time is shortened, and the task processing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computing device technology, and more particularly to a task processing method and a computing device. Background Technology

[0002] In the infrastructure operation and maintenance scenario of the intelligent computing center, there are a large number of operation and maintenance tasks to be handled every day.

[0003] In related technologies, business personnel handle these operational and maintenance tasks through manual intervention. For example, for routine operational tasks, business personnel can complete them by clicking through the web user interface (web UI) provided by the intelligent computing center. For routine maintenance tasks, business personnel can manually log in to the server and execute shell commands.

[0004] However, some complex operational tasks (or maintenance tasks) are quite complicated and may require the cooperation of people with different professional knowledge backgrounds, which places high demands on the technical capabilities of business personnel. In addition, the operation steps for handling these complex operational tasks (or maintenance tasks) are relatively cumbersome, and business personnel are prone to making mistakes when determining the processing flow for these complex operational tasks (or maintenance tasks), resulting in long processing times and low task processing efficiency. Summary of the Invention

[0005] This application provides a task processing method and computing device, which helps to reduce the technical requirements of task processing personnel and improve task processing efficiency.

[0006] In a first aspect, embodiments of this application provide a task processing method, the method comprising:

[0007] Receive a task processing request sent by the terminal. The task processing request is used to request the processing flow of the task.

[0008] Based on the task processing request, determine the task type and task parameters;

[0009] Based on the task type and task parameters, a first processing flow is determined. The first processing flow is used to process the task and includes multiple first sub-tasks and the execution order among the multiple first sub-tasks.

[0010] Send the first processing flow to the terminal.

[0011] In the above technical solution, business personnel can quickly obtain the task processing flow by interacting with the computing device through the terminal, without the need for manual intervention. This simplifies the steps for business personnel to obtain the processing flow, reduces the technical requirements for business personnel, avoids the communication and coordination process between people with different professional knowledge backgrounds across departments and organizations, saves time, and also avoids the error rate of business personnel in determining the processing flow, improving the efficiency and accuracy of task processing flow generation, thereby shortening the task processing time and improving task processing efficiency.

[0012] In one possible implementation, a first processing flow is determined based on the task type and task parameters, including:

[0013] Based on the task type, determine whether there is a first process template corresponding to the task in the process template library. The process template library includes multiple task types and process templates corresponding to each task type.

[0014] If a first process template exists in the process template library, the first processing flow is determined based on the task parameters and the first process template.

[0015] In the above technical solution, the first process template of the task can be determined in the process template library based on the task type, and the first processing flow can be assembled according to the task parameters and the first process template, which is beneficial to improving the efficiency of the task model in obtaining the first processing flow.

[0016] In one possible implementation, there are multiple first process templates; a first processing flow is determined based on the task parameters and the first process templates, including:

[0017] Based on the task parameters and the reference parameters in each first process template, a second process template is determined from multiple first process templates, where the reference parameters in the second process template have the highest matching degree with the task parameters.

[0018] Based on the task parameters and the second process template, determine the first processing flow.

[0019] In the above technical solution, when there are multiple first process templates, the task model can select a second process template that is more compatible with the task from among the multiple first process templates, which is beneficial to improving the accuracy of the generated first processing flow.

[0020] In one possible implementation, before determining whether a first process template corresponding to a task exists in the process template library based on the task type, the method further includes:

[0021] Acquire historical processing data, which is obtained during the processing of multiple historical tasks;

[0022] Based on historical processing data, multiple task types and multiple second subtasks corresponding to each task type are identified;

[0023] For any task type, based on the multiple second subtasks corresponding to the task type, the task parameters of the multiple second subtasks and the dependencies between the multiple second subtasks are determined based on the subtask library. Based on the task parameters of the multiple second subtasks and the dependencies between the multiple second subtasks, the process template corresponding to the task type is determined. The subtask library includes the task parameters of the multiple subtasks and the dependencies between the multiple subtasks. The multiple subtasks include multiple second subtasks.

[0024] A process template library is generated based on multiple task types and the corresponding process templates for each task type.

[0025] In the above technical solution, a process template library can be generated in advance based on historical processing data and a pre-generated subtask library. This allows the first processing flow corresponding to a task to be quickly determined based on the process template library and the task processing request, which helps to improve the efficiency of obtaining the first processing flow.

[0026] In one possible implementation, before determining the task parameters of multiple second subtasks and the dependencies between the multiple second subtasks based on the subtask library, the method further includes:

[0027] Obtain the task execution files for multiple subtasks; each subtask's task execution file is used to execute its respective subtask.

[0028] Based on the task execution files of multiple subtasks, determine the task parameters of the multiple subtasks and the dependencies between the multiple subtasks;

[0029] A subtask library is generated based on the task parameters of multiple subtasks and the dependencies between them.

[0030] In the above technical solution, task execution files of multiple subtasks in the historical processing can be obtained, and a subtask library can be generated in advance based on these multiple subtask task execution files, so that the subtask library can be called later to quickly generate task processing flow.

[0031] In one possible implementation, if the first process template is not present in the process template library, the method further includes:

[0032] Based on the task parameters of the task, determine the task parameters of each of the multiple first subtasks involved in the task, as well as the dependencies between the multiple first subtasks;

[0033] The execution order among multiple first subtasks is determined based on dependencies;

[0034] The first processing flow is determined based on the task parameters and execution order of each of the multiple first subtasks.

[0035] In the above technical solution, in the absence of a first process template corresponding to the task, the task model's self-learning ability and fuzzy recognition ability are used to adaptively generate the first processing flow of the task based on the task parameters, which helps to improve the reliability of obtaining the first processing flow.

[0036] In one possible implementation, after sending the first processing flow to the terminal, the method further includes:

[0037] The receiving terminal sends a first execution instruction, which is used to instruct the task to be processed based on a first processing flow;

[0038] According to the first execution instruction, the task processing engine is invoked to execute the first processing flow.

[0039] In the above technical solution, the computing device can also call the task processing engine to automatically execute the first processing flow according to the first execution instruction sent by the terminal, without the need for business personnel to manually execute the first processing flow. This helps to avoid errors made by business personnel in the process of manually executing the first processing flow, improves the execution efficiency of the first processing flow, and thus improves the task processing efficiency.

[0040] In one possible implementation, after sending the first processing flow to the terminal, the method further includes:

[0041] The receiving terminal sends a second execution instruction, which is used to instruct the task to be processed based on a second processing flow, the second processing flow being obtained by the terminal updating the first processing flow;

[0042] According to the second execution instruction, the task processing engine is invoked to execute the second processing flow.

[0043] In the above technical solution, the computing device can also call the task processing engine to automatically execute the second processing flow according to the second execution instruction sent by the terminal, without the need for business personnel to manually execute the second processing flow. This helps to avoid errors made by business personnel in the process of manually executing the second processing flow, improves the execution efficiency of the second processing flow, and thus improves the task processing efficiency.

[0044] In one possible implementation, the method further includes:

[0045] Receive control commands sent by the terminal, and based on the control commands, control the task processing engine to stop executing the first processing flow; and / or,

[0046] The system receives query commands sent by the terminal, obtains the execution progress information of the task processing engine for the first processing flow based on the query commands, and sends the execution progress information to the terminal.

[0047] In the above technical solution, business personnel can interact with the computing device via a terminal according to their own business needs to stop the execution of the first or second processing flow, allowing them to conveniently control the task execution process. Business personnel can also interact with the computing device via the terminal to query task execution progress information, enabling them to understand the task's progress in a timely manner.

[0048] Secondly, embodiments of this application provide a task processing apparatus, the task processing apparatus comprising:

[0049] The transceiver module is used to receive task processing requests sent by the terminal. The task processing request is used to request the processing flow of the task.

[0050] The processing module is used to determine the task type and task parameters based on the task processing request;

[0051] The processing module is also used to determine a first processing flow based on the task type and task parameters. The first processing flow is used to process the task and includes multiple first sub-tasks and the execution order between the multiple first sub-tasks.

[0052] The transceiver module is also used to send the first processing flow to the terminal.

[0053] The task processing apparatus provided in this application embodiment can execute the technical solutions described in any of the first aspects, and its beneficial effects are similar, so they will not be described again here.

[0054] In one possible implementation, the processing module is specifically used for:

[0055] Based on the task type, determine whether there is a first process template corresponding to the task in the process template library. The process template library includes multiple task types and process templates corresponding to each task type.

[0056] If a first process template exists in the process template library, the first processing flow is determined based on the task parameters and the first process template.

[0057] In one possible implementation, the number of first process templates is multiple; the processing module is further configured to:

[0058] Based on the task parameters and the reference parameters in each first process template, a second process template is determined from multiple first process templates, where the reference parameters in the second process template have the highest matching degree with the task parameters.

[0059] Based on the task parameters and the second process template, determine the first processing flow.

[0060] In one possible implementation, before determining whether a first process template corresponding to a task exists in the process template library based on the task type, the transceiver module is further configured to acquire historical processing data, which is obtained during the processing of multiple historical tasks.

[0061] The processing module is also used to: determine multiple task types and multiple second subtasks corresponding to each task type based on historical processing data; for any task type, determine the task parameters of multiple second subtasks and the dependencies between them based on the subtask library, and determine the process template corresponding to the task type based on the task parameters and dependencies between them. The subtask library includes the task parameters and dependencies between multiple subtasks, and the multiple subtasks include multiple second subtasks; and generate a process template library based on the multiple task types and the process templates corresponding to each task type.

[0062] In one possible implementation, before determining the task parameters of multiple second subtasks and the dependencies between multiple second subtasks based on the subtask library, the transceiver module is further configured to obtain the task execution files of multiple subtasks, and the task execution files of each subtask are used to execute each subtask.

[0063] The processing module is also used to determine the task parameters of multiple subtasks and the dependencies between them based on the task execution files of multiple subtasks; and to generate a subtask library based on the task parameters and dependencies between the multiple subtasks.

[0064] In one possible implementation, if the first process template is not present in the process template library, the processing module is further configured to:

[0065] Based on the task parameters of the task, determine the task parameters of each of the multiple first subtasks involved in the task, as well as the dependencies between the multiple first subtasks;

[0066] The execution order among multiple first subtasks is determined based on dependencies;

[0067] The first processing flow is determined based on the task parameters and execution order of each of the multiple first subtasks.

[0068] In one possible implementation, after sending the first processing flow to the terminal, the transceiver module is further configured to receive a first execution instruction sent by the terminal, the first execution instruction being used to instruct the task to be processed based on the first processing flow.

[0069] The processing module is also used to invoke the task processing engine to execute the first processing flow according to the first execution instruction.

[0070] In one possible implementation, after sending the first processing flow to the terminal, the transceiver module is further configured to receive a second execution instruction sent by the terminal, the second execution instruction being used to instruct the task to be processed based on the second processing flow, the second processing flow being obtained by the terminal updating the first processing flow.

[0071] The processing module is also used to invoke the task processing engine to execute the second processing flow according to the second execution instruction.

[0072] In one possible implementation, the transceiver module is further configured to receive control commands sent by the terminal, and control the task processing engine to stop executing the first processing flow based on the control commands; and / or,

[0073] The system receives query commands sent by the terminal, obtains the execution progress information of the task processing engine for the first processing flow based on the query commands, and sends the execution progress information to the terminal.

[0074] Thirdly, embodiments of this application provide a computing device, including: a processor and a memory; the processor and the memory are coupled;

[0075] Memory is used to store program instructions;

[0076] The processor is configured to execute program instructions to perform the method as described in any one of the first aspects.

[0077] The computing device provided in the embodiments of this application can execute the technical solutions described in any of the first aspects, and its beneficial effects are similar, so they will not be described again here.

[0078] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions that, when executed by a computer, implement the method as described in any one of the first aspects.

[0079] The computer-readable storage medium provided in the embodiments of this application can perform the technical solutions as described in any of the first aspects, and its beneficial effects are similar, so they will not be repeated here.

[0080] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the method described in any of the first aspects.

[0081] The computer program product provided in the embodiments of this application can execute the technical solutions described in any of the first aspects, and its beneficial effects are similar, so they will not be described again here.

[0082] The task processing method and computing device provided in this application embodiment can shorten task processing time and improve task processing efficiency by improving the efficiency and accuracy of task processing flow generation. Attached Figure Description

[0083] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0084] Figure 1 A schematic diagram of a system architecture provided for an embodiment of this application;

[0085] Figure 2 One of the flowcharts of the task processing method provided in the embodiments of this application;

[0086] Figure 3 A second schematic flowchart illustrating the task processing method provided in this application embodiment;

[0087] Figure 4 The third flowchart illustrating the task processing method provided in this application embodiment;

[0088] Figure 5 The fourth flowchart illustrating the task processing method provided in this application embodiment;

[0089] Figure 6 Fifth flowchart illustrating the task processing method provided in the embodiments of this application;

[0090] Figure 7 This is a schematic diagram of the structure of a task processing device provided in an embodiment of this application;

[0091] Figure 8 This is a schematic diagram of the hardware structure of a computing device provided in an embodiment of this application. Detailed Implementation

[0092] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with those of this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the embodiments of this application as detailed in the appended claims.

[0093] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, it does not mean that the applicant has used or necessarily used the solution.

[0094] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of related data must comply with relevant laws, regulations and standards, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0095] It should be noted that in the embodiments of this application, the term "at least one" refers to one or more, and "more than one" refers to two or more.

[0096] To facilitate understanding of the task processing method provided in the embodiments of this application, the system architecture involved in the embodiments of this application will first be introduced.

[0097] Figure 1 Please refer to the schematic diagram of a system architecture provided in this application embodiment. Figure 1 In task processing scenarios, computing devices can deploy a task-to-do module, a task Q&A system module, a knowledge base module, and a task execution module. The following is a detailed explanation of these modules.

[0098] 1. To-do Task Module

[0099] The to-do task module can be used to collect, assign, and record tasks.

[0100] In some embodiments, the to-do task module can be used to obtain a task sent by the system, determine the terminal to process the task, and send the task to the terminal.

[0101] For example, the system can be an intelligent computing center infrastructure operation and maintenance system or an intelligent computing platform. The terminal can be a laptop, desktop computer, foldable computer, tablet computer, smartphone, smartwatch, etc., corresponding to the business personnel handling the task.

[0102] Optionally, the to-do task module may include an operations task module and an operations and maintenance task module, wherein the operations task module is used to collect, allocate, and record operations tasks, and the operations and maintenance task module is used to collect, allocate, and record operations and maintenance tasks.

[0103] Maintenance tasks can originate from various maintenance events of the system, while operational tasks can originate from various operational needs of the system.

[0104] In some embodiments, the operation task module can be used to obtain an operation task sent by the system, determine the terminal to handle the operation task, and send the operation task to the terminal. The maintenance task module can be used to obtain a maintenance task sent by the system, determine the terminal to handle the maintenance task, and send the maintenance task to the terminal.

[0105] 2. Task Q&A System Module

[0106] The task-based question-and-answer system module can be used to interact with the terminal.

[0107] The task question-and-answer system module may include an artificial intelligence (AI) interaction component, through which the task question-and-answer system module can interact with the terminal.

[0108] The AI ​​interaction component can be used to: obtain a task processing request sent by a terminal; determine the task type and task parameters based on the task processing request; determine a first processing flow based on the task type and task parameters, the first processing flow being used to process the task; and send the first processing flow to the terminal.

[0109] The first processing flow may include multiple first subtasks and the execution order of the multiple first subtasks.

[0110] Each first subtask can be viewed as an indivisible smallest unit of work, meaning that any two first subtasks are independent of each other.

[0111] Understandably, operational or maintenance tasks typically involve multiple subtasks. These subtasks have a specific execution order, and based on this order, they can be grouped into a processing flow. For example, with two subtasks, they can be executed in parallel; or one subtask can be executed before the other; or one subtask can be executed after the other.

[0112] It should be noted that in some embodiments, "subtask" can be replaced with terms such as "atomic task," "step," or "action"; "processing flow" can be replaced with terms such as "workflow," "solution," or "task combination."

[0113] In some embodiments, the AI ​​interaction component can interact with the knowledge base module to determine a first processing flow.

[0114] 3. Knowledge Base Module

[0115] The knowledge base module can be used to interact with the task question-and-answer system module (or AI interaction component).

[0116] The knowledge base module may include: a task registration machine, a processing flow registration machine, and a task model.

[0117] It should be noted that in some embodiments, the "task registration machine" may also be called the "atomic task registration machine," and the "processing flow registration machine" may also be called the "pre-built solution registration machine."

[0118] (1) Task Registration Machine

[0119] The task registration generator can be used to provide registration and management functions for subtasks.

[0120] The task registration machine can store registration information for multiple subtasks and perform management operations such as adding, updating, deleting, or querying the registration information of these subtasks.

[0121] For example, the registration information for each subtask may include multiple task parameters for that subtask. These multiple task parameters may include: the subtask's identifier, the subtask's input and output parameters, the subtask's resource requirements (e.g., processor and memory specifications) and constraints (e.g., processing time thresholds), the subtask's version information, the subtask's execution priority, and the identifiers of the associated subtasks.

[0122] Optionally, the information set consisting of the registration information of multiple subtasks stored in the task registration machine can be called the "subtask library". The subtask library can include the task parameters of multiple subtasks and the dependencies between multiple subtasks.

[0123] (2) Processing flow registration machine

[0124] The process registration generator can be used to provide registration and management functions for process templates.

[0125] The process registration machine can store registration information for multiple process templates and perform management operations such as adding, updating, deleting, or querying the registration information of these multiple process templates.

[0126] For example, the registration information for each processing flow template may include the identifier of the processing flow template, the task type corresponding to the processing flow template, the identifiers of the multiple subtasks involved in the processing flow template, the reference parameters corresponding to the identifier of each subtask, and the execution order among these multiple subtasks.

[0127] Optionally, the information collection consisting of registration information of multiple processing process templates stored in the processing process registration machine can be called a "process template library". The process template library can include multiple task types and process templates corresponding to each task type.

[0128] (3) Task Model

[0129] The task model can obtain the call request of the AI ​​interaction component. The call request can include the task type and task parameters. The call request can be used to request the task model to generate the corresponding processing flow based on the task type and task parameters.

[0130] The task model can provide an external API, through which the AI ​​interaction component can send a request to the task model. The task model can then generate a corresponding processing flow based on the task type and parameters in the request, and send this processing flow to the AI ​​interaction component through the API.

[0131] 4. Task Execution Module

[0132] The task execution module can be used to provide functions such as starting, stopping, and querying the processing flow.

[0133] The task execution module can interact with the task question-and-answer system module (or AI interaction component). The task question-and-answer system module (or AI interaction component) can send a start command for the processing flow to the task execution module, which can then execute the processing flow based on the start command. Alternatively, the task execution module can also receive a stop command for the processing flow from the task question-and-answer system module (or AI interaction component) and stop executing the processing flow accordingly. Alternatively, the task execution module can also receive a query command for the processing flow from the task question-and-answer system module (or AI interaction component) and send the execution progress information of the processing flow to the task question-and-answer system module (or AI interaction component) based on the query command.

[0134] The task execution module may include one or more task processing engines. For example, the task processing engine may include, but is not limited to, Argo Workflows or Tekton.

[0135] It should be noted that in some embodiments, "task execution module" can be used interchangeably with terms such as "workflow execution module" or "workflow execution engine module", and "task processing engine" can also be called "workflow engine".

[0136] It should be noted that the computing device in this application embodiment can be a standalone physical server, or it can be a server cluster composed of multiple physical servers. Architecturally, the physical server can be a rack server, a high-density server, a tower server, or a full-rack server; functionally, the physical server can be a general-purpose server or an artificial intelligence (AI) server, etc.

[0137] The computing device provided in this application embodiment can be applied to task processing scenarios, such as operational or maintenance task processing scenarios in intelligent computing centers. This computing device can distribute and process multiple tasks from the system through a task-to-do module to improve task distribution efficiency. For example, the task-to-do module can quickly distribute collected system tasks to the terminals of the corresponding business personnel. The computing device can also provide a task question-and-answer system module, a knowledge base module, and a task execution module. The task question-and-answer system module can cooperate with the knowledge base module to automatically generate task processing flows, allowing business personnel to obtain the task processing flow through interaction with the task question-and-answer system module on their terminals. This eliminates the need for manual intervention, simplifying the steps for business personnel to obtain the processing flow, reducing technical requirements, and avoiding errors in process determination. This allows business personnel to achieve "zero thinking" and "zero waiting," improving the efficiency and convenience of obtaining processing flows. Furthermore, the terminal can also interact with the task execution module through the task question-and-answer system module to quickly execute the processing flow, further improving task processing efficiency.

[0138] This application provides a task processing method, which can be applied to... Figure 1 In the computing device shown, the computing device can receive task processing requests sent by a terminal; determine the task type and task parameters based on the task processing request; determine a first processing flow based on the task type and task parameters, the first processing flow can be used to process the task; and send the first processing flow to the terminal. In this method, business personnel can quickly obtain the task processing flow through interaction between the terminal and the computing device, without requiring manual intervention. This simplifies the steps for business personnel to obtain the processing flow, reduces the technical requirements for business personnel, avoids cross-departmental and cross-organizational communication and coordination processes involving people with different professional knowledge backgrounds, saves time, and also avoids errors in determining the processing flow, improving the efficiency and accuracy of task processing flow generation, thereby shortening task processing time and improving task processing efficiency.

[0139] For example, in an operations and maintenance scenario, if an alarm operation and maintenance task occurs, business personnel need to handle it immediately. The task handling method provided in this application embodiment allows business personnel to interact with computing devices via terminals to quickly determine the processing flow of the alarm operation and maintenance task, which helps improve the timeliness of resolving alarm operation and maintenance tasks.

[0140] The technical solutions of this application will be described in detail below with reference to specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.

[0141] Figure 2 This is one of the flowcharts illustrating the task processing method provided in this application embodiment. Please refer to... Figure 2 The method may include the following steps:

[0142] S201, Receive task processing request sent by terminal.

[0143] Task processing requests can be used to request the processing flow of a task.

[0144] The task processing request may include the terminal identifier and the task description information.

[0145] For example, the identifier of a terminal may include the terminal's Internet Protocol (IP) address.

[0146] The description information may include: task identifier (ID), task type, task priority, task resource requirements, input parameters, output parameters, and constraints.

[0147] A task may consist of multiple first subtasks. The task identifier may include the identifier of the task and the identifier of each first subtask. The task identifier (or the identifier of the first subtask) may include, but is not limited to, at least one of the following: the Chinese name of the task (or the first subtask), the Chinese name and English name of the task (or the first subtask), and the index of the task (or the first subtask).

[0148] Task types can be associated with task scenarios. For example, task scenarios can include maintenance scenarios and operational scenarios, and task types can include maintenance task types and operational task types. Maintenance task types (or operational task types) can also be divided into more subtypes based on the different maintenance objects (or operational objects). For example, maintenance task types can be divided into: page maintenance task types, port maintenance task types, or database maintenance task types.

[0149] The task resource requirement information may also include the task resource requirement information required for each first subtask, which may include the hardware resource information and software resource information required to execute each first subtask.

[0150] The input parameters of a task can include the input parameters of each of the multiple first subtasks, and similarly, the output parameters of a task can include the output parameters of each of the first subtasks.

[0151] The constraints of a task may include constraints for each first subtask, such as maximum processing time and maximum number of reconnections.

[0152] This step can be performed by Figure 1 The AI ​​interaction component in the computing device interacts with the terminal to execute tasks. The terminal can display an AI interaction interface, through which business personnel can input task description information. The terminal can then generate a task processing request based on the task description information and send the task processing request to the AI ​​interaction component in the computing device.

[0153] S202. Based on the task processing request, determine the task type and task parameters.

[0154] In some embodiments, the task type and task parameters can be determined based on the task description information in the task processing request.

[0155] This step can be performed by Figure 1 The AI ​​interaction component in the computing device executes the task. The AI ​​interaction component can pre-store multiple task types, and the task type can be one of these multiple task types. For example, the AI ​​interaction component can store operation task 1 to operation task m and maintenance task 1 to maintenance task n, and the task type can be operation task 3.

[0156] The task description can be textual information in natural language. In this case, the AI ​​interaction component can use semantic parsing tools to parse the description information and obtain the task type and task parameters.

[0157] The task parameters of a task may include the task parameters of each first subtask that makes up the task. The task parameters of each first subtask may include: task identifier, input parameters, and output parameters. In some embodiments, the task parameters may also include task resource requirement information and constraints.

[0158] S203. Determine the first processing flow based on the task type and task parameters.

[0159] The first processing flow can be used to process tasks. The first processing flow may include multiple first subtasks and the execution order among the multiple first subtasks.

[0160] For example, the first subtask can be a task executed by a shell script, or it can be an application programming interface (API) provided by the system.

[0161] Taking any two first subtasks as an example, the execution order of these two first subtasks can be as follows: the two first subtasks can be executed in parallel; or, one first subtask can be executed before the other first subtask; or, one first subtask can be executed after the other first subtask.

[0162] In some embodiments, the computing device (or AI interaction component) may perform the following process to determine the first processing flow: sending a call request to the task model according to the call interface of the task model, the call request may include the task type and task parameters of the task; receiving the first processing flow sent by the task model based on the call interface, the first processing flow may be determined by the task model based on the task type and task parameters of the task.

[0163] The AI ​​interaction component can pre-store the calling interface of the task model, so that the task model can be called.

[0164] Optionally, the call request may also include the model name and version number of the task model being called, as well as the format of the first processing flow returned by the task model.

[0165] In some embodiments, the task model may also return a first processing flow and a description of the first processing flow to the AI ​​interaction component based on the API call interface. The description of the first processing flow can be used to explain why the first processing flow was generated for the task and how the first processing flow was generated.

[0166] It should be noted that the process of determining the first processing flow based on the task type and task parameters of the task model will be... Figure 3 Detailed explanation is provided in the embodiments.

[0167] In this method, AI interaction components interact with the terminal and the task model respectively, which decouples the interaction process between the terminal and the computing device and the process by which the computing device determines the task processing flow, so as to avoid mutual interference between the two processes.

[0168] S204. Send the first processing procedure to the terminal.

[0169] The terminal can receive the first processing flow and display it in the AI ​​interactive interface. Business personnel can update the first processing flow through the terminal in the AI ​​interactive interface.

[0170] In the task processing method provided in this application embodiment, business personnel can quickly obtain the task processing flow by interacting with the computing device through the terminal. There is no need for business personnel to obtain the task processing flow through manual intervention. This helps to simplify the operation steps for business personnel to obtain the processing flow, reduce the technical requirements for business personnel, avoid the error rate of business personnel in determining the processing flow, and improve the task processing efficiency.

[0171] The task processing method provided in this application embodiment can determine the first processing flow corresponding to the task based on the task type and task parameters. Below, in conjunction with... Figure 3 and Figure 4 The process will be explained in detail.

[0172] Figure 3 This is a second schematic flowchart illustrating the task processing method provided in this application's embodiments. Please refer to... Figure 3 The method may include the following steps:

[0173] S301. Based on the task type, determine whether there is a first process template corresponding to the task in the process template library.

[0174] The process template library can include multiple task types and corresponding process templates for each task type.

[0175] It should be noted that before executing step S301, the task model also needs to obtain the process template library. The process of the task model obtaining the process template library will be... Figure 5 Detailed explanation is provided in the embodiments.

[0176] If multiple task types include the task type of this task, it can be determined that a first process template corresponding to this task exists; if multiple task types do not include the task type of this task, it can be determined that a first process template corresponding to this task does not exist.

[0177] It should be noted that if a first process template exists in the process template library, the task model can continue to execute step S302; if a first process template does not exist in the process template library, the process of the task model obtaining the first processing flow will be... Figure 4 Detailed explanation is provided in the embodiments.

[0178] Each process template may include reference parameters for multiple subtasks. The reference parameters for each subtask may include: task identifier, input parameters, and output parameters. In some embodiments, the reference parameters for each subtask may also include task resource requirements and constraints.

[0179] S302. If a first process template exists in the process template library, determine the first processing flow based on the task parameters and the first process template.

[0180] In some embodiments, the number of first process templates can be one or more.

[0181] When there is only one first process template, the task model can update the parameter values ​​of the reference parameters in the first process template to the parameter values ​​of the task parameters, thus obtaining the first processing flow.

[0182] When there are multiple first process templates, the task model can obtain the first processing flow by the following steps: determine the reference parameters in each of the multiple first process templates; determine the second process template among the multiple first process templates based on the task parameters and the reference parameters in each first process template, where the reference parameters in the second process template have the highest matching degree with the task parameters; determine the first processing flow based on the task parameters and the second process template.

[0183] Optionally, the task model can update the parameter values ​​of the reference parameters in the second process template to the parameter values ​​of the task parameters to obtain the first processing flow.

[0184] In this task processing method, when there are multiple first process templates, the task model can select a second process template that has a higher matching degree with the task from among the multiple first process templates, which is beneficial to improving the accuracy of the generated first processing flow.

[0185] For example, assuming that the task type of task 1 is operation task type 1, the first process template corresponding to operation task type 1 can be as shown in Table 1.

[0186] Table 1

[0187]

[0188] If the task parameters of Task 1 include task identifier, input parameters, and output parameters, the first process template 1 in Table 1 can be determined as the second process template; if the task parameters of Task 1 include task identifier, input parameters, output parameters, task resource requirement information, and constraints, the first process template 2 in Table 1 can be determined as the second process template.

[0189] In the task processing method provided in the embodiments of this application, the task model can determine the first process template of the task in the process template library based on the task type of the task, and assemble the first processing flow according to the task parameters and the first process template, which is beneficial to improving the efficiency of the task model in obtaining the first processing flow.

[0190] In this embodiment, the task model can be an AI model, which can use machine learning algorithms to process the task parameters to obtain the task processing flow. Below, in conjunction with... Figure 4 This paper explains the process by which the task model determines the first processing flow based on the task parameters.

[0191] Figure 4 This is the third flowchart illustrating the task processing method provided in this application's embodiments. Please refer to... Figure 4 The method may include the following steps:

[0192] S401. Based on the task parameters of the task, determine the task parameters of each of the multiple first subtasks involved in the task, as well as the dependencies between the multiple first subtasks.

[0193] The task parameters of a task can include identifiers for multiple subtasks. The task model can determine the multiple subtasks involved in the task based on these identifiers. The task model can also determine the task parameters of multiple subtasks and the dependencies between them based on the subtask library.

[0194] In some embodiments, the task parameters of a task may include the identifiers, input parameters, and output parameters of multiple subtasks. The task model can determine the dependencies between multiple subtasks based on the input and output parameters of each subtask.

[0195] The task model can be an AI model, which can have autonomous learning capabilities and fuzzy recognition capabilities. For example, suppose there are 3 subtasks. If the input parameters of subtask 3 include the output parameters of subtask 1 and subtask 2, and the input parameters of subtask 1 and subtask 2 are unrelated, then it can be determined that subtask 3 depends on subtask 2 and subtask 1, but there is no dependency between subtask 1 and subtask 2.

[0196] S402. Determine the execution order among multiple first subtasks based on dependencies.

[0197] For any two subtasks in a set of subtasks: subtask 1 and subtask 2, if subtask 1 depends on subtask 2, then subtask 2 can be executed before subtask 1; if subtask 1 and subtask 2 do not have a dependency relationship, then subtask 1 can be executed in parallel with subtask 2, or subtask 1 can be executed before subtask 2, or subtask 1 can be executed after subtask 2.

[0198] S403. Determine the first processing flow based on the task parameters and execution order of each of the multiple first subtasks.

[0199] In some embodiments, the task model can automatically generate a first processing flow based on the task parameters and execution order of each subtask in multiple subtasks using a process generation tool.

[0200] The task processing method provided in this application embodiment can also adaptively generate the first processing flow of a task based on the task parameters by means of the task model's self-learning ability and fuzzy recognition ability when there is no first process template corresponding to the task, which is beneficial to improving the reliability of obtaining the first processing flow.

[0201] It is understandable that the autonomous learning ability and fuzzy recognition ability of the task model vary in different scenarios. In the embodiments of this application, before performing the above steps S401 to S403 using the task model, the method may further include the following steps: acquiring historical processing data of multiple historical tasks, which may include the task identifier, task type and processing flow of the historical tasks; the historical processing data may be used to train the initial model to obtain the task model.

[0202] For example, the initial model can be any AI model used for data processing. In an operations and maintenance scenario, historical processing data from multiple historical operations and maintenance tasks can be obtained, and the initial model can be trained using this historical processing data to obtain a task model adapted to the operations and maintenance scenario.

[0203] The above method also involves the process of obtaining the process template library from the task model. Below, we will combine this with... Figure 5 The process will be explained in detail.

[0204] Figure 5 This is the fourth flowchart illustrating the task processing method provided in this application's embodiments. Please refer to... Figure 5 The method may include the following steps:

[0205] S501, Obtain historical processing data.

[0206] Historical processing data can be obtained from processing multiple historical tasks.

[0207] For example, in the scenario of an intelligent computing center, historical tasks may include historical maintenance tasks and / or historical operation tasks.

[0208] Historical processing data can be obtained by business personnel through manual intervention in the processing of historical tasks, or it can be obtained by the task model in the process of processing historical tasks.

[0209] S502. Based on historical processing data, determine multiple task types and multiple second sub-tasks corresponding to each task type.

[0210] Historical processing data can include the task type of historical tasks and multiple sub-tasks corresponding to each historical task.

[0211] In some embodiments, the task model can intelligently parse and process the historical processing data of each historical task to extract the task type of each historical task and multiple sub-tasks corresponding to each historical task from the historical processing data of each historical task.

[0212] S503. For any task type, based on the multiple second subtasks corresponding to the task type, determine the task parameters of the multiple second subtasks and the dependencies between the multiple second subtasks based on the subtask library, and determine the process template corresponding to the task type based on the task parameters of the multiple second subtasks and the dependencies between the multiple second subtasks.

[0213] The subtask library includes task parameters for multiple subtasks and dependencies between them.

[0214] Before executing step S503, the subtask library can also be generated in advance in the following way: obtain the task execution files of multiple subtasks, and each subtask's task execution file is used to execute each subtask; determine the task parameters of multiple subtasks and the dependencies between multiple subtasks based on the task execution files of multiple subtasks; generate the subtask library based on the task parameters of multiple subtasks and the dependencies between multiple subtasks.

[0215] In some embodiments, historical processing data can be obtained, and task execution files for multiple subtasks can be obtained based on the historical processing data.

[0216] The task execution file may include task identifier, task type, task priority, task resource requirements, input parameters, output parameters, constraints, and dependency information. The dependency information of subtasks can be used to indicate subtasks that have a dependency relationship with this subtask.

[0217] For example, the task execution file can be a shell script or an API swagger document.

[0218] In some embodiments, each subtask can be registered in the task registration machine based on its task execution file. The registration process for each subtask may include attribute annotation, which refers to annotating task parameters (or task attribute information) for each subtask. For example, the subtask could be a task executed by a shell script during historical task processing or an API provided by the intelligent computing platform.

[0219] Understandably, to improve processing efficiency, computing devices can import multiple historical subtasks into the task registration machine in batches and register each historical subtask. For example, the API swagger document of the intelligent computing platform can be used to indicate multiple APIs provided by the platform. The computing device can import the API swagger document of the intelligent computing platform into the task registration machine so that the task registration machine can register multiple APIs in the API swagger document in batches.

[0220] For any given task type, the execution order of the multiple second subtasks corresponding to that task type can be determined based on their dependencies. Then, based on the task parameters and execution order of the multiple second subtasks, a process template generation tool can be used to automatically generate process templates for each task type.

[0221] In this task processing method, the task execution files of multiple subtasks in the historical processing can be obtained, and a subtask library can be generated in advance based on these multiple subtask task execution files, so that the subtask library can be called later to quickly generate the task processing flow.

[0222] S504. Generate a process template library based on multiple task types and the corresponding process templates for each task type.

[0223] In some embodiments, after generating the process templates corresponding to each task type, the process templates corresponding to each task type can be registered in the process registration machine.

[0224] The task processing method provided in this application embodiment can generate a process template library in advance based on historical processing data and a pre-generated sub-task library. This allows the task model to quickly determine the first processing flow corresponding to the task based on the process template library, the task request, and the task parameters, which helps improve the efficiency of the task model in obtaining the first processing flow.

[0225] Figure 6 This is the fifth flowchart illustrating the task processing method provided in the embodiments of this application. Please refer to... Figure 6 The method may include the following steps:

[0226] S601, The terminal sends a task processing request to the computing device.

[0227] Task processing requests can be used to request the processing flow of a task.

[0228] S602. The computing device determines the task type and task parameters based on the task processing request.

[0229] S603. The computing device determines the first processing flow based on the task type and task parameters.

[0230] S604, The computing device sends the first processing flow to the terminal.

[0231] It should be noted that the specific execution process of steps S601 to S604 can be referred to the specific execution process of steps S201 to S204, and will not be repeated here.

[0232] After receiving the first processing flow, the terminal can display the first processing flow in the AI ​​interactive interface. Business personnel can review the first processing flow displayed in the AI ​​interactive interface. If it is determined that the first processing flow does not need to be modified, the business task can send the first execution instruction to the computing device through the terminal. If it is determined that the first processing flow needs to be modified, the business personnel can update the first processing flow through the terminal to obtain the second processing flow, and send the second execution instruction to the computing device through the terminal.

[0233] In other words, after step S604 is executed, there are two ways for the terminal and the computing device to interact. One way can include steps S605 and S606, and the other way can include steps S607 to S609.

[0234] S605, The terminal sends the first execution instruction to the computing device.

[0235] The first execution instruction can be used to instruct the task to be processed through the first processing flow.

[0236] S606. The computing device invokes the task processing engine to execute the first processing flow according to the first execution instruction.

[0237] The computing device (or AI interaction component) can send a start command to the task processing engine in the task execution module according to the first execution command. The start command may include a first processing flow. The task processing engine can respond to the start command and execute the first processing flow.

[0238] In this task processing method, the computing device can also automatically execute the first processing flow by calling the task processing engine according to the first execution instruction sent by the terminal. This eliminates the need for business personnel to manually execute the first processing flow, which helps to avoid errors made by business personnel during the manual execution of the first processing flow, improves the execution efficiency of the first processing flow, and thus improves the task processing efficiency.

[0239] S607. The terminal updates the first processing flow to obtain the second processing flow.

[0240] In other words, the second processing flow can be obtained by updating the first processing flow from the terminal.

[0241] S608, The terminal sends a second execution instruction to the computing device.

[0242] The second execution instruction can be used to instruct the task to be processed through the second processing flow.

[0243] S609. The computing device invokes the task processing engine to execute the second processing flow according to the second execution instruction.

[0244] It should be noted that the specific execution process of step S609 can be referred to the specific execution process of step S606, and will not be repeated here.

[0245] In this task processing method, the computing device can also call the task processing engine to automatically execute the second processing flow according to the second execution instruction sent by the terminal. This eliminates the need for business personnel to manually execute the second processing flow, which helps to avoid errors made by business personnel during the manual execution of the second processing flow, improves the execution efficiency of the second processing flow, and thus improves the task processing efficiency.

[0246] In some embodiments, during the execution of the first processing flow by invoking the task processing engine, the interaction between the terminal and the computing device may further include the following steps:

[0247] S610, the terminal sends control commands to the computing device.

[0248] Control commands can be used to instruct the first processing flow to stop.

[0249] Similarly, during the process of the computing device calling the task engine to execute the second processing flow, the terminal can also send a second control command to the computing device, which can be used to instruct the computing device to stop executing the second processing flow.

[0250] S611, The computing device controls the task processing engine to stop executing the first processing flow based on control commands.

[0251] Similarly, during the process of the computing device calling the task engine to execute the second processing flow, the computing device can also control the task processing engine to stop executing the second processing flow based on the second control command sent by the terminal.

[0252] In this task processing method, business personnel can interact with the computing device through the terminal according to their own business needs to stop the execution of the first processing flow or the second processing flow, so that business personnel can conveniently control the task execution process.

[0253] S612, The terminal sends a query command to the computing device.

[0254] The query command can be used to instruct the retrieval of the execution progress information of the first processing step.

[0255] Similarly, during the process of the computing device calling the task engine to execute the second processing flow, the terminal can also send a second query instruction to the computing device, which can be used to instruct the computing device to obtain the execution progress information of the first processing flow.

[0256] The execution progress information may include the execution status, execution start time, execution end time, execution duration, remaining execution duration, and execution result of multiple subtasks in the first processing flow. The execution status can be executed or not executed.

[0257] S613. The computing device obtains the execution progress information of the task processing engine for the first processing flow based on the query command.

[0258] Similarly, during the process of the computing device calling the task engine to execute the second processing flow, the computing device can also obtain the execution progress information of the task processing engine for the first processing flow based on the second query command sent by the terminal.

[0259] S614. The computing device sends the execution progress information of the first processing flow to the terminal.

[0260] Similarly, during the process of the computing device calling the task engine to execute the second processing flow, the computing device can also send the execution progress information of the second processing flow to the terminal.

[0261] In this task processing method, business personnel can interact with computing devices through terminals to query task execution progress information, so that they can understand the task execution progress in a timely manner.

[0262] Figure 7 For a schematic diagram of a task processing device provided in an embodiment of this application, please refer to [link / reference]. Figure 7 The task processing device 10 may include:

[0263] The transceiver module 11 is used to receive task processing requests sent by the terminal. The task processing request is used to request the processing flow of the task.

[0264] Processing module 12 is used to determine the task type and task parameters based on the task processing request;

[0265] Processing module 12 is also used to determine a first processing flow based on the task type and task parameters of the task. The first processing flow is used to process the task and includes multiple first sub-tasks and the execution order between the multiple first sub-tasks.

[0266] The transceiver module 11 is also used to send the first processing flow to the terminal.

[0267] The task processing apparatus provided in this application embodiment can execute the technical solutions in the task processing method described above, and its beneficial effects are similar, so they will not be repeated here.

[0268] In one possible implementation, the processing module 12 is specifically used for:

[0269] Based on the task type, determine whether there is a first process template corresponding to the task in the process template library. The process template library includes multiple task types and process templates corresponding to each task type.

[0270] If a first process template exists in the process template library, the first processing flow is determined based on the task parameters and the first process template.

[0271] In one possible implementation, the number of first process templates is multiple; the processing module 12 is further configured to:

[0272] Based on the task parameters and the reference parameters in each first process template, a second process template is determined from multiple first process templates, where the reference parameters in the second process template have the highest matching degree with the task parameters.

[0273] Based on the task parameters and the second process template, determine the first processing flow.

[0274] In one possible implementation, before determining whether a first process template corresponding to a task exists in the process template library based on the task type, the transceiver module 11 is further configured to acquire historical processing data, which is obtained during the processing of multiple historical tasks.

[0275] The processing module 12 is further configured to: determine multiple task types and multiple second subtasks corresponding to each task type based on historical processing data; for any task type, determine the task parameters of multiple second subtasks and the dependencies between multiple second subtasks based on the multiple second subtasks corresponding to the task type, and determine the process template corresponding to the task type based on the task parameters of multiple second subtasks and the dependencies between multiple second subtasks, wherein the subtask library includes the task parameters of multiple subtasks and the dependencies between multiple subtasks, and the multiple subtasks include multiple second subtasks; and generate a process template library based on the multiple task types and the process template corresponding to each task type.

[0276] In one possible implementation, before determining the task parameters of multiple second subtasks and the dependencies between multiple second subtasks based on the subtask library, the transceiver module 11 is further configured to obtain the task execution files of multiple subtasks, and the task execution files of each subtask are used to execute each subtask.

[0277] The processing module 12 is also used to determine the task parameters of the multiple subtasks and the dependencies between the multiple subtasks based on the task execution files of the multiple subtasks; and to generate a subtask library based on the task parameters of the multiple subtasks and the dependencies between the multiple subtasks.

[0278] In one possible implementation, if the first process template is not present in the process template library, the processing module 12 is further configured to:

[0279] Based on the task parameters of the task, determine the task parameters of each of the multiple first subtasks involved in the task, as well as the dependencies between the multiple first subtasks;

[0280] The execution order among multiple first subtasks is determined based on dependencies;

[0281] The first processing flow is determined based on the task parameters and execution order of each of the multiple first subtasks.

[0282] In one possible implementation, after sending the first processing flow to the terminal, the transceiver module 11 is further configured to receive a first execution instruction sent by the terminal, the first execution instruction being used to instruct the task to be processed based on the first processing flow.

[0283] The processing module 12 is also used to call the task processing engine to execute the first processing flow according to the first execution instruction.

[0284] In one possible implementation, after sending the first processing flow to the terminal, the transceiver module 11 is further configured to receive a second execution instruction sent by the terminal, the second execution instruction being used to instruct the task to be processed based on the second processing flow, the second processing flow being obtained by the terminal updating the first processing flow.

[0285] The processing module 12 is also used to call the task processing engine to execute the second processing flow according to the second execution instruction.

[0286] In one possible implementation, the transceiver module 11 is further configured to receive control commands sent by the terminal, and control the task processing engine to stop executing the first processing flow based on the control commands; and / or,

[0287] The system receives query commands sent by the terminal, obtains the execution progress information of the task processing engine for the first processing flow based on the query commands, and sends the execution progress information to the terminal.

[0288] Figure 8 This is a schematic diagram of the hardware structure of a computing device provided in an embodiment of this application. Please refer to [link / reference]. Figure 8 The computing device 20 can be the computing device in the above method embodiments. The computing device 20 may include a processor 21 and a memory 22, which are coupled together. The processor 21 and the memory 22 can communicate; for example, the processor 21 and the memory 22 communicate via a communication bus 23.

[0289] Memory 22 is used to store program instructions;

[0290] The processor 21 is used to execute program instructions to perform the technical solution as shown in the above method embodiments.

[0291] Optionally, the aforementioned processor can be a CPU, or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of this application can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0292] This application provides a computer-readable storage medium storing computer-executable instructions; when executed by a processor, the computer-executable instructions are used to implement the task processing method shown in the above embodiments.

[0293] This application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it causes the computer to perform the task processing method shown in the above embodiments.

[0294] All or part of the steps in the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, it performs the steps of the above-described method embodiments; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disk, and any combination thereof.

[0295] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, special-purpose computer, embedded processor, or other programmable device to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable device, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0296] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0297] These computer program instructions may also be loaded onto a computer or other programmable device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable device for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0298] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of this application, and are not intended to limit them. Although the embodiments of this application have been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. A task processing method, characterized in that, The method includes: The receiving terminal sends a task processing request, which is used to request the processing flow of the task. Based on the task processing request, determine the task type and task parameters of the task; Based on the task type and task parameters of the task, a first processing flow is determined. The first processing flow is used to process the task. The first processing flow includes multiple first sub-tasks and the execution order of the multiple first sub-tasks. The first processing flow is sent to the terminal.

2. The method according to claim 1, characterized in that, Based on the task type and task parameters, a first processing flow is determined, including: Based on the task type of the task, determine whether there is a first process template corresponding to the task in the process template library. The process template library includes multiple task types and process templates corresponding to each task type. If the first process template exists in the process template library, the first processing flow is determined based on the task parameters of the task and the first process template.

3. The method according to claim 2, characterized in that, The number of the first process templates is multiple; the first processing flow is determined based on the task parameters of the task and the first process templates, including: Based on the task parameters of the task and the reference parameters in each first process template, a second process template is determined from multiple first process templates, wherein the reference parameters in the second process template have the highest matching degree with the task parameters of the task. The first processing flow is determined based on the task parameters of the task and the second process template.

4. The method according to claim 2 or 3, characterized in that, Before determining whether a first process template corresponding to the task exists in the process template library based on the task type, the method further includes: Acquire historical processing data, which is obtained during the processing of multiple historical tasks; Based on the historical processing data, multiple task types and multiple second sub-tasks corresponding to each task type are determined; For any task type, based on the multiple second subtasks corresponding to the task type, the task parameters of the multiple second subtasks and the dependencies between the multiple second subtasks are determined based on the subtask library, and based on the task parameters of the multiple second subtasks and the dependencies between the multiple second subtasks, the process template corresponding to the task type is determined. The subtask library includes the task parameters of multiple subtasks and the dependencies between the multiple subtasks, and the multiple subtasks include the multiple second subtasks. The process template library is generated based on the multiple task types and the process template corresponding to each task type.

5. The method according to claim 4, characterized in that, Before determining the task parameters of the plurality of second subtasks and the dependencies between the plurality of second subtasks based on the subtask library, the method further includes: Obtain task execution files for multiple subtasks, and each subtask's task execution file is used to execute the respective subtask; Based on the task execution files of the multiple subtasks, determine the task parameters of the multiple subtasks and the dependencies between the multiple subtasks; The subtask library is generated based on the task parameters of the multiple subtasks and the dependencies between the multiple subtasks.

6. The method according to any one of claims 2-5, characterized in that, If the first process template does not exist in the process template library, the method further includes: Based on the task parameters of the task, determine the task parameters of each of the multiple first subtasks involved in the task, as well as the dependencies between the multiple first subtasks; The execution order among the plurality of first subtasks is determined based on the aforementioned dependencies; The first processing flow is determined based on the task parameters of each of the plurality of first subtasks and the execution order.

7. The method according to any one of claims 1-6, characterized in that, After sending the first processing flow to the terminal, the method further includes: The terminal sends a first execution instruction, which instructs the task to be processed based on the first processing flow. According to the first execution instruction, the task processing engine is invoked to execute the first processing flow.

8. The method according to any one of claims 1-6, characterized in that, After sending the first processing flow to the terminal, the method further includes: The terminal receives a second execution instruction, which instructs the task to be processed based on a second processing flow, wherein the second processing flow is obtained by the terminal by updating the first processing flow. According to the second execution instruction, the task processing engine is invoked to execute the second processing flow.

9. The method according to any one of claims 1-8, characterized in that, The method further includes: Receive control commands sent by the terminal, and control the task processing engine to stop executing the first processing flow based on the control commands; and / or, The system receives a query command sent by the terminal, obtains the execution progress information of the task processing engine for the first processing flow based on the query command, and sends the execution progress information to the terminal.

10. A computing device, characterized in that, include: Processor and memory; The processor and the memory are coupled; The memory is used to store program instructions; The processor is used to execute the program instructions to implement the method as described in any one of claims 1 to 9.