Distributed workflow device and method for processing workflow by distributed workflow device
A workflow and distributed technology, applied in the computer field, can solve the problems of workflow system blocking, poor stability, inconvenient maintenance, etc., to achieve the effect of increasing throughput, increasing stability, and avoiding single points and bottlenecks
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0045] refer to figure 2 , which shows a structural block diagram of Embodiment 1 of a distributed workflow device of the present invention, which may specifically include: a master node 201 and a status node 202 in the cluster;
[0046] Wherein, the main node 201 is used to assign a corresponding state node 202 to the workflow definition submitted by the user; the workflow definition provides a task interface, and the task interface can be used to call the subsystem to execute the corresponding workflow task ;
[0047] The state node 202 can be used as a management scheduling node, compile the workflow definition into workflow tasks and corresponding task interfaces, and distribute the workflow tasks and corresponding task interfaces to corresponding state nodes;
[0048] The state node 202 can also be used as a task execution node to execute the workflow task according to invoking the corresponding subsystem through the task interface.
[0049] master node 201
[0050] I...
Embodiment 2
[0073] The distributed workflow device of Embodiment 2 is described above figure 2 On the basis of the illustrated embodiments, the following optional technical solutions may be further included.
[0074] The state node 202 in the second embodiment can also be used to send heartbeat information to the master node 201, and the heartbeat information can specifically include remaining available resources, execution status of workflow tasks, and execution status of managed and scheduled workflows One or more of the amount of resources required by the workflow and the amount of resources required by the workflow.
[0075] In the second embodiment, the state node 202 can regularly send heartbeat information to the master node 201, and the master node 201 can determine which state nodes 202 are alive according to the heartbeat information. information, the master node 201 may consider that the state node 202 is down, and will rearrange the workflow and / or workflow tasks to be execu...
Embodiment 3
[0083] The distributed workflow device of Embodiment 3 is described above figure 2 On the basis of the illustrated embodiments, the following optional technical solutions may be further included.
[0084]The distributed workflow device in Embodiment 3 may further include: a shared storage system;
[0085] Then the state node 202 is further configured to write a checkpoint into the shared storage system during the execution of the workflow task; wherein, the checkpoint may specifically include context information of the workflow task.
[0086] The status node 202 inevitably fails during the execution of the workflow task, and the traditional way to restore the workflow task is to execute the workflow task from the beginning on other status nodes 202. When complex workflow tasks are encountered , the practice of executing from scratch will undoubtedly take a lot of time.
[0087] In the third embodiment, the state node 202 can continuously write the checkpoints of the task op...
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