CN108776618A - Distributed workflow management method and device - Google Patents

Distributed workflow management method and device Download PDF

Info

Publication number
CN108776618A
CN108776618A CN201810667142.1A CN201810667142A CN108776618A CN 108776618 A CN108776618 A CN 108776618A CN 201810667142 A CN201810667142 A CN 201810667142A CN 108776618 A CN108776618 A CN 108776618A
Authority
CN
China
Prior art keywords
workflow
node
management node
task
main management
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810667142.1A
Other languages
Chinese (zh)
Inventor
陆凯杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Bi Zhi Technology Co Ltd
Original Assignee
Hangzhou Bi Zhi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Bi Zhi Technology Co Ltd filed Critical Hangzhou Bi Zhi Technology Co Ltd
Priority to CN201810667142.1A priority Critical patent/CN108776618A/en
Publication of CN108776618A publication Critical patent/CN108776618A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems

Abstract

The invention discloses a kind of distributed workflow management method and device, method includes:Multiple workflow management nodes are created for Distributed Application, multiple workflow management nodes include a main management node or at least one backup management node;Workflow task is distributed into any operative stream by main management node and executes service node, so that Workflow enactment service node executes workflow task;Main management node is monitored by least one backup management node, judges whether to detect main management node;If it is not, then a backup management node is set to main management node, to execute workflow task distribution.Present invention utilizes the characteristics of Distributed Application coordination service, main management node is monitored by backup management node, when main management node can not be detected, it can set backup management node to main management node, continue to execute workflow task distribution, the high availability for improving management node, allows workflow task to be stably carried out.

Description

