The invention discloses a loosely coupled distributed
workflow coordination
system and method, and the method comprises the steps: a user carries out definition, online, operation and maintenance of a
workflow through calling an interface service API (Application Program Interface); a distributed
workflow coordinator schedules the workflow in a timed manner by integrating a distributed timing engine
Quartz, adds the workflow to a workflow distribution distributed
message queue MQ, receives the workflow, processes the
task dependency relationship of the workflow, and adds a business type task to be executed after coordination to the task distribution distributed
message queue MQ; a distributed task
actuator Worker receives each business type task from the task distribution distributed
message queue MQ and executes the business type tasks, and the task execution result is called back to the distributed workflow coordinator through the task
callback distributed message
queue MQ; and finally, the Coordinator persistently stores a task execution result in a
database for feeding back the result to a user. According to the method, Coordinator is focused on logic coordination
processing, so that full decoupling of workflow coordination
processing and task execution is ensured, and the
throughput, expansibility and
scalability of the
system are improved.