Supercharge Your Innovation With Domain-Expert AI Agents!

Distributed work scheduling method and distributed workflow engine system

A workflow engine and job scheduling technology, applied in the communication field, can solve problems such as high performance, low processing performance of workflow engine, and impossibility

Pending Publication Date: 2022-01-07
MIGU CO LTD +1
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Because the workflow engines in the prior art use relational databases to store data, they are limited by database processing and cannot achieve higher performance, so the workflow engines in the prior art have the problem of low processing performance

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Distributed work scheduling method and distributed workflow engine system
  • Distributed work scheduling method and distributed workflow engine system
  • Distributed work scheduling method and distributed workflow engine system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] figure 1 It shows a schematic flow diagram of the distributed job scheduling method provided by Embodiment 1 of the present invention. The executive bodies of this embodiment are the workflow engine Broker and the worker Worker, which is applicable to such as Figure 7 and Figure 8 The distributed workflow engine system shown. Such as figure 1 As shown, the distributed work scheduling method includes:

[0026] Step S110, the Broker in the Broker cluster performs process scheduling and task release, so that each task in the process instance is executed by a unique Worker; wherein, the Broker cluster is divided into multiple logical partitions, and different logical partitions execute scheduling tasks of different process instances .

[0027] In this embodiment, according to different execution functions, the execution subject is divided into two roles, that is, the distributed workflow engine Broker and the worker Worker who executes user-defined logic. The relation...

Embodiment 2

[0080] Such as Figure 6 As shown, the distributed workflow engine system includes: a workflow engine Broker cluster 11 and a worker Worker12; wherein, the Broker cluster 11 is divided into multiple logical partitions, and each logical partition contains multiple Brokers. When the process is deployed All Brokers in the Broker cluster 11 load process definitions, Brokers in the same logical partition store the same process instance data, Brokers in different logical partitions store different process instance data, and different logical partitions execute scheduling tasks for different process instances; Among them, there may be multiple Worker12.

[0081] The Broker is used for process scheduling and task publishing, so that each task in the process instance is executed by a unique Worker12;

[0082] The Worker 12 is used to pull executable tasks from the Broker cluster 11, execute and return the execution result to the corresponding Broker, and drive the process to continue ...

Embodiment 3

[0101] Figure 7 A schematic structural diagram of a distributed workflow engine system provided by Embodiment 2 of the present invention is shown. This embodiment is a specific embodiment, such as Figure 7 As shown, according to different execution functions, the execution entity is divided into workflow engine Broker and worker Worker, and multiple workflow engine Brokers form a Broker cluster. Broker is only responsible for process scheduling and task release, so that each task in a process instance is executed by a unique Worker.

[0102] Among them, worker Worker includes two functional modules, user-defined logic components and distributed engine client extensions. Among them, distributed engine client extensions are used to implement client functions, and assist Broker to register workers through the client. Pull executable tasks from the middle, return task execution results (including task completion or task execution failure) to the Broker cluster, and user-define...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a distributed work scheduling method and a distributed workflow engine system. The distributed work scheduling method comprises the steps that a Broker in a workflow engine Broker cluster conducts process scheduling and task issuing, so that each task in a process instance is executed by a unique Worker, wherein the Broker cluster is divided into a plurality of logic partitions, and different logic partitions execute scheduling tasks of different process instances; and the Worker pulls an executable task from the Broker cluster, executes the executable task and returns an execution result to the corresponding Broker, and the process is driven to continue to be executed. By isolating workflow scheduling from execution entities of work tasks and using a partitioned Broker cluster architecture, horizontal expandability and reliability of performance are supported.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a distributed work scheduling method and a distributed workflow engine system. Background technique [0002] The orchestration of microservices requires the help of a workflow engine. [0003] Because the workflow engines in the prior art use relational databases to store data, they are limited by database processing and cannot achieve higher performance. Therefore, the workflow engines in the prior art have the problem of low processing performance. Contents of the invention [0004] In view of the above problems, embodiments of the present invention are proposed to provide a distributed job scheduling method and a distributed workflow engine system that overcome the above problems or at least partially solve the above problems. [0005] According to an embodiment of the present invention, a distributed work scheduling method is provided, including: [0006] The Broke...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/48G06F9/50G06F9/54G06F16/18
CPCG06F9/4881G06F9/5083G06F9/542G06F16/1815G06F9/5077
Inventor 王宏志周效军
Owner MIGU CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More