Distributed workflow management method and device
Technical field
The present invention relates to software fields, and in particular to a kind of distributed workflow management method and device.
Background technology
Workflow technology is to realize business events process modeling, business process simulation analysis, Business Process Optimizing, business mistake Thread management with it is integrated, to finally realize the core technology of business procedure automation.Workflow engine is Workflow Management System Core, be one for workflow instance provide operation performing environment software service or " engine ", it is enterprise operation process Task dispatcher, to a certain extent or corporate resources distributor.How to complete to be workflow to the management of workflow The key problem of management.
In recent years, increasing with the development of internet and data volume, data application scene becomes increasingly complex, right The requirement of Workflow Management System is also got higher therewith.Become two in large-scale Data processing development efficiency and system stability The critical element in high point.It in terms of development efficiency, can be developed in the presence of some multi-person synergies, development process is lack of standardization, exploitation secure context is asked Topic.In terms of stability, server delay machine, unstable networks become insoluble problem.The two factors one of them do not solve Certainly, no small influence can be all caused to enterprise, especially given some with the enterprise that data are driving, can be caused bigger economy Loss.Based on problem above, a kind of Workflow management method based on Distributed Application is needed, to help enterprise's fast construction pair The administrative center of workflow task.
Invention content
In view of the above problems, it is proposed that the present invention overcoming the above problem in order to provide one kind or solves at least partly State the distributed workflow management method and device of problem.
According to an aspect of the invention, there is provided a kind of distributed workflow management method comprising:
Multiple workflow management nodes are created for Distributed Application, multiple workflow management nodes include a main management section Point or at least one backup management node;
Workflow task is distributed into any operative stream by main management node and executes service node, so that workflow execution takes Business node executes workflow task;
Main management node is monitored by least one backup management node, judges whether to detect main management node;
If it is not, then a backup management node is set to main management node, to execute workflow task distribution.
According to another aspect of the present invention, a kind of distributed workflow management device is provided comprising:
First creation module is suitable for Distributed Application and creates multiple workflow management nodes, multiple Workflow Management sections Point includes a main management node and at least one backup management node;
Distribution module executes service node suitable for workflow task is distributed to any operative stream by main management node, with Workflow task is executed for Workflow enactment service node;
First monitoring module judges whether suitable for being monitored main management node by least one backup management node Detect main management node;
Setup module, if main management node is not detected suitable for the first monitoring module judgement, by a backup management section Point is set as main management node, to execute workflow task distribution.
According to another aspect of the invention, a kind of electronic equipment is provided, including:Processor, memory, communication interface and Communication bus, processor, memory and communication interface complete mutual communication by communication bus;
Memory makes processor execute above-mentioned distributed work flow for storing an at least executable instruction, executable instruction The corresponding operation of management method.
In accordance with a further aspect of the present invention, a kind of computer storage media is provided, at least one is stored in storage medium Executable instruction, executable instruction make processor execute such as the corresponding operation of above-mentioned distributed workflow management method.
According to distributed workflow management method and device provided by the invention, multiple workflows are created for Distributed Application Management node, multiple workflow management nodes include a main management node or at least one backup management node;By main management Workflow task is distributed to any operative stream and executes service node by node, so that Workflow enactment service node executes workflow Task;Main management node is monitored by least one backup management node, judges whether to detect main management node;If It is no, then a backup management node is set to main management node, to execute workflow task distribution.Present invention utilizes distributions The characteristic of formula application coordination service, monitors main management node by backup management node, when can not detect main management section When point, backup management node can be set to main management node, continue to execute workflow task distribution, improve management node High availability, so that workflow task is stably carried out, improve the management of entire distributed work flow.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technical means of the present invention, And can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific implementation mode for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit are common for this field Technical staff will become clear.Attached drawing only for the purpose of illustrating preferred embodiments, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow chart of distributed workflow management method according to an embodiment of the invention;
Fig. 2 shows the flow charts of distributed workflow management method in accordance with another embodiment of the present invention;
Fig. 3 shows the functional block diagram of distributed workflow management device according to an embodiment of the invention;
Fig. 4 shows the structural schematic diagram of a kind of electronic equipment according to an embodiment of the invention.
Specific implementation mode
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
Fig. 1 shows the flow chart of distributed workflow management method according to an embodiment of the invention.Such as Fig. 1 institutes Show, distributed workflow management method specifically comprises the following steps:
Step S101 creates multiple workflow management nodes for Distributed Application.
The multiple workflow management nodes created include a main management node and at least one backup management node.Specifically , when being managed to workflow task, multiple workflow management nodes can be created at distributed application server end.Choosing It is main management node to take the minimum child node of wherein workflow management node.There is no any son under the minimum child node i.e. node The node of node.Backup management node includes the father node on minimum child node, to monitor main management node.
Workflow task is distributed to any operative stream by main management node and executes service node, for work by step S102 Make stream and executes service node execution workflow task.
Main management node is when sharing out the work stream task, specifically, main management node can be according to predetermined period periodically Pre-stored workflow task is read, workflow task is judged, judges whether workflow task meets and presets and can hold Row condition.Such as judge whether to reach the execution time recorded in workflow task, be judged with specific reference to performance, this Place is not limited.When judging that workflow task meets default executable condition, workflow task is distributed into any operative stream Service node is executed, so that Workflow enactment service node executes workflow task.
Step S103 monitors main management node by least one backup management node, judges whether to detect master Management node.
When main management node works such as read work stream task, share out the work stream task dispatching when, at least one backup is managed Reason node monitors main management node, judges whether that main management node can be detected, to ensure that main management node can be with Normal work.If main management node can not be detected, illustrating main management node, there may be delay machine, unstable networks etc. to ask Topic, need to execute step S104.
Step S104 sets a backup management node to main management node, to execute workflow task distribution.
When main management node can not be detected, need to set a backup management node to main management node in time, So that it can continue to execute workflow task distribution.A backup management node is being set to main management node, if only depositing In a backup management node, directly the backup management node can be set to main management node, if there are multiple backup managements Node then sets the minimum child node in backup management node to main management node.Wherein, when main management section can not be detected When point, backup management node can be set to main management node automatically, take over the work of former main management node, continue to execute work Make stream task allocation flow, realizes the high availability between active/standby part management node.
According to distributed workflow management method provided by the invention, multiple Workflow Management sections are created for Distributed Application Point, multiple workflow management nodes include a main management node or at least one backup management node;It will by main management node Workflow task distributes to any operative stream and executes service node, so that Workflow enactment service node executes workflow task; Main management node is monitored by least one backup management node, judges whether to detect main management node;If it is not, then will One backup management node is set as main management node, to execute workflow task distribution.Present invention utilizes Distributed Applications The characteristic of coordination service monitors main management node by backup management node, can when that can not detect main management node To set backup management node to main management node, workflow task distribution is continued to execute, the height for improving management node can With property, workflow task is allow to be stably carried out, improves the management of entire distributed work flow.
Fig. 2 shows the flow charts of distributed workflow management method in accordance with another embodiment of the present invention.Such as Fig. 2 institutes Show, distributed workflow management method specifically comprises the following steps:
Step S201, the workflow task configuring request for carrying workflow metadata that the reception page is sent, and according to Workflow task configuring request generates workflow task.
In the prior art when being configured to workflow task, configuration file mode is generally used, readability is relatively Difference, maintenance cost is high, and the processing such as rights management and O&M monitoring etc. are not also carried out to it.As Azkaban batch working streams are appointed Business scheduler, the dependence between workflow task is established using workflow task configuration file, needs first to fill in manually In configuration file and import system, the dependence between workflow task could be established.User is easy error in operation, adjusts It is also relatively difficult when examination.User experience is poor, influences development efficiency.Or as (Cloudeara companies share to Oozie One of Apache increases income top project, provides the scheduling of the task to Hadoop MapReduce Hive Pig), it provides Similar process definition language hPDL passes through the definition that XML format realizes workflow task.But for a user, learn door Sill are relatively high, need abundant Action configuration methods, and a large amount of XML to configure, maintainability is poor.And do not support distribution The problems such as deployment, System Fault Tolerance rate is relatively low.
Based on the above issues, configuration work stream task is realized using the page, provide workflow configuration can in the present embodiment The property read reduces maintenance cost and technical threshold, user is made to obtain preferable operating experience.Specifically, user can be in the page Workflow task is configured, if user fills in or select according to demand workflow metadata relevant information in the page, by rear Platform server-side receives the workflow task configuring request for carrying workflow metadata that the page is sent, and is matched according to workflow task It sets and requests to generate corresponding workflow task, in the database by workflow task storage, so that main management node is from database The relevant information of middle read work stream task judges etc..It can be with modular working stream task using page configuration workflow task Configuration, it is convenient that workflow task is safeguarded,
Further, in addition to using page configuration workflow task, execution of the page to workflow task can also be utilized Journey is monitored, rights management, operation management operation (may be used to serve as theme with workflow task and be monitored, to work Stream task carries out classification setting permission or to the setting priority assignations such as management node, execution service node, user, control work flows The state of task carries out the modes such as operation management and realizes, does not limit herein), or workflow is arranged according to workflow metadata and is appointed The alert if (according to setting alert if such as time, handling duration, metadata variation, state etc. is executed) of business, to be reported Alert processing etc..
Step S202 creates multiple workflow management nodes for Distributed Application.
The step referring to Fig.1 in embodiment step S101 description, details are not described herein.
Step S203 creates multiple Workflow enactment service nodes for Distributed Application.
Multiple Workflow enactment service nodes are created in Distributed Application, on the one hand can ensure multiple workflow executions The quick processing work stream task of service node improves processing speed and efficiency, on the other hand prevents a certain Workflow enactment service There is the problems such as delay machine, unstable networks in node, can be appointed to continue to execute workflow by other Workflow enactment service nodes Business avoids workflow task from stopping executing.
Workflow task is distributed to any operative stream by main management node and executes service node, for work by step S204 Make stream and executes service node execution workflow task.
The step referring to Fig.1 in embodiment step S102 description, details are not described herein.
Step S205 monitors multiple Workflow enactment service nodes by main management node, judges whether to detect Multiple Workflow enactment service nodes.
Main management node monitors the multiple Workflow enactment service nodes for executing workflow task, and judging whether can To detect these Workflow enactment service nodes, if in the presence of the Workflow enactment service node not detected, then follow the steps S206 is delayed to avoid the workflow task performed by the Workflow enactment service node.
Step S206, the workflow task for the Workflow enactment service node not detected, which is reassigned to other, to be visited The Workflow enactment service node measured, to continue to execute workflow task.
When some Workflow enactment service node is not detected, the Workflow enactment service node not detected is worked as Before the workflow task that is carrying out be reassigned to other observable Workflow enactment service nodes so that the workflow Task can be continued to execute by other observable Workflow enactment service nodes, and safeguard work stream task normally executes.
Step S207 monitors main management node by least one backup management node, judges whether to detect master Management node.
Step S208 sets a backup management node to main management node, to execute workflow task distribution.
Above two step referring to Fig.1 in embodiment step S103-S104 description, details are not described herein.
Step S209 executes assignment stream task, and modification stream task by Workflow enactment service node State.
It, can be by the state of workflow task after Workflow enactment service node executes completion assignment stream task It modifies.It according to specific implementing result, such as normally completes, can be completion status by the status modifier of workflow task; Or failure is executed, can be that need to re-execute state or status of fail etc. by the status modifier of workflow task.The modification of state Content is specifically arranged according to performance, is not construed as limiting herein.
It, can be with using page mode configuration work stream task according to distributed workflow management method provided by the invention Specification configuration mode maintains easily the metadata of workflow task, greatly improves workflow task allocative efficiency.Further, sharp With distributed deployment, ensures the high availability and autgmentability of management node in implementation procedure, execution service node etc., thoroughly solve In the prior art Workflow management platform it is lack of standardization, safeguard that debugging is difficult, not manageability, the problems such as alarm O&M is unsound.
Fig. 3 shows the functional block diagram of distributed workflow management device according to an embodiment of the invention.Such as Fig. 3 institutes Show, distributed workflow management device includes following module:
First creation module 310 is suitable for:Multiple workflow management nodes, multiple Workflow Managements are created for Distributed Application Node includes a main management node and at least one backup management node.
Distribution module 320 is suitable for:Workflow task is distributed into any operative stream by main management node and executes service node, So that Workflow enactment service node executes workflow task.
First monitoring module 330 is suitable for:Main management node is monitored by least one backup management node, judgement is It is no to detect main management node.
Setup module 340 is suitable for:If the first monitoring module judgement does not detect main management node, by a backup management Node is set as main management node, to execute workflow task distribution.
Optionally, distribution module 320 is further adapted for:By the minimum child node setting at least one backup management node For main management node, distributed with executing workflow task.
Optionally, device further includes:Configuration module 350.Configuration module 350 is suitable for:Receive page transmission carries work Make the workflow task configuring request of stream metadata, and workflow task is generated according to workflow task configuring request.
Optionally, distribution module 320 is further adapted for:Appointed according to preset time timing read work stream by main management node Business, judges whether workflow task meets default executable condition;It is executed if so, workflow task is distributed to any operative stream Service node, so that Workflow enactment service node executes workflow task.
Optionally, device further includes:Second creation module 360, second monitors module 370, reallocation module 380 and modification Module 390.
Second creation module 360 is suitable for:Multiple Workflow enactment service nodes are created for Distributed Application.
Second monitoring module 370 is suitable for:Multiple Workflow enactment service nodes are monitored by main management node, are judged Whether multiple Workflow enactment service nodes are detected.
Reallocation module 380 is suitable for:If the second monitoring module judgement does not detect Workflow enactment service node, will not The workflow task of the Workflow enactment service node detected is reassigned to other observable Workflow enactment services Node, to continue to execute workflow task.
Modified module 390 is suitable for:Assignment stream task, and modification stream are executed by Workflow enactment service node The state of task.
The description of above each module refers to the corresponding description of each step in embodiment of the method, and details are not described herein.
According to distributed workflow management device provided by the invention, multiple Workflow Management sections are created for Distributed Application Point, multiple workflow management nodes include a main management node or at least one backup management node;It will by main management node Workflow task distributes to any operative stream and executes service node, so that Workflow enactment service node executes workflow task; Main management node is monitored by least one backup management node, judges whether to detect main management node;If it is not, then will One backup management node is set as main management node, to execute workflow task distribution.Present invention utilizes Distributed Applications The characteristic of coordination service monitors main management node by backup management node, can when that can not detect main management node To set backup management node to main management node, workflow task distribution is continued to execute, the height for improving management node can With property, workflow task is allow to be stably carried out, improves the management of entire distributed work flow.
Present invention also provides a kind of nonvolatile computer storage media, the computer storage media is stored at least One executable instruction, the computer executable instructions can perform the distributed workflow management side in above-mentioned any means embodiment Method.
Fig. 4 shows that the structural schematic diagram of a kind of electronic equipment according to an embodiment of the invention, the present invention are specifically real Example is applied not limit the specific implementation of electronic equipment.
As shown in figure 4, the electronic equipment may include:Processor (processor) 402, communication interface (Communications Interface) 404, memory (memory) 406 and communication bus 408.
Wherein:
Processor 402, communication interface 404 and memory 406 complete mutual communication by communication bus 408.
Communication interface 404, for being communicated with the network element of miscellaneous equipment such as client or other servers etc..
Processor 402 can specifically execute above-mentioned distributed workflow management embodiment of the method for executing program 410 In correlation step.
Specifically, program 410 may include program code, which includes computer-managed instruction.
Processor 402 may be central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road.The one or more processors that electronic equipment includes can be same type of processor, such as one or more CPU;Also may be used To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 406, for storing program 410.Memory 406 may include high-speed RAM memory, it is also possible to further include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 410 specifically can be used for so that processor 402 executes the distributed work in above-mentioned any means embodiment Flow management method.The specific implementation of each step may refer to the phase in above-mentioned distributed workflow management embodiment in program 410 Corresponding description in step and unit is answered, this will not be repeated here.It is apparent to those skilled in the art that for description Convenienct and succinct, the equipment of foregoing description and the specific work process of module, can refer to preceding method embodiment in pair Process description is answered, details are not described herein.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with teaching based on this.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that can utilize various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:It is i.e. required to protect Shield the present invention claims the more features of feature than being expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific implementation mode, wherein each claim conduct itself The separate embodiments of the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in the one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it may be used any Combination is disclosed to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, abstract and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of arbitrary It mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization, or to run on one or more processors Software module realize, or realized with combination thereof.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) are realized in distributed workflow management device according to the ... of the embodiment of the present invention Some or all components some or all functions.The present invention is also implemented as executing side as described herein Some or all equipment or program of device (for example, computer program and computer program product) of method.It is such Realize that the program of the present invention can may be stored on the computer-readable medium, or can be with the shape of one or more signal Formula.Such signal can be downloaded from internet website and be obtained, and either be provided on carrier signal or with any other shape Formula provides.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference mark between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be by the same hardware branch To embody.The use of word first, second, and third does not indicate that any sequence.These words can be explained and be run after fame Claim.

