Multi-instance task execution method and device, terminal equipment and computer storage medium
An execution method and multi-instance technology, applied in the field of data processing, can solve the problems such as the inability to control the execution of multiple instances more flexibly, and the inability to meet user needs.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] refer to figure 1 , shows a flow chart of steps of a method for executing a multi-instance task according to Embodiment 1 of the present invention.
[0024] The execution method of the multi-instance task of the present embodiment comprises the following steps:
[0025] S102. Determine multiple instances corresponding to the multi-instance task, and divide the multiple instances into at least two batches, each batch including at least two instances.
[0026] The method provided in this embodiment can be applied to any workflow engine that supports multi-instance tasks, such as ActiveVOS, Activiti, jBPM, Windows Workflow Foundation and so on.
[0027] Specifically, a multi-instance task corresponds to multiple instances. For example, if a multi-instance task is to perform operation and maintenance operations on multiple clusters or a large number of machines, there is one instance for each cluster or each machine, and a multi-instance task corresponds to multiple insta...
Embodiment 2
[0035] refer to Figure 2a , shows a flow chart of steps of a method for executing a multi-instance task according to Embodiment 2 of the present invention.
[0036] S202. Predefine multi-instance tasks.
[0037] Specifically, it can be pre-defined by setting the elements of multi-instance tasks, such as Figure 2b For the activity element, the loopcharacteristics element, the multilnstanceloopcharacteristics element, etc., reference may be made to the prior art for specific methods of defining the elements, which will not be repeated in this embodiment.
[0038] In addition, in this embodiment, division rules may be defined in advance.
[0039] Specifically, a concurrency controller can be set in the workflow engine implementing this solution, such as Figure 2b As shown, you can define the element batchgenerator(>BatchGenerator) to determine the division of multiple instances into at least two batches through the concurrent controller, and define the specific division log...
Embodiment 3
[0068] refer to image 3 , shows a flow chart of steps of a method for executing a multi-instance task according to Embodiment 3 of the present invention.
[0069] The execution method of the multi-instance task of the present embodiment comprises the following steps:
[0070] S302. The user defines a workflow, and the workflow includes at least one multi-instance task.
[0071] In this embodiment, workflow refers to a series of interconnected business activities or tasks that are automatically executed in a computer application environment.
[0072] In this embodiment, the user can define a workflow in various ways, for example, it can be defined by using BPMN standard, it can be defined by custom XML / JSON, it can also be defined by state diagram or programming language, etc.
[0073] Taking the definition of workflow using the BPMN standard as an example, a workflow can be represented as a process (process), and a process can include elements such as event (ev...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com