Implementation method for supporting dynamic batch serial nested task flow framework

An implementation method and technology of task flow, which are applied in the implementation field supporting dynamic batch serial nested task flow framework, and can solve the problems of wasting system resources, difficult to locate, abnormal operation, etc.

Pending Publication Date: 2020-04-03
G CLOUD TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] c. Abnormal operation is not easy to locate;
[0006] d. All kinds of asynchronous operations can only be synchronously timed to query and wait, wasting system resources

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
  • Implementation method for supporting dynamic batch serial nested task flow framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] figure 1 It is a flow chart of the frame supporting dynamic batch serial nested task flow in the present invention. The inventive method comprises:

[0029] Step 1: The commands of each step of the task flow inherit BaseWorkflowCommand, write business codes such as process, rollback, and timeout, and configure the input and return classes corresponding to the command.

[0030] The specific steps are:

[0031] a. The step base class BaseWorkflowCommand has abstract methods such as process, rollback, timeout, getReqParamsClass, getResParamsClass;

[0032] b. Each specific step rewrites process, rollback, timeout, getReqParamsClass, getResParamsClass and other methods;

[0033] c. Rewrite the getReqParamsClass and getResParamsClass methods to set the input and output parameters of the step command.

[0034] Step 2: Configure the task flow step template, including the sequence of steps, whether the operation is synchronous, whether the step is necessary, whether the rol...

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 relates to an implementation method for supporting a dynamic batch serial nested task flow framework. The method comprises the following steps: 1, compiling service codes of each step ofa process and configuring a task flow step template; 2, configuring a task step repeatType to be executed in series to be of a system type; 3, configuring a parameter source of the serial step in a parameter source template table; 4, when a task flow engine encounters a serial step, dynamically adding repeatSize-1 identical steps according to the size of a repeatSize of a source ModelBean list ofrepeatParas, so as to obtain a repeatSize-1 repeatSize-1 identical step, wherein all the serial steps are connected through yToIds, and all the ModelBean values in the ModelBean list are assigned toall the newly-added steps to serve as input parameters of the steps; 5, when the return value of the serial step needs to be used in the subsequent step, receiving the return value by the corresponding object list. The invention provides an implementation method of a dynamic batch serial nested task flow framework.

Description

technical field [0001] The invention relates to the technical field of cloud platform task flow framework implementation, in particular to an implementation method supporting dynamic batch serial nested task flow framework. Background technique [0002] The cloud platform is mainly composed of multiple components such as computing, storage, network, monitoring, and authentication. Many operations (such as creating virtual machines, deleting virtual machines, security services, etc.) need to be completed by the interaction and cooperation of multiple components. However, some functional operations, especially multiple operations on the same resource, can only be executed serially one by one. For example, creating a virtual machine may require creating and mounting multiple network cards; while a virtual machine can only have one and only One such operational task. The foregoing prior art has the following defects: [0003] a. There are too many non-functional codes in the f...

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/455
CPCG06F9/45558G06F9/4881G06F2009/45579
Inventor 邓玉芳季统凯
Owner G CLOUD TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products