Claims (14)

1. a kind of distributed workflow management method comprising:
Multiple workflow management nodes are created for Distributed Application, the multiple workflow management node includes a main management section Point and at least one backup management node;
Workflow task is distributed into any operative stream by the main management node and executes service node, so that the workflow is held Row service node executes the workflow task;
The main management node is monitored by least one backup management node, judges whether to detect the supervisor Manage node;
If it is not, then a backup management node is set to main management node, to execute workflow task distribution.
2. according to the method described in claim 1, wherein, the main management node is that the most boy of workflow management node saves Point;
It is described to set a backup management node to main management node, further comprised with executing workflow task distribution:
The minimum child node at least one backup management node is set to main management node, to execute workflow task Distribution.
3. according to the method described in claim 1, wherein, the method further includes:
The workflow task configuring request for carrying workflow metadata that the page is sent is received, and according to the workflow task Configuring request generates workflow task.
4. according to the method described in claim 3, wherein, it is described workflow task is distributed to by the main management node it is any Workflow enactment service node further comprises so that the Workflow enactment service node executes the workflow task:
By the main management node according to preset time timing read work stream task, judge whether the workflow task meets Default executable condition;
If so, the workflow task, which is distributed to any operative stream, executes service node, for the Workflow enactment service Node executes the workflow task.
5. according to the method described in claim 1, wherein, the method further includes:
Multiple Workflow enactment service nodes are created for Distributed Application;
The multiple Workflow enactment service node is monitored by the main management node, judges whether to detect described more A Workflow enactment service node;
If it is not, it is observable that the workflow task for the Workflow enactment service node not detected is then reassigned to other Workflow enactment service node, to continue to execute workflow task.
6. according to the method described in claim 5, wherein, the method further includes:
Assignment stream task is executed by the Workflow enactment service node, and changes the state of the workflow task.
7. a kind of distributed workflow management device comprising:
First creation module is suitable for Distributed Application and creates multiple workflow management nodes, the multiple Workflow Management section Point includes a main management node and at least one backup management node;
Distribution module executes service node suitable for workflow task is distributed to any operative stream by the main management node, with The workflow task is executed for the Workflow enactment service node;
First monitors module, suitable for being monitored the main management node by least one backup management node, judges Whether the main management node is detected;
Setup module manages a backup if not detecting the main management node suitable for the first monitoring module judgement Reason node is set as main management node, to execute workflow task distribution.
8. device according to claim 7, wherein the main management node is that the most boy of workflow management node saves Point;
The distribution module is further adapted for:Minimum child node at least one backup management node is set as being responsible for Node is managed, to execute workflow task distribution.
9. device according to claim 7, wherein described device further includes:
Configuration module, the workflow task configuring request for carrying workflow metadata sent suitable for receiving the page, and according to The workflow task configuring request generates workflow task.
10. device according to claim 9, wherein the distribution module is further adapted for:
By the main management node according to preset time timing read work stream task, judge whether the workflow task meets Default executable condition;If so, the workflow task, which is distributed to any operative stream, executes service node, for the work Stream executes service node and executes the workflow task.
11. device according to claim 7, wherein described device further includes:
Second creation module is suitable for Distributed Application and creates multiple Workflow enactment service nodes;
Second monitoring module is sentenced suitable for being monitored the multiple Workflow enactment service node by the main management node It is disconnected whether to detect the multiple Workflow enactment service node;
Reallocation module will if not detecting the Workflow enactment service node suitable for the second monitoring module judgement The workflow task for the Workflow enactment service node not detected is reassigned to other observable workflow execution clothes Business node, to continue to execute workflow task.
12. according to the devices described in claim 11, wherein described device further includes:
Modified module is suitable for executing assignment stream task by the Workflow enactment service node, and changes the work The state of stream task.
13. a kind of electronic equipment, including:Processor, memory, communication interface and communication bus, the processor, the storage Device and the communication interface complete mutual communication by the communication bus;
The memory makes the processor execute as right is wanted for storing an at least executable instruction, the executable instruction Ask the corresponding operation of distributed workflow management method described in any one of 1-6.
14. a kind of computer storage media, an at least executable instruction, the executable instruction are stored in the storage medium Processor is set to execute the corresponding operation of distributed workflow management method as described in any one of claim 1-6.
CN201810667142.1A 2018-06-26 2018-06-26 Distributed workflow management method and device Pending CN108776618A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810667142.1A CN108776618A (en) 2018-06-26 2018-06-26 Distributed workflow management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810667142.1A CN108776618A (en) 2018-06-26 2018-06-26 Distributed workflow management method and device

Publications (1)

Publication Number Publication Date
CN108776618A true CN108776618A (en) 2018-11-09

Family

ID=64025563

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810667142.1A Pending CN108776618A (en) 2018-06-26 2018-06-26 Distributed workflow management method and device

Country Status (1)

Country Link
CN (1) CN108776618A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109788054A (en) * 2019-01-07 2019-05-21 平安科技(深圳)有限公司 A kind of configuration method, server and the medium of Distributed Application coordination service node
CN111858001A (en) * 2020-07-15 2020-10-30 武汉众邦银行股份有限公司 Workflow processing method based on micro-service architecture system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071489A (en) * 2007-07-13 2007-11-14 华为技术有限公司 Work flow management system and method for realizing work process automation
CN102521044A (en) * 2011-12-30 2012-06-27 北京拓明科技有限公司 Distributed task scheduling method and system based on messaging middleware
CN102724065A (en) * 2012-05-22 2012-10-10 长沙中联消防机械有限公司 Network communication system and engineering mechanical equipment comprising same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101071489A (en) * 2007-07-13 2007-11-14 华为技术有限公司 Work flow management system and method for realizing work process automation
CN102521044A (en) * 2011-12-30 2012-06-27 北京拓明科技有限公司 Distributed task scheduling method and system based on messaging middleware
CN102724065A (en) * 2012-05-22 2012-10-10 长沙中联消防机械有限公司 Network communication system and engineering mechanical equipment comprising same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109788054A (en) * 2019-01-07 2019-05-21 平安科技(深圳)有限公司 A kind of configuration method, server and the medium of Distributed Application coordination service node
CN109788054B (en) * 2019-01-07 2022-04-15 平安科技(深圳)有限公司 Configuration method, server and medium for distributed application coordination service node
CN111858001A (en) * 2020-07-15 2020-10-30 武汉众邦银行股份有限公司 Workflow processing method based on micro-service architecture system

Similar Documents

Publication Publication Date Title
CN110546606B (en) Tenant upgrade analysis system and method
Daya et al. Microservices from theory to practice: creating applications in IBM Bluemix using the microservices approach
CN101946258B (en) Model based deployment of computer based business process on dedicated hardware
US20130117064A1 (en) Business process analysis combining modeling, simulation and collaboration with web and cloud delivery
US9535754B1 (en) Dynamic provisioning of computing resources
JP6045134B2 (en) Parallel workload simulation for application performance testing
US9170821B1 (en) Automating workflow validation
US9189203B1 (en) Solution modeling and analysis toolset for enterprise software architecture and architecture roadmaps
CN105027108A (en) Instance host configuration
Zhou et al. Delta debugging microservice systems with parallel optimization
CN113220431B (en) Cross-cloud distributed data task scheduling method, device and storage medium
Han et al. Refining microservices placement employing workload profiling over multiple kubernetes clusters
CN107733710A (en) Construction method, device, computer equipment and the storage medium of link call relation
CN110569113A (en) Method and system for scheduling distributed tasks and computer readable storage medium
CN114647485A (en) Dynamic cloud deployment for Robotic Process Automation (RPA) robots
CN108776618A (en) Distributed workflow management method and device
CN109634714A (en) A kind of method and device of intelligent scheduling
CN106354507A (en) Enterprise-level application management system and method for operating same
US20190205182A1 (en) Unified monitoring interface
Strauch et al. Migrating eScience applications to the cloud: methodology and evaluation
Ahmed-Nacer et al. Simulation of configurable resource allocation for cloud-based business processes
Pham et al. Autonomic fine-grained migration and replication of component-based applications across multi-clouds
CN116319242A (en) Cloud management platform micro-service scheduling method and device based on RPA technology
CN112418796B (en) Sub-process task node activation method and device, electronic equipment and storage medium
CN111435306A (en) Code management method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181109