CN110704095A - Workflow-based configuration processing method and device, computer equipment and storage medium - Google Patents

Workflow-based configuration processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110704095A
CN110704095A CN201910827765.5A CN201910827765A CN110704095A CN 110704095 A CN110704095 A CN 110704095A CN 201910827765 A CN201910827765 A CN 201910827765A CN 110704095 A CN110704095 A CN 110704095A
Authority
CN
China
Prior art keywords
node
workflow
nodes
configuration information
adjusted
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
CN201910827765.5A
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.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart 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 OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910827765.5A priority Critical patent/CN110704095A/en
Publication of CN110704095A publication Critical patent/CN110704095A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Software Systems (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Tourism & Hospitality (AREA)
  • Quality & Reliability (AREA)
  • General Business, Economics & Management (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • Computer Security & Cryptography (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to a workflow-based configuration processing method and device, computer equipment and a storage medium in the research and development management field. The method comprises the following steps: acquiring a workflow, and identifying a plurality of components corresponding to the workflow according to the workflow; receiving a component acquisition instruction, selecting a corresponding component from a component library, and adding the selected component to a process design area; the components comprise nodes; acquiring parameter configuration information corresponding to the nodes, and configuring the corresponding nodes according to the parameter configuration information; acquiring long press dragging operation between nodes, and establishing an execution sequence between the nodes according to the long press dragging operation; the nodes are used for calling the corresponding service servers according to the execution sequence; generating corresponding workflow by using the nodes, the parameter configuration information and the execution sequence among the nodes; when a node adjusting instruction is received, parameter configuration information and an execution sequence corresponding to a node to be adjusted are adjusted in a workflow configuration page, and an adjusted workflow is obtained.

Description

Workflow-based configuration processing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a configuration processing method and apparatus based on a workflow, a computer device, and a storage medium.
Background
The workflow is abstract and general description of the workflow and the business rules among the operation steps of the workflow, and the corresponding work purpose can be realized by automatically transmitting documents, information or tasks among a plurality of participants according to the preset rules by using a computer. A workflow typically includes a number of steps, which may also be referred to as nodes in the workflow. The nodes have corresponding execution sequences. The nodes may also have corresponding participants, i.e., through their operation on the computer, the workflow is caused to flow to the next node.
In a conventional manner, the workflow may be configured via a workflow template. The nodes, execution sequence and participants involved in a workflow are preset in the workflow template, so that the workflow is used in a corresponding business scene. As the business rules change, the workflow will change, for example, the nodes will change, or the execution order between the nodes will change. The workflow template is then not adapted to frequent changes of business rules, thereby resulting in a limitation of the configuration of the workflow. Therefore, how to break through the limitation of the workflow template and flexibly and conveniently configure the workflow becomes a technical problem to be solved at present.
Disclosure of Invention
In view of the above, it is necessary to provide a workflow-based configuration processing method, apparatus, computer device and storage medium, which can flexibly and conveniently configure a workflow.
A workflow-based configuration processing method, the method comprising:
acquiring a workflow, and identifying a plurality of components corresponding to the workflow according to the workflow;
receiving a component acquisition instruction on a workflow configuration page, selecting a corresponding component from a component library according to the component acquisition instruction, and adding the selected component to a process design area; the components comprise nodes;
acquiring parameter configuration information corresponding to the nodes, and configuring the corresponding nodes according to the parameter configuration information; the parameter configuration information comprises a service server corresponding to the node;
acquiring long press dragging operation between nodes, and establishing an execution sequence between the nodes according to the long press dragging operation; the nodes are used for calling corresponding service servers according to the execution sequence;
generating corresponding workflow by using the nodes, the parameter configuration information and the execution sequence among the nodes;
when a node adjusting instruction is received, according to a node to be adjusted carried in the node adjusting instruction, parameter configuration information and an execution sequence corresponding to the node to be adjusted are adjusted in the workflow configuration page, and an adjusted workflow is obtained.
In one embodiment, the adjusting, in the workflow configuration page, the parameter configuration information and the execution order corresponding to the node to be adjusted includes:
when the node to be adjusted is the node to be newly added, adding the node to be newly added to a process design area according to the node adjustment instruction;
acquiring parameter configuration information corresponding to the node to be newly added, and configuring the node to be newly added; the parameter configuration information comprises a service server corresponding to the node to be newly added;
and determining a previous node and a next node corresponding to the node to be newly added, and establishing an execution sequence among the node to be newly added, the previous node and the next node to obtain an adjusted workflow.
In one embodiment, the method further comprises: the adjusting the parameter configuration information and the execution sequence corresponding to the node to be adjusted in the workflow configuration page includes:
when the node to be adjusted is the node to be deleted, deleting the node to be deleted in the process design area according to the node adjustment instruction;
deleting the parameter configuration information corresponding to the node to be deleted;
and establishing an execution sequence between the previous node and the next node corresponding to the node to be deleted to obtain the adjusted workflow.
In one embodiment, the obtaining of the long push-pull operation between nodes and the establishing of the execution sequence between nodes according to the long push-pull operation includes:
capturing the selected node, and dragging the cursor to the next node for release;
generating a connecting arrow between the selected node and a next node; and establishing an execution sequence among the nodes according to the direction of the connection arrow.
In one embodiment, the node includes a branch node, and the configuring the corresponding node according to the parameter configuration information includes:
selecting a plurality of configuration components corresponding to the branch nodes;
acquiring component configuration information corresponding to the configuration component;
and generating an execution condition function corresponding to the branch node according to the component configuration information.
In one embodiment, the method further comprises:
performing structure verification on the workflow by using a structure verification rule;
and after the structure verification is passed, obtaining test data, and performing data verification on the workflow by using the test data.
A workflow-based configuration processing apparatus, the apparatus comprising:
the component adding module is used for acquiring a workflow and identifying a plurality of components corresponding to the workflow according to the workflow; receiving a component acquisition instruction on a workflow configuration page, selecting a corresponding component from a component library according to the component acquisition instruction, and adding the selected component to a process design area; the components comprise nodes;
the node configuration module is used for acquiring parameter configuration information corresponding to the node and configuring the corresponding node according to the parameter configuration information; the parameter configuration information comprises a service server corresponding to the node;
the node sequence establishing module is used for acquiring long press dragging operation between nodes and establishing an execution sequence between the nodes according to the long press dragging operation; the nodes are used for calling corresponding service servers according to the execution sequence;
the workflow generating module is used for generating corresponding workflows by using the nodes, the parameter configuration information and the execution sequence among the nodes;
and the workflow adjusting module is used for adjusting the parameter configuration information and the execution sequence corresponding to the node to be adjusted in the workflow configuration page according to the node to be adjusted carried in the node adjusting instruction when the node adjusting instruction is received, so as to obtain the adjusted workflow.
In one embodiment, the workflow adjustment module is further configured to, when the node to be adjusted is a node to be newly added, add the node to be newly added to a process design area according to the node adjustment instruction; acquiring parameter configuration information corresponding to the node to be newly added, and configuring the node to be newly added; the parameter configuration information comprises a service server corresponding to the node to be newly added; and determining a previous node and a next node corresponding to the node to be newly added, and establishing an execution sequence among the node to be newly added, the previous node and the next node to obtain an adjusted workflow.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the various method embodiments described above when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the respective method embodiment described above.
According to the configuration processing method and device based on the workflow, the computer equipment and the storage medium, the plurality of components corresponding to the workflow are selected from the component group, the selected components are added into the design flow area, the corresponding nodes in the components are configured by using the parameter configuration information, and the execution sequence between the nodes is quickly and intuitively established through the long-time dragging operation between the nodes. Because the parameter configuration information contains the service servers corresponding to the nodes, the corresponding service servers can be called according to the execution sequence among the nodes. Whereby the nodes, the parameter configuration information and the execution order between the nodes can be utilized to generate the corresponding workflow. When the node in the service flow changes, corresponding adjustment can be directly performed according to the parameter configuration information and the execution sequence corresponding to the node to be adjusted in the workflow configuration page of the node to be adjusted carried in the node adjustment instruction. Because each node in the workflow is configured in the workflow configuration page according to the business requirements and does not depend on the workflow template for configuration, the limitation of the workflow template can be broken through, and the nodes in the business flow are adjusted in time along with the change of the business rules. And then the workflow can be flexibly and conveniently configured.
Drawings
FIG. 1 is a diagram illustrating an example of an application scenario for a workflow-based configuration process in one embodiment;
FIG. 2 is a schematic flow diagram illustrating a method for workflow-based configuration processing in one embodiment;
FIG. 3 is a flowchart illustrating a step of adjusting parameter configuration information and an execution sequence corresponding to a node to be adjusted in a workflow configuration page according to an embodiment;
fig. 4 is a schematic flow chart illustrating a step of adjusting parameter configuration information and an execution sequence corresponding to a node to be adjusted in a workflow configuration page in another embodiment;
FIG. 5 is a block diagram of a configuration processing apparatus based on workflow in one embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The workflow-based configuration processing method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, a workflow-based configuration processing method is provided, which is described by taking the method as an example applied to the terminal in fig. 1, and includes the following steps:
step 202, a workflow is obtained, and a plurality of components corresponding to the workflow are identified according to the workflow.
Step 204, receiving a component acquisition instruction on a workflow configuration page, selecting a corresponding component from a component library according to the component acquisition instruction, and adding the selected component to a process design area; the components include nodes.
When configuring the corresponding workflow according to the business needs, the terminal can obtain the corresponding workflow. The workflow comprises a plurality of links, and the terminal identifies the corresponding component of each link when the workflow is configured by reading each link of the workflow. Different business processes correspond to different components. The components include a base component and a configuration component, wherein the base component includes a start, an end, and the like. The configuration component comprises a branch node, a common node and the like. Where the branch nodes and the normal nodes may in turn be collectively referred to as nodes in the data flow. And the terminal adds the selected components to the process design area.
The terminal may be configured with a pre-installed workflow management system. After the terminal enters the workflow management system, a workflow configuration page can be displayed. The workflow configuration page comprises a process name, a process number, a component library, a process design area, a component parameter area and the like. The terminal can receive a component acquisition instruction input by a user, and a plurality of components corresponding to the workflow are selected from the component library according to the component acquisition instruction.
Further, after recognizing a plurality of components corresponding to the workflow, the terminal may store the component identifiers in an array, and when receiving a component acquisition command in the workflow configuration page, the terminal may cyclically read the component identifiers in the array, acquire corresponding components in the component library according to the component identifiers, and add the acquired components to the process design area. After the current component is added, the terminal can automatically read the next component identifier in the array and automatically add the next component identifier to the flow design area according to the method until all components are added. Therefore, all components required by the configuration workflow can be automatically added to the process design area, and convenience is provided for workers.
Step 206, acquiring parameter configuration information corresponding to the node, and configuring the corresponding node according to the parameter configuration information; the parameter configuration information includes a service server corresponding to the node.
The terminal can configure each node in the component parameter area. And displaying a plurality of node information in the component parameter area. The terminal can click each node in the process design area, and information corresponding to the clicked node can be added to the component parameter area. Or, after the terminal selects the corresponding component from the component library, the corresponding node information may be added to the component parameter area. The node information comprises a node name, a node number, a belonging classification, an execution sequence, whether the node information is valid or not and an operation control. When the operation control is clicked, the terminal can display a parameter configuration page corresponding to the node. The parameter configuration page includes a plurality of fields, such as application scenario, product name, order number, order status, and the like. The terminal can input a value source corresponding to the field in the parameter configuration page, and the value source comprises a flow field table, a fixed value, a state notification and the like.
The terminal may also display an application scene configuration page. In the application scenario configuration page, a corresponding service channel, a product name, a product number, a process name, a process number and the like can be input. The configuration of the application scene can be performed between the selection of the components from the component library, so that when each node is configured, the fields corresponding to the application scene can be directly displayed in the parameter configuration page without manual input of a user. Therefore, the input of configuration information can be effectively saved, and the configuration efficiency is improved.
The terminal can also acquire the service function corresponding to the node and identify the corresponding service server according to the service function. The terminal may display a configuration page of the service server, and may input an identifier, an address, and the like of the service server corresponding to the node in the configuration page of the service server. Therefore, the node can call the service server to realize the corresponding service function.
Step 208, acquiring long press dragging operation between nodes, and establishing an execution sequence between the nodes according to the long press dragging operation; the nodes are used for calling the corresponding service servers according to the execution sequence.
In one embodiment, the terminal captures one of the nodes in the flow design area, drags the cursor to the next node for release, generates a connection arrow between the selected node and the next node, and establishes an execution sequence between the nodes according to the direction of the connection arrow. By long-press dragging operation, the execution sequence among all nodes can be rapidly and intuitively displayed in a flow design area, and convenience is provided for configuration of a workflow. After the workflow is generated, each node may call the corresponding service server according to the execution sequence, so as to implement the corresponding function through the service server.
By designing each node and the execution sequence among the nodes in the flow design area, a corresponding flow chart can be obtained. Different flow diagrams can be designed according to different business requirements. Each link in the work flow can be visually displayed through the flow chart.
In order to make the flow chart in the flow design area beautiful, the terminal may arrange the selected plurality of components in a preset manner. For example, the terminal may arrange the plurality of components according to a preset distance, may arrange the sizes of the boxes corresponding to the plurality of components according to a uniform size, may arrange the boxes corresponding to the plurality of components in an aligned manner, and the like.
Step 210, generating a corresponding workflow by using the nodes, the parameter configuration information and the execution sequence among the nodes.
And the terminal generates a corresponding workflow by using each node in the process design area, the parameter configuration information corresponding to the nodes and the execution sequence among the nodes. The workflow which can be configured by the terminal can be uploaded to the corresponding server. The server may also be referred to as a workflow server. The workflow server may send corresponding service instance data to the task system server based on the workflow, so that the task system server determines each node in the workflow according to the service instance data and executes a corresponding task. Thereby completing the business process corresponding to the workflow.
Step 212, when receiving the node adjustment instruction, according to the node to be adjusted carried in the node adjustment instruction, adjusting the parameter configuration information and the execution sequence corresponding to the node to be adjusted in the workflow configuration page to obtain the adjusted workflow.
When the business rule changes, the nodes in the business flow also change. The node that changes may also be referred to as the node to be adjusted. The terminal can inquire whether the service rule changes according to a preset frequency. For example, the business rule may be recorded in a rule file, and when the business rule changes, the rule file changes, and the version number of the rule file also changes. The terminal can inquire whether the version number of the rule file changes, and if a new version number exists, the terminal indicates that the rule file changes, namely the business rule changes. The terminal can obtain the changed rule file, and read the node to be adjusted in the changed rule file. The node to be adjusted may be a node to be added, a node to be deleted, a node to be replaced, or the like. And the terminal correspondingly adjusts the nodes to be adjusted and the execution sequence in the process design area and adjusts the parameter configuration information in the component configuration area, so that the adjusted workflow is obtained.
In this embodiment, a plurality of components corresponding to a workflow are selected from a component group, the selected components are added to a design flow area, corresponding nodes in the components are configured by using parameter configuration information, and an execution sequence between the nodes is quickly and intuitively established by long-press dragging operation between the nodes. Because the parameter configuration information contains the service servers corresponding to the nodes, the corresponding service servers can be called according to the execution sequence among the nodes. Whereby the nodes, the parameter configuration information and the execution order between the nodes can be utilized to generate the corresponding workflow. When the node in the service flow changes, corresponding adjustment can be directly performed according to the parameter configuration information and the execution sequence corresponding to the node to be adjusted in the workflow configuration page of the node to be adjusted carried in the node adjustment instruction. Because each node in the workflow is configured in the workflow configuration page according to the business requirements and does not depend on the workflow template for configuration, the limitation of the workflow template can be broken through, and the nodes in the business flow are adjusted in time along with the change of the business rules. And then the workflow can be flexibly and conveniently configured.
In one embodiment, as shown in fig. 3, the step of adjusting the parameter configuration information and the execution sequence corresponding to the node to be adjusted in the workflow configuration page includes:
step 302, when the node to be adjusted is the node to be newly added, adding the node to be newly added to the process design area.
Step 304, acquiring parameter configuration information corresponding to the node to be newly added, and configuring the node to be newly added; the parameter configuration information comprises a service server corresponding to the node to be newly added.
And step 306, determining a previous node and a next node corresponding to the node to be newly added, and establishing an execution sequence among the node to be newly added, the previous node and the next node to obtain the adjusted workflow.
When the node to be adjusted is the node to be newly added, the terminal may select the corresponding node in the component library by referring to the manner provided in the above embodiment, and add the selected node as the node to be newly added to the process design area. The terminal may also perform parameter configuration on the node to be newly added according to the manner provided in the above embodiment. The terminal may also configure the service server corresponding to the newly added node with reference to the manner provided in the above embodiment. And taking the node to be newly added as the current node, acquiring the previous node corresponding to the current node in the process design area by the terminal according to the adjusted service rule, and establishing an execution sequence between the current node and the previous node according to the long press dragging operation. And the terminal acquires a next node corresponding to the current node in the flow design area according to the adjusted service rule, and establishes an execution sequence between the current node and the next node according to the long-press dragging operation. After the execution sequence among the previous node, the current node and the next node is established, the terminal disconnects the link arrow between the previous node and the next node, namely disconnects the execution sequence among the previous node and the next node. Further, in order to make the adjusted flow chart in the flow design area beautiful, the terminal may further arrange the adjusted flow chart according to a preset manner.
The terminal may also configure the parameters corresponding to the nodes to be newly added with reference to the manner provided in the above embodiment. Therefore, the service flow can be correspondingly adjusted according to the newly added node, the configuration information and the corresponding previous node and next node. Therefore, the service flow can be flexibly and conveniently adjusted in real time along with the increase of the nodes.
In one embodiment, as shown in fig. 4, the step of adjusting the parameter configuration information and the execution sequence corresponding to the node to be adjusted in the workflow configuration page includes:
and 402, when the node to be adjusted is the node to be deleted, deleting the node to be deleted in the flow design area according to the node adjustment instruction.
And step 404, deleting the parameter configuration information corresponding to the node to be deleted.
And 406, establishing an execution sequence between the previous node and the next node corresponding to the node to be deleted to obtain the adjusted workflow.
When the node to be adjusted is the node to be deleted, the terminal can select the node with deletion in the process design area according to the node adjustment instruction, and directly delete the node to be deleted. After the deletion node is deleted, the terminal may delete the parameter configuration information corresponding to the node together, so as to save the storage space. The terminal selects the previous node according to the previous node and the next node corresponding to the node to be deleted according to the mode provided in the embodiment, drags the cursor to the next node through long-time push dragging operation, releases the cursor, generates a connecting arrow between the selected node and the next node, and establishes an execution sequence between the nodes according to the direction of the connecting arrow. Therefore, the service flow can be flexibly and conveniently adjusted in real time along with the deletion of the node.
In one embodiment, the nodes include branch nodes, and configuring the corresponding node according to the parameter configuration information includes: selecting a plurality of configuration components corresponding to the branch nodes; acquiring component configuration information corresponding to a configuration component; and generating an execution condition function corresponding to the branch node according to the component configuration information.
The nodes in the workflow include normal nodes and branch nodes. The common nodes can be approved by corresponding participants, and after the approval operation is finished, the common nodes can be directly transferred to the next node. The next node corresponding to the branch node (which may also be referred to as a target node corresponding to the branch node) is usually plural. The branch node makes corresponding judgment according to the execution condition so as to decide the next circulated target node. For a common node, the terminal may be configured in the manner provided by the above-described embodiments. For the branch node, the terminal further needs to generate a corresponding execution condition.
Specifically, the terminal selects a plurality of configuration components corresponding to the branch nodes, the configuration components include condition factors, logical operators, ratio objects and the like, and different component configuration information can be input into different branch nodes. For example, the condition factor can select a corresponding factor type, the operators include "and", "or", etc., and the ratio object can be selected according to the business rule. The execution condition corresponding to a branch may be only one, or a plurality of execution conditions may be superimposed by an operator. The terminal acquires component configuration information corresponding to the configuration component,
and generating an execution condition function corresponding to the branch node according to the component configuration information. When a branch is needed for judgment, the judgment can be carried out according to the execution condition function. For example, the video return system may be configured to call the video return system to return the video to the client when the age is less than 30 years old and the loan amount is greater than 15 w. Such as activating a call-back when the customer is not married or the customer rating is below a certain value, etc.
When the branch nodes are configured, the terminal can directly connect branch connection arrows of one branch node pointing to a plurality of target nodes through long push dragging operation, and after a plurality of branch connection arrows are created, the execution condition of each branch connection arrow is configured. Therefore, the execution conditions between the branch node and each target node can be intuitively known. The terminal can also create a branch node first, connect the branch node to point to the branch connection arrow of multiple target nodes, directly configure the parameters of the workflow branch node to define multiple execution conditions, thereby reducing the number of configuration objects and reducing the jump process of condition configuration.
In one embodiment, the method further comprises: performing structure check on the workflow by using a structure check rule; and after the structure is verified, obtaining test data, and performing data verification on the workflow by using the test data.
The workflow also needs to be checked for automation after configuration is completed. The transaction includes a structure transaction and a data check. And when the workflow configuration is detected to be completed, the terminal executes structure detection on the workflow. And after the structure detection is passed, the terminal performs data verification on the workflow to be verified. Structural detection includes, but is not limited to: detecting whether the workflow nodes with the branch arrows are connected with branch workflow nodes with corresponding quantity or not; the branch must set a default value; the start node and the end node must have one and only one connection; in addition to the timeout setting, the node must have and only have two connections. When data verification is performed, the terminal obtains test data, and the test data can be automatically generated based on parameter configuration of workflow nodes. And executing the workflow based on the test data, and checking to pass when an expected response result is obtained. All conditional factors and ratio objects of the assignment function of the execution branch must be contained in the parameter configuration fields corresponding to all nodes of the flow, otherwise, the page prompt reports errors. The structure verification and the data verification are carried out on the configured workflow, so that the workflow can be ensured to run smoothly in service application.
Further, based on the checked workflow, a corresponding business process can be realized. And the terminal sends the service instance initial data and the service execution command to the workflow server, and the service execution command carries the workflow identification. The workflow server searches the configured target workflow according to the workflow identification, the target workflow comprises a plurality of workflow nodes to be executed, each workflow node to be executed corresponds to one task system server, the initial workflow node of the target workflow is determined, and the initial data of the service instance is sent to the task system server corresponding to the initial workflow node. And the workflow server acquires the service instance response data returned by the task system server. And the workflow server determines the next to-be-executed node of the initial workflow node according to the service instance response data, and repeats the step that the workflow server sends the service instance response data to the task system server corresponding to the to-be-executed node to obtain the newly returned service instance response data until the to-be-executed node has no next to-be-executed node, thereby completing the service process corresponding to the whole workflow.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 5, there is provided a workflow-based configuration processing apparatus including: a component adding module 502, a node configuring module 504, a node order establishing module 506, a workflow generating module 508, and a workflow adjusting module 510, wherein:
a component adding module 502, configured to obtain a workflow, and identify a plurality of components corresponding to the workflow according to the workflow; receiving a component acquisition instruction on a workflow configuration page, selecting a corresponding component from a component library according to the component acquisition instruction, and adding the selected component to a process design area; the components include nodes.
A node configuration module 504, configured to obtain parameter configuration information corresponding to a node, and configure the corresponding node according to the parameter configuration information; the parameter configuration information includes a service server corresponding to the node.
And a node sequence establishing module 506, configured to acquire long push dragging operations between nodes, and establish an execution sequence between nodes according to the long push dragging operations.
A workflow generation module 508, configured to generate a corresponding workflow by using the nodes, the parameter configuration information, and the execution sequence among the nodes; the nodes are used for calling the corresponding service servers according to the execution sequence.
The workflow adjusting module 510 is configured to, when receiving a node adjusting instruction, adjust parameter configuration information and an execution sequence corresponding to a node to be adjusted in a workflow configuration page according to the node to be adjusted carried in the node adjusting instruction, so as to obtain an adjusted workflow.
In one embodiment, the workflow adjusting module is further configured to add the node to be newly added to the process design area according to the node adjusting instruction when the node to be adjusted is the node to be newly added and when the node to be adjusted is the node to be newly added; acquiring parameter configuration information corresponding to a node to be newly added, and configuring the node to be newly added; the parameter configuration information comprises a service server corresponding to the node to be newly added; and determining a previous node and a next node corresponding to the node to be newly added, and establishing an execution sequence among the node to be newly added, the previous node and the next node to obtain the adjusted workflow.
In one embodiment, the workflow adjusting module is further configured to delete the node to be deleted in the flow design area according to the node adjusting instruction when the node to be adjusted is the node to be deleted; deleting the parameter configuration information corresponding to the node to be deleted; and establishing an execution sequence between the previous node and the next node corresponding to the node to be deleted to obtain the adjusted workflow.
In one embodiment, the node order establishing module is further configured to capture the selected node, and drag and move the cursor to the next node for release; generating a connecting arrow between the selected node and the next node; and establishing the execution sequence among the nodes according to the directions of the connection arrows.
In one embodiment, the node includes a branch node, and the node configuration module is further configured to select a plurality of configuration components corresponding to the branch node; acquiring component configuration information corresponding to a configuration component; and generating an execution condition function corresponding to the branch node according to the component configuration information.
In one embodiment, the apparatus further comprises: the checking module is used for carrying out structure checking on the workflow by utilizing a structure checking rule; and after the structure is verified, obtaining test data, and performing data verification on the workflow by using the test data.
For specific limitations of the workflow-based configuration processing apparatus, reference may be made to the above limitations of the workflow-based configuration processing method, which are not described herein again. The various modules in the workflow-based configuration processing apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external server through a network connection. The computer program is executed by a processor to implement a workflow-based configuration processing method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like. Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory storing a computer program and a processor implementing the steps of the above-described method embodiments when the processor executes the computer program.
In an embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the respective method embodiment as described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A workflow-based configuration processing method, the method comprising:
acquiring a workflow, and identifying a plurality of components corresponding to the workflow according to the workflow;
receiving a component acquisition instruction on a workflow configuration page, selecting a corresponding component from a component library according to the component acquisition instruction, and adding the selected component to a process design area; the components comprise nodes;
acquiring parameter configuration information corresponding to the nodes, and configuring the corresponding nodes according to the parameter configuration information; the parameter configuration information comprises a service server corresponding to the node;
acquiring long press dragging operation between nodes, and establishing an execution sequence between the nodes according to the long press dragging operation; the nodes are used for calling corresponding service servers according to the execution sequence;
generating corresponding workflow by using the nodes, the parameter configuration information and the execution sequence among the nodes;
when a node adjusting instruction is received, according to a node to be adjusted carried in the node adjusting instruction, parameter configuration information and an execution sequence corresponding to the node to be adjusted are adjusted in the workflow configuration page, and an adjusted workflow is obtained.
2. The method of claim 1, wherein the adjusting the parameter configuration information and the execution order corresponding to the node to be adjusted in the workflow configuration page comprises:
when the node to be adjusted is the node to be newly added, adding the node to be newly added to a process design area according to the node adjustment instruction;
acquiring parameter configuration information corresponding to the node to be newly added, and configuring the node to be newly added; the parameter configuration information comprises a service server corresponding to the node to be newly added;
and determining a previous node and a next node corresponding to the node to be newly added, and establishing an execution sequence among the node to be newly added, the previous node and the next node to obtain an adjusted workflow.
3. The method of claim 1, further comprising: the adjusting the parameter configuration information and the execution sequence corresponding to the node to be adjusted in the workflow configuration page includes:
when the node to be adjusted is the node to be deleted, deleting the node to be deleted in the process design area according to the node adjustment instruction;
deleting the parameter configuration information corresponding to the node to be deleted;
and establishing an execution sequence between the previous node and the next node corresponding to the node to be deleted to obtain the adjusted workflow.
4. The method of claim 1, wherein obtaining long push-to-drag operations between nodes, and wherein establishing an execution order between nodes according to the long push-to-drag operations comprises:
capturing the selected node, and dragging the cursor to the next node for release;
generating a connecting arrow between the selected node and a next node; and establishing an execution sequence among the nodes according to the direction of the connection arrow.
5. The method of claim 1, wherein the node comprises a branch node, and wherein configuring the corresponding node according to the parameter configuration information comprises:
selecting a plurality of configuration components corresponding to the branch nodes;
acquiring component configuration information corresponding to the configuration component;
and generating an execution condition function corresponding to the branch node according to the component configuration information.
6. The method according to any one of claims 1-5, further comprising:
performing structure verification on the workflow by using a structure verification rule;
and after the structure verification is passed, obtaining test data, and performing data verification on the workflow by using the test data.
7. A workflow-based configuration processing apparatus, the apparatus comprising:
the component adding module is used for acquiring a workflow and identifying a plurality of components corresponding to the workflow according to the workflow; receiving a component acquisition instruction on a workflow configuration page, selecting a corresponding component from a component library according to the component acquisition instruction, and adding the selected component to a process design area; the components comprise nodes;
the node configuration module is used for acquiring parameter configuration information corresponding to the node and configuring the corresponding node according to the parameter configuration information; the parameter configuration information comprises a service server corresponding to the node;
the node sequence establishing module is used for acquiring long press dragging operation between nodes and establishing an execution sequence between the nodes according to the long press dragging operation; the nodes are used for calling corresponding service servers according to the execution sequence;
the workflow generating module is used for generating corresponding workflows by using the nodes, the parameter configuration information and the execution sequence among the nodes;
and the workflow adjusting module is used for adjusting the parameter configuration information and the execution sequence corresponding to the node to be adjusted in the workflow configuration page according to the node to be adjusted carried in the node adjusting instruction when the node adjusting instruction is received, so as to obtain the adjusted workflow.
8. The apparatus of claim 7, wherein the workflow adjustment module is further configured to add the node to be newly added to a process design area according to the node adjustment instruction when the node to be adjusted is the node to be newly added; acquiring parameter configuration information corresponding to the node to be newly added, and configuring the node to be newly added; the parameter configuration information comprises a service server corresponding to the node to be newly added; and determining a previous node and a next node corresponding to the node to be newly added, and establishing an execution sequence among the node to be newly added, the previous node and the next node to obtain an adjusted workflow.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201910827765.5A 2019-09-03 2019-09-03 Workflow-based configuration processing method and device, computer equipment and storage medium Pending CN110704095A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910827765.5A CN110704095A (en) 2019-09-03 2019-09-03 Workflow-based configuration processing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910827765.5A CN110704095A (en) 2019-09-03 2019-09-03 Workflow-based configuration processing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110704095A true CN110704095A (en) 2020-01-17

Family

ID=69194247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910827765.5A Pending CN110704095A (en) 2019-09-03 2019-09-03 Workflow-based configuration processing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110704095A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857799A (en) * 2020-06-30 2020-10-30 海尔优家智能科技(北京)有限公司 Method and device for transmitting component information, storage medium and electronic device
CN112257008A (en) * 2020-12-22 2021-01-22 北京宇信科技集团股份有限公司 Online custom flow operation system, method, medium and server
CN112631675A (en) * 2020-12-18 2021-04-09 平安普惠企业管理有限公司 Workflow configuration method, device, equipment and computer readable storage medium
CN112799714A (en) * 2021-01-22 2021-05-14 平安养老保险股份有限公司 Business data docking method and device, computer equipment and storage medium
CN114168113A (en) * 2022-02-10 2022-03-11 湖南新云网科技有限公司 Business process management and control configuration method
CN115129307A (en) * 2022-08-26 2022-09-30 湖南云畅网络科技有限公司 Action flow arrangement method and system based on low code visualization

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857799A (en) * 2020-06-30 2020-10-30 海尔优家智能科技(北京)有限公司 Method and device for transmitting component information, storage medium and electronic device
CN112631675A (en) * 2020-12-18 2021-04-09 平安普惠企业管理有限公司 Workflow configuration method, device, equipment and computer readable storage medium
CN112257008A (en) * 2020-12-22 2021-01-22 北京宇信科技集团股份有限公司 Online custom flow operation system, method, medium and server
CN112799714A (en) * 2021-01-22 2021-05-14 平安养老保险股份有限公司 Business data docking method and device, computer equipment and storage medium
CN114168113A (en) * 2022-02-10 2022-03-11 湖南新云网科技有限公司 Business process management and control configuration method
CN114168113B (en) * 2022-02-10 2022-06-07 湖南新云网科技有限公司 Business process management and control configuration method
CN115129307A (en) * 2022-08-26 2022-09-30 湖南云畅网络科技有限公司 Action flow arrangement method and system based on low code visualization

Similar Documents

Publication Publication Date Title
CN110704095A (en) Workflow-based configuration processing method and device, computer equipment and storage medium
CN110209652B (en) Data table migration method, device, computer equipment and storage medium
CN110689232A (en) Workflow configuration optimization processing method and device and computer equipment
CN110008118B (en) Page data testing method and device, computer equipment and storage medium
CN108804618B (en) Database configuration method, device, computer equipment and storage medium
CN109814854B (en) Project framework generation method, device, computer equipment and storage medium
CN110956269B (en) Method, device, equipment and computer storage medium for generating data model
CN110598380B (en) User right management method, device, computer equipment and storage medium
CN109683982B (en) MES system control method, MES system control device, computer equipment, and storage medium
CN111078559B (en) Method, device, medium and computer equipment for extracting function call in java code
CN110659092B (en) Webpage screenshot method and device, computer equipment and storage medium
CN110717647A (en) Decision flow construction method and device, computer equipment and storage medium
CN111190609B (en) Service processing method, device, equipment and storage medium
CN111176767A (en) Table data processing method and device, computer equipment and storage medium
CN114531477B (en) Method and device for configuring functional components, computer equipment and storage medium
CN111857498B (en) Data interaction method and device and electronic equipment
CN111033465B (en) Terminal device, UI extension method, and recording medium
CN112288400A (en) Multi-system data interaction method and device, computer equipment and storage medium
CN111708971A (en) Page configuration method and device, computer equipment and storage medium
CN113569541A (en) Message generation method, device, equipment and medium
CN113014623A (en) Method and device for processing real-time streaming data of embedded point, computer equipment and storage medium
CN112306471A (en) Task scheduling method and device
CN107102937B (en) User interface testing method and device
CN109542962B (en) Data processing method, data processing device, computer equipment and storage medium
CN111309991A (en) Query statement generation method and device and data query method and system

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