CN110738389A - Workflow processing method and device, computer equipment and storage medium - Google Patents

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

Info

Publication number
CN110738389A
CN110738389A CN201910828950.6A CN201910828950A CN110738389A CN 110738389 A CN110738389 A CN 110738389A CN 201910828950 A CN201910828950 A CN 201910828950A CN 110738389 A CN110738389 A CN 110738389A
Authority
CN
China
Prior art keywords
workflow
node
service instance
target
task system
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
CN201910828950.6A
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 CN201910828950.6A priority Critical patent/CN110738389A/en
Publication of CN110738389A publication Critical patent/CN110738389A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06316Sequencing of tasks or work
    • 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/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • 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/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06312Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
    • 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/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

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

Abstract

The method comprises the steps of receiving a service execution instruction and a service instance initial data packet sent by a terminal, searching a corresponding target workflow according to a workflow identification, determining an initial workflow node of the target workflow, sending the service instance initial data packet to a task system server corresponding to the initial workflow node, obtaining service instance response data returned by the task system server, updating the service instance initial data packet according to the service instance response data, determining a lower to-be-executed node according to the service instance response data, repeating the step of sending the updated workflow data packet to the task system server corresponding to the to-be-executed workflow node, stopping searching the corresponding target workflow until the lower to-be-executed node is empty, and sending the service instance response data to the terminal.

Description

Workflow 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 workflow processing methods and apparatuses, a computer device, and a storage medium.
Background
The workflow refers to a flow formed by various links required to pass in the service implementation process according to , the workflow executed by the service can be generally managed through a workflow management system, and a workflow instance is executed according to the workflow logic of a workflow template constructed on a workflow management platform.
However, in the conventional method, when workflows are executed based on a workflow management system, each workflow performs logic processing based on provided data, however, since workflow nodes are independent from each other, problems such as data docking errors are easily caused, and a workflow node server cannot accurately implement a business process. Therefore, how to effectively improve the flow processing efficiency of the workflow node becomes a technical problem to be solved at present.
Disclosure of Invention
In view of the above, it is necessary to provide methods, apparatuses, computer devices, and storage media for workflow processing, which can effectively improve the efficiency of workflow node flow processing.
a method of workflow processing, the method comprising:
receiving a service execution instruction and a service instance initial data packet sent by a terminal; the service execution instruction carries a workflow identifier;
searching a corresponding target workflow according to the workflow identification, wherein the target workflow comprises a plurality of workflow nodes to be executed, and each workflow node to be executed corresponds to task system servers;
determining an initial workflow node of the target workflow, and sending the service instance initial data packet to a task system server corresponding to the initial workflow node;
acquiring service instance response data returned by the task system server, and updating the service instance initial data packet according to the service instance response data to obtain an updated workflow data packet;
determining a lower to-be-executed node of the initial workflow node according to the service instance response data;
repeating the step of sending the updated workflow data packet to a task system server corresponding to the workflow node to be executed, and continuously obtaining newly returned service instance response data;
and stopping searching for the corresponding target workflow until the lower node to be executed is empty, and sending the service instance response data to the terminal.
In embodiments, before searching for a corresponding target workflow according to the workflow identification, the method further includes receiving a component retrieval instruction sent by the terminal, selecting a target configurable node from a node template library according to the component retrieval instruction, adding the target configurable node to a process design area, obtaining a parameter configuration instruction, performing parameter configuration on the target configurable node according to the parameter configuration instruction, wherein the configurable parameter includes a front node field and a rear node field, detecting a node pointing operation acting on the process design area, obtaining a starting target configurable node and a terminating target configurable node according to the node pointing operation, and configuring a rear node field of the starting target configurable node and a front node field of the terminating target configurable node according to the node pointing operation.
In embodiments, the step of searching for the corresponding target workflow according to the workflow identifier includes acquiring a system configuration operation, associating a task system resource set list according to the system configuration operation, searching and selecting a required task system server from the task system resource set list according to the workflow identifier, acquiring a parameter source corresponding to a target interface field according to the corresponding target interface field in the task system resource set list, acquiring a parameter value corresponding to the target interface field according to the parameter source, and calling the corresponding task system interface by using the parameter value as an input parameter.
In embodiments, the updating of the workflow data packet according to the service instance response data includes analyzing the service instance response data to obtain a plurality of response field parameters, each response field parameter includes a corresponding storage mode option, acquiring data to be updated corresponding to the previous workflow data packet, adding the response field parameters to be stored in the storage mode options to the data to be updated, repackaging the data to be updated when all the storage mode options are response fields to be stored are added to the data to be updated, and using the data to be updated as a new workflow data packet.
In embodiments, the method further comprises the steps of sending the workflow data packet to the corresponding task system servers for processing according to the configuration information of the workflow node, obtaining response subdata returned after the task system servers finish processing, and summarizing the response subdata to serve as response data.
In embodiments, the method further comprises the steps of detecting whether the service instance response data contain system fault information, searching a corresponding slave task system server in a master task system server when the service instance response data contain the system fault information, sending the service instance initial data packet to the slave task system server for processing, and updating the service instance initial data packet according to the service instance response data returned by the slave task system server to obtain an updated workflow data packet.
a workflow processing apparatus, the apparatus comprising:
the instruction receiving module is used for receiving a service execution instruction and a service instance initial data packet sent by the terminal; the service execution instruction carries a workflow identifier;
the node searching module is used for searching a corresponding target workflow according to the workflow identification, wherein the target workflow comprises a plurality of workflow nodes to be executed, and each workflow node to be executed corresponds to task system servers;
the data flow module is used for determining an initial workflow node of the target workflow and sending the service instance initial data packet to a task system server corresponding to the initial workflow node; acquiring service instance response data returned by the task system server, and updating the service instance initial data packet according to the service instance response data to obtain an updated workflow data packet;
the node searching module is further configured to determine a lower to-be-executed node of the initial workflow node according to the service instance response data;
the data flow module is also used for repeating the step of sending the updated workflow data packet to the task system server corresponding to the workflow node to be executed, and continuously obtaining the newly returned service instance response data;
and the data sending module is configured to stop searching for the corresponding target workflow until the lower node to be executed is empty, and send the service instance response data to the terminal.
In embodiments, the node search module is further configured to receive a component search instruction sent by the terminal, select a target configurable node from a node template library according to the component search instruction, add the target configurable node to a process design area, acquire a parameter configuration instruction, perform parameter configuration on the target configurable node according to the parameter configuration instruction, where a target configurable node parameter includes a front node field and a rear node field, detect a node pointing operation acting on the process design area, acquire a starting target configurable node and a terminating target configurable node according to the node pointing operation, configure a rear node field of the starting target configurable node and a front node field of the terminating target configurable node according to the node pointing operation.
computer apparatus comprising a memory storing a computer program and a processor, the processor when executing the computer program implementing the steps of the workflow processing method provided in any of embodiments of the present application.
computer readable storage medium having stored thereon a computer program which when executed by a processor implements the steps of the workflow processing method provided in any of embodiments of the present application.
The workflow processing method, the workflow processing device, the computer equipment and the storage medium are characterized in that a workflow server receives a service execution instruction and a service instance initial data packet sent by a terminal, the service execution instruction carries a workflow identification, a corresponding target workflow is searched 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 task system servers, an initial workflow node of the target workflow is determined, the service instance initial data packet is sent to the task system server corresponding to the initial workflow node, service instance response data returned by the task system servers are obtained, the service instance initial data packet is updated according to the service instance response data, an updated workflow data packet is obtained, and therefore service instance data in the workflow are effectively updated, the nodes to be executed below of the initial workflow node are determined according to the service instance response data, the steps of sending the updated workflow packet data to the task system server corresponding to the workflow nodes to be executed are repeated, the newly returned service instance response data are continuously obtained, the corresponding workflow data to the task system server corresponding to the workflow nodes to be executed are searched until nodes to be empty, the corresponding workflow nodes are searched, the target workflow data packet is sent, and the subsequent workflow data can be processed accurately and the service data can be processed completely and the service data can be processed.
Drawings
FIG. 1 is a diagram of an application scenario of a workflow processing method in embodiments;
FIG. 2 is a flow chart illustrating a workflow processing method in exemplary embodiments;
FIG. 3 is a flow chart illustrating the node parameter configuration steps in embodiments;
FIG. 4 is a flow chart illustrating the workflow identification lookup step of the embodiments;
FIG. 5 is an interface schematic diagram of an associated system configuration in embodiments;
FIG. 6 is a block diagram showing the structure of a workflow processing apparatus in embodiments;
fig. 7 is an internal structural view of a computer device in embodiments.
Detailed Description
For purposes of making the present application, its objects, aspects and advantages more apparent, the present application is described in further detail with reference to the drawings and the examples.
The workflow processing method provided by the application can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the workflow server 104 via a network and the workflow server 104 communicates with the task system server 106 via a network. The terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, and tablet computers, and the workflow server 104 and the task system server 106 may be implemented by independent servers or a server cluster formed by a plurality of servers.
In embodiments, as shown in fig. 2, workflow processing methods are provided, and the method is exemplified by being applied to the workflow server in fig. 1, and includes the following steps:
step 202, receiving a service execution instruction and a service instance initial data packet sent by a terminal; the service execution instruction carries a workflow identification.
The workflow refers to a flow formed by links needed to pass in a service implementation process according to , the workflow can be generally managed by a workflow management system, a workflow instance is executed according to workflow logic of a workflow template constructed on a workflow management platform, a service execution instruction refers to a service instruction sent to a service system by a user through a corresponding terminal so that the service system can perform corresponding service processing on the service execution instruction, a service instance initial data packet refers to service information needed when the service execution instruction is processed and data packets corresponding to database programs capable of supporting database operation, and the workflow identifier can represent a node identifier corresponding to a target workflow needing to process the service execution instruction.
The terminal can configure the workflow nodes in real time in the process of configuring the workflow. And in the process flow, updating a workflow data packet through a plurality of interfaces of a plurality of nodes according to configuration items stored by the interfaces and the execution sequence of the interfaces in the whole process, and pushing the data packet information to a corresponding task system at a specified node.
The user can send a service execution instruction and a service instance initial data packet to the workflow server by using the corresponding terminal, and the service execution instruction carries the workflow identification.
And step 204, searching a corresponding target workflow according to the workflow identification, wherein the target workflow comprises a plurality of workflow nodes to be executed, and each workflow node to be executed corresponds to task system servers.
Step 206, determining an initial workflow node of the target workflow, and sending the service instance initial data packet to a task system server corresponding to the initial workflow node.
The target workflow comprises a plurality of workflow nodes to be executed, and each workflow node to be executed corresponds to task system servers.
After receiving a service execution instruction and a service instance initial data packet sent by a terminal, the workflow server searches for a corresponding target workflow according to the workflow identifier, determines an initial workflow node in the target workflow, and sends the service instance initial data packet to a task system server corresponding to the initial workflow node. And the task system server executes the service execution instruction according to the service instance initial data packet, and generates corresponding service instance response data and returns the service instance response data to the workflow server after processing the related service in the service execution instruction.
And step 208, acquiring service instance response data returned by the task system server, and updating the service instance initial data packet according to the service instance response data to obtain an updated workflow data packet.
And after the task system server corresponding to the initial workflow node processes the related services in the service execution instruction, the workflow server acquires service instance response data returned by the task system server and updates a workflow data packet according to the service instance response data returned by the task system server. Specifically, after the workflow server obtains the service instance response data, the service instance response data may include parameter information of the workflow, and the workflow server updates the workflow packet according to the parameter information of the workflow, so as to obtain an updated workflow packet.
For example, a service request may enter a process flow process according to a service execution instruction, in the process, more and more data are acquired by calling each task system, some data need to be stored and notified to other systems, the words are set to be stored during configuration, the data are configured into each task system along with a workflow through an entry, and some fields have no actual service significance to other task systems and may be configured as not to be stored. I.e. the packet will only hold the required fields.
And step 210, determining a lower to-be-executed node of the initial workflow node according to the service instance response data.
And step 212, repeating the step of sending the updated workflow data packet to the task system server corresponding to the workflow node to be executed, and continuously obtaining the newly returned service instance response data.
And step 214, stopping searching the corresponding target workflow until the lower node to be executed is empty, and sending the service instance response data to the terminal.
The method comprises the steps that a workflow server updates the workflow data packet according to service instance response data returned by a task system server, after the updated workflow data packet is obtained, a lower node to be executed of an initial workflow node is determined according to the service instance response data, the workflow server repeatedly sends the updated workflow data packet to a task system server corresponding to the node to be executed, the step of obtaining newly returned service instance response data is obtained, when the node to be executed has no lower node to be executed, searching for a corresponding target workflow is stopped, the service instance response data is sent to a terminal, the service flow corresponding to the whole workflow is completed, and after each workflow node is completed, data packaging is performed, so that subsequent workflow nodes can completely acquire comprehensive data of preambles, and the workflow server can perform accurate logic processing based on the complete data packet and accurately realize the service process.
The workflow processing method includes the steps that a workflow server receives a service execution instruction and a service instance initial data packet sent by a terminal, the service execution instruction carries a workflow identification, a corresponding target workflow is searched 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 task system servers, the initial workflow node of the target workflow is determined, the service instance initial data packet is sent to the task system server corresponding to the initial workflow node, service instance response data returned by the task system server is obtained, the service instance initial data packet is updated according to the service instance response data, an updated workflow data packet is obtained, and accordingly service instance data in the workflow is effectively updated, the lower nodes to be executed of the initial workflow node are determined according to the service instance response data, the step of sending the updated workflow data packet to the task system server corresponding to the workflow nodes to be executed is repeated, the newly returned service instance response data is continuously obtained, the lower nodes to be executed are empty, the corresponding target workflow data is stopped being searched, the service instance response data packet is sent to the task system server corresponding to the terminal, and the subsequent workflow data packet can be processed completely and the efficiency of the subsequent workflow can be accurately and the subsequent workflow data can be processed.
In embodiments, as shown in fig. 3, before searching for a corresponding target workflow according to a workflow identifier, the method further includes a step of configuring a node parameter, where the step specifically includes the following steps:
step 302, receiving a component retrieval instruction sent by the terminal.
And step 304, selecting a target configurable node from the node template library according to the component retrieval instruction, and adding the target configurable node to the process design area.
Step 306, acquiring a parameter configuration instruction, and performing parameter configuration on the target configurable node according to the parameter configuration instruction; the configurable parameters include a front node field and a back node field.
And 308, detecting node pointing operation acting in the process design area, and acquiring a starting target configurable node and a terminating target configurable node according to the node pointing operation.
Step 310, configuring the back node field of the initial target configurable node and the front node field of the termination target configurable node according to the node pointing operation.
The workflow server may pre-configure the workflow before receiving the service execution instruction sent by the terminal. Specifically, when a user configures a workflow through a terminal, a workflow server may display a workflow configuration interface to the terminal, where the workflow configuration interface includes a configurable node component area, a component parameter area, and a flow design area.
When a workflow server receives a component retrieval instruction sent by a terminal, selecting a target configurable node from a node template library, and adding the target configurable node to a process design area; acquiring a parameter configuration instruction sent by a terminal, and performing parameter configuration on a target configurable node based on the parameter configuration instruction; the parameters of the configurable section also include a front node field and a back node field. The method comprises the steps that a workflow server detects node pointing operation acting in a process design area, the node pointing operation corresponds to a starting target configurable node and a terminating target configurable node, and when the workflow server detects the node pointing operation acting in the process design area, the starting target configurable node and the terminating target configurable node corresponding to a service execution instruction can be detected. The node pointing operation comprises a plurality of specific node pointing information and node parameters; and after the workflow server, performing parameter configuration on the target configurable node according to the parameter configuration instruction to acquire the node pointing operation, so that a rear node field of the starting target configurable node can be configured according to the node pointing operation and the configuration parameters of the target configurable node, and a front node field of the ending target configurable node can be configured. For example, the node pointing operation may be a long press-and-drag operation, by which specific node pointing information is determined. The execution sequence among all workflow nodes is automatically generated through the interface dragging component, the operation of the terminal is reduced, and therefore the workflow configuration efficiency is improved.
In embodiments, as shown in fig. 4, the step of finding a corresponding target workflow according to the workflow identifier specifically includes the following steps:
step 402, obtaining system configuration operation, and associating a task system resource set list according to the system configuration operation.
Step 404, searching and selecting the required task system server from the task system resource collection list according to the workflow identification.
And 406, acquiring a parameter source corresponding to the target interface field according to the corresponding target interface field in the task system resource set list.
And step 408, acquiring a parameter value corresponding to the target interface field according to the parameter source, and calling a corresponding task system interface by using the parameter value as an input parameter.
Wherein, a plurality of task system resource sets can be preset for each workflow node component, and the task system resources include but are not limited to apps, sdk and web. When the workflow server obtains a system configuration operation of a user acting on a target configurable node of a process design area, for example, when the target configurable node is double-clicked, a relevant system configuration interface as shown in fig. 5 is displayed.
The user can search and select the required task system server from the task system resource collection list contained in the associated system configuration interface; after the task system server is selected, the user can also configure the interface input parameters of the task system server, add the interface field at first, can preset the interface field library, and pull the target interface field corresponding to the selected task system server from the interface field library. The fixed value can be directly set for the target interface field, and a parameter source for setting the corresponding parameter of the target interface field can also be selected. Wherein, the parameter source can identify the value source of the parameter.
When the workflow server executes the workflow in the service execution instruction, a preset fixed value is directly selected or a value corresponding to the field is searched from a preset value source to serve as an input parameter to call an interface of the task system. By the aid of the task system server corresponding to the configurable workflow nodes in real time, data streams can be updated in time when the task system server is changed.
In embodiments, the step of updating the workflow data packet according to the service instance response data includes analyzing the service instance response data to obtain a plurality of response field parameters, each response field parameter includes a corresponding storage mode option, acquiring data to be updated corresponding to the previous workflow data packet, adding the response field parameters to be stored in the storage mode options to the data to be updated, repackaging the data to be updated when all the storage mode options are response fields to be stored are added to the data to be updated, and using the data to be updated as a new workflow data packet.
The method comprises the steps that a workflow server receives a service execution instruction and a service instance initial data packet sent by a terminal, searches a corresponding target workflow according to a workflow identification, the target workflow comprises a plurality of workflow nodes to be executed, each workflow node to be executed corresponds to task system servers, the workflow server determines the initial workflow node of the target workflow, sends the service instance initial data packet to the task system server corresponding to the initial workflow node, and updates the workflow data packet according to service instance response data after the workflow server obtains service instance response data returned by the task system server.
The workflow server analyzes service instance response data returned by the task system server to obtain a plurality of response field parameters, wherein the response field parameters represent response parameters included in the service instance response data, for example, the response field parameters comprise a plurality of field names and corresponding field parameters, such as response time, response workflow nodes, corresponding parameter information and the like.
In embodiments, the method further includes sending the workflow data packet to the corresponding task system servers for processing according to the configuration information of the workflow node, acquiring response subdata returned after the processing of the task system servers is completed, and summarizing the response subdata to serve as response data.
Wherein each workflow node may also correspond to a plurality of task system servers to be executed. The user can pre-configure the execution sequence of a plurality of task system servers, and the execution sequence can be parallel or serial; when the workflow server executes the workflow, the workflow node sends the workflow data packet to the corresponding task system servers for processing according to the configured sequence simultaneously or sequentially.
And after all the task system servers finish processing and return the response subdata, summarizing the plurality of response subdata to serve as response data. For example, if the underwriting service node needs to pass through the policy sales system and the policy management system, the underwriting service node can be configured to serially call two task system servers, the order of the policy sales system is 1, and the order of the policy management system is 2, the response subdata returned by the policy sales system server is firstly obtained, and then the workflow data packet is sent to the policy management system server for processing; and the insurance acceptance service node can be configured to call the two task system servers in parallel, the workflow data packet is simultaneously sent to the insurance policy sales system server and the insurance policy management system server, and the workflow data packet is processed by using the plurality of task system servers, so that the target workflow node can simultaneously carry out concurrent processing according to the configured sequence, and the processing efficiency of the workflow data packet is effectively improved.
In embodiments, the method further includes detecting whether the service instance response data includes system fault information, searching a corresponding slave task system server in the master task system server when the service instance response data includes the system fault information, sending the service instance initial data packet to the slave task system server for processing, and updating the service instance initial data packet according to the service instance response data returned by the slave task system server to obtain an updated workflow data packet.
Specifically, a master server and a slave server can be preset for each workflow node, when the workflow server acquires service instance response data returned by the master task system server in the workflow execution process, steps can be further performed to detect whether the service instance response data contains system fault information, when the system fault information is contained, the slave task system server corresponding to the master task system server is searched for according to a target workflow and a target configurable node, then the service instance workflow data packet is sent to the slave task system server for processing, and then the service instance workflow data packet is updated according to the service instance response data returned from the task system server.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in the order indicated by the arrows, unless explicitly stated herein, the steps are not performed in a strict order of limitation, and the steps may be performed in other orders, and further, at least the portion of the step of in fig. 2-4 may include multiple sub-steps or stages, which 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 performed in sequence, but may be rotated or alternated with at least portions of other steps or sub-steps or stages of other steps.
In embodiments, as shown in fig. 6, workflow processing means are provided, which comprise an instruction receiving module 602, a node searching module 604, a data flow conversion module 606 and a data sending module 608, wherein:
an instruction receiving module 602, configured to receive a service execution instruction and a service instance initial data packet sent by a terminal; the service execution instruction carries the workflow identification;
the node searching module 604 is used for searching a corresponding target workflow according to the workflow identification, wherein the target workflow comprises a plurality of workflow nodes to be executed, and each workflow node to be executed corresponds to task system servers;
a data flow module 606, configured to determine an initial workflow node of a target workflow, and send a service instance initial data packet to a task system server corresponding to the initial workflow node; acquiring service instance response data returned by the task system server, and updating a service instance initial data packet according to the service instance response data to obtain an updated workflow data packet;
the node searching module 604 is further configured to determine a lower to-be-executed node of the initial workflow node according to the service instance response data;
the data flow module 606 is further configured to repeat the step of sending the updated workflow data packet to the task system server corresponding to the to-be-executed workflow node, and continuously obtain newly-returned service instance response data;
and a data sending module 608, configured to stop searching for a corresponding target workflow until the lower node to be executed is empty, and send service instance response data to the terminal.
In embodiments, the device further comprises a parameter configuration module for receiving a component retrieval instruction sent by the terminal, selecting a target configurable node from the node template library according to the component retrieval instruction, adding the target configurable node to the process design area, acquiring a parameter configuration instruction, and performing parameter configuration on the target configurable node according to the parameter configuration instruction, wherein the configurable parameter comprises a front node field and a rear node field, detecting a node pointing operation acting in the process design area, acquiring a starting target configurable node and a terminating target configurable node according to the node pointing operation, configuring the rear node field of the starting target configurable node and the front node field of the terminating target configurable node according to the node pointing operation.
In embodiments, the node search module 604 is further configured to obtain a system configuration operation, associate a task system resource aggregation list with the system configuration operation, search and select a required task system server from the task system resource aggregation list according to the workflow identifier, obtain a parameter source corresponding to a target interface field according to a corresponding target interface field in the task system resource aggregation list, obtain a parameter value corresponding to the target interface field according to the parameter source, and call a corresponding task system interface using the parameter value as an input parameter.
In embodiments, the data flow module 606 is further configured to parse the service instance response data to obtain a plurality of response field parameters, where each response field parameter includes a corresponding storage method option, obtain data to be updated corresponding to the previous workflow data packet, add the response field parameter to be stored in the storage method option to the data to be updated, repackage the data to be updated when all the storage method options are response fields to be stored are added to the data to be updated, and use the data to be updated as a new workflow data packet.
In embodiments, the data flow module 606 is further configured to send the workflow data packet to the plurality of corresponding task system servers for processing according to the configuration information of the workflow node, obtain response sub-data returned after the processing of the plurality of task system servers is completed, and aggregate the plurality of response sub-data to serve as response data.
In embodiments, the apparatus further includes a fault detection module for detecting whether the service instance response data includes system fault information, when the service instance response data includes the system fault information, searching a corresponding slave task system server in the master task system server, sending the service instance initial data packet to the slave task system server for processing, and updating the service instance initial data packet according to the service instance response data returned from the slave task system server to obtain an updated workflow data packet.
For specific limitations of the workflow processing apparatus, reference may be made to the above limitations of the workflow processing method, which are not described herein again. The respective modules in the workflow processing apparatus described above may be implemented in whole or in part by software, hardware, and a combination 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 embodiments, there are provided kinds of computer devices, which may be servers, the internal structure of which may be as shown in FIG. 7, the computer devices include a processor, a memory, a network interface and a database connected by a system bus, wherein the processor of the computer device is used to provide computing and control capabilities, the memory of the computer device includes a non-volatile storage medium, an internal memory, the non-volatile storage medium stores an operating system, a computer program and a database.
Those skilled in the art will appreciate that the architecture shown in fig. 7 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 embodiments, computer readable storage media are provided, on which a computer program is stored, which when executed by a processor, performs the steps of the workflow processing method provided in any of embodiments of the present application.
It will be understood by those of ordinary skill in the art that all or a portion of the processes of the methods of the embodiments described above may be implemented by a computer program that may be stored in a non-volatile computer-readable storage medium, which when executed, may include the processes of the embodiments of the methods described above, wherein any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory.
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 method of workflow processing, the method comprising:
receiving a service execution instruction and a service instance initial data packet sent by a terminal; the service execution instruction carries a workflow identifier;
searching a corresponding target workflow according to the workflow identification, wherein the target workflow comprises a plurality of workflow nodes to be executed, and each workflow node to be executed corresponds to task system servers;
determining an initial workflow node of the target workflow, and sending the service instance initial data packet to a task system server corresponding to the initial workflow node;
acquiring service instance response data returned by the task system server, and updating the service instance initial data packet according to the service instance response data to obtain an updated workflow data packet;
determining a lower to-be-executed node of the initial workflow node according to the service instance response data;
repeating the step of sending the updated workflow data packet to a task system server corresponding to the workflow node to be executed, and continuously obtaining newly returned service instance response data;
and stopping searching for the corresponding target workflow until the lower node to be executed is empty, and sending the service instance response data to the terminal.
2. The method of claim 1, wherein prior to finding the corresponding target workflow based on the workflow identification, further comprising:
receiving a component retrieval instruction sent by the terminal;
selecting a target configurable node from a node template library according to the component retrieval instruction, and adding the target configurable node to a process design area;
acquiring a parameter configuration instruction, and performing parameter configuration on the target configurable node according to the parameter configuration instruction; the configurable parameters comprise a front node field and a back node field;
detecting node pointing operation acting on the process design area, and acquiring a starting target configurable node and a terminating target configurable node according to the node pointing operation;
and configuring a rear node field of the initial target configurable node and a front node field of the final target configurable node according to the node pointing operation.
3. The method of claim 2, wherein the step of finding a corresponding target workflow based on the workflow identification comprises:
acquiring system configuration operation, and associating a task system resource set list according to the system configuration operation;
searching and selecting a required task system server from the task system resource set list according to the workflow identification;
acquiring a parameter source corresponding to a target interface field according to the corresponding target interface field in the task system resource set list;
and acquiring a parameter value corresponding to the target interface field according to the parameter source, and calling a corresponding task system interface by taking the parameter value as an input parameter.
4. The method of claim 1, wherein the step of updating workflow packets based on the service instance response data comprises:
analyzing the service instance response data to obtain a plurality of response field parameters; each response field parameter comprises a corresponding storage mode option;
acquiring data to be updated corresponding to a front workflow data packet;
adding the response field parameters to be stored in the storage mode options to the data to be updated;
and when all the storage mode options are response fields to be stored and added into the data to be updated, repackaging the data to be updated and taking the data to be updated as a new workflow data packet.
5. The method of claim 1, further comprising:
sending the workflow data packet to a plurality of corresponding task system servers for processing according to the configuration information of the workflow node;
and acquiring response subdata returned after the processing of the plurality of task system servers is finished, and summarizing the plurality of response subdata to be used as response data.
6. The method of any of , wherein the method further comprises:
detecting whether the service instance response data contains system fault information;
when the system fault information is contained, searching a corresponding slave task system server in the master task system server;
and sending the service instance initial streaming data packet to the slave task system server for processing, and updating the service instance initial data packet according to the service instance response data returned by the slave task system server to obtain an updated workflow data packet.
7, A workflow processing apparatus, the apparatus comprising:
the instruction receiving module is used for receiving a service execution instruction and a service instance initial data packet sent by the terminal; the service execution instruction carries a workflow identifier;
the node searching module is used for searching a corresponding target workflow according to the workflow identification, wherein the target workflow comprises a plurality of workflow nodes to be executed, and each workflow node to be executed corresponds to task system servers;
the data flow module is used for determining an initial workflow node of the target workflow and sending the service instance initial data packet to a task system server corresponding to the initial workflow node; acquiring service instance response data returned by the task system server, and updating the service instance initial data packet according to the service instance response data to obtain an updated workflow data packet;
the node searching module is further configured to determine a lower to-be-executed node of the initial workflow node according to the service instance response data;
the data flow module is also used for repeating the step of sending the updated workflow data packet to the task system server corresponding to the workflow node to be executed, and continuously obtaining the newly returned service instance response data;
and the data sending module is configured to stop searching for the corresponding target workflow until the lower node to be executed is empty, and send the service instance response data to the terminal.
8. The apparatus of claim 7, wherein the node searching module is further configured to receive a component retrieving instruction sent by the terminal; selecting a target configurable node from a node template library according to the component retrieval instruction, and adding the target configurable node to a process design area; acquiring a parameter configuration instruction, and performing parameter configuration on the target configurable node according to the parameter configuration instruction; the target configurable node parameters comprise a front node field and a rear node field; detecting node pointing operation acting on the process design area, and acquiring a starting target configurable node and a terminating target configurable node according to the node pointing operation; and configuring a rear node field of the initial target configurable node and a front node field of the final target configurable node according to the node pointing operation.
Computer device of , comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program is configured to carry out the steps of the method of any of claims 1 to 6 as claimed in .
10, 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 of claims 1 to 6, wherein represents a set of instructions for carrying out the method.
CN201910828950.6A 2019-09-03 2019-09-03 Workflow processing method and device, computer equipment and storage medium Pending CN110738389A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910828950.6A CN110738389A (en) 2019-09-03 2019-09-03 Workflow processing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910828950.6A CN110738389A (en) 2019-09-03 2019-09-03 Workflow processing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110738389A true CN110738389A (en) 2020-01-31

Family

ID=69267465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910828950.6A Pending CN110738389A (en) 2019-09-03 2019-09-03 Workflow processing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110738389A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506406A (en) * 2020-04-10 2020-08-07 深圳前海微众银行股份有限公司 Workflow scheduling method, device and system and computer readable storage medium
CN111754207A (en) * 2020-06-30 2020-10-09 深圳壹账通智能科技有限公司 Process instance management method and device, computer equipment and readable storage medium
CN111818305A (en) * 2020-07-09 2020-10-23 杭州海康威视数字技术股份有限公司 Distributed system, service control method and device
CN111885105A (en) * 2020-06-16 2020-11-03 广州三七互娱科技有限公司 Task execution method, device, system, computer equipment and storage medium
CN112001707A (en) * 2020-09-02 2020-11-27 平安养老保险股份有限公司 Business workflow generation method and system based on business data
CN112068936A (en) * 2020-07-16 2020-12-11 石化盈科信息技术有限责任公司 Workflow management platform and workflow management system
CN112084196A (en) * 2020-09-11 2020-12-15 武汉一格空间科技有限公司 Process data processing method and system
CN112202899A (en) * 2020-09-30 2021-01-08 北京百度网讯科技有限公司 Workflow processing method and device, intelligent workstation and electronic equipment
CN112256695A (en) * 2020-09-18 2021-01-22 银联商务股份有限公司 Visualized graph calculation method and system, storage medium and electronic device
CN112367363A (en) * 2020-10-23 2021-02-12 深圳前海微众银行股份有限公司 Information sharing method, device, server and storage medium
CN112380255A (en) * 2020-11-16 2021-02-19 广东亿迅科技有限公司 Service processing method, device, equipment and storage medium
CN112416476A (en) * 2020-11-25 2021-02-26 武汉联影医疗科技有限公司 Workflow execution method and device, computer equipment and storage medium
CN114169801A (en) * 2021-12-27 2022-03-11 中国建设银行股份有限公司 Workflow scheduling method and device
CN114185619A (en) * 2021-12-14 2022-03-15 平安付科技服务有限公司 Breakpoint compensation method, device, equipment and medium based on distributed operation
CN115658270A (en) * 2022-11-02 2023-01-31 广州市易鸿智能装备有限公司 Workflow execution method, device, equipment and storage medium of visual system
WO2024037132A1 (en) * 2022-08-15 2024-02-22 腾讯科技(深圳)有限公司 Workflow processing method and apparatus, and device, storage medium and program product
CN111506406B (en) * 2020-04-10 2024-07-02 深圳前海微众银行股份有限公司 Workflow scheduling method, device, system and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020156664A1 (en) * 2001-02-20 2002-10-24 Willcox William J. Method and apparatus for service request handling
CN105740997A (en) * 2014-12-09 2016-07-06 北大方正集团有限公司 Method and device for controlling task flow, and database management system
CN106897810A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 Method for processing business and system, workflow engine and system, operation system
CN106897857A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 A kind of workflow processing method and system
US20180020050A1 (en) * 2016-07-12 2018-01-18 International Business Machines Corporation Replication optimization for object storage environments
US20190129748A1 (en) * 2017-10-27 2019-05-02 International Business Machines Corporation Cognitive learning workflow execution

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020156664A1 (en) * 2001-02-20 2002-10-24 Willcox William J. Method and apparatus for service request handling
CN105740997A (en) * 2014-12-09 2016-07-06 北大方正集团有限公司 Method and device for controlling task flow, and database management system
CN106897810A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 Method for processing business and system, workflow engine and system, operation system
CN106897857A (en) * 2015-12-17 2017-06-27 北京奇虎科技有限公司 A kind of workflow processing method and system
US20180020050A1 (en) * 2016-07-12 2018-01-18 International Business Machines Corporation Replication optimization for object storage environments
US20190129748A1 (en) * 2017-10-27 2019-05-02 International Business Machines Corporation Cognitive learning workflow execution

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111506406A (en) * 2020-04-10 2020-08-07 深圳前海微众银行股份有限公司 Workflow scheduling method, device and system and computer readable storage medium
CN111506406B (en) * 2020-04-10 2024-07-02 深圳前海微众银行股份有限公司 Workflow scheduling method, device, system and computer readable storage medium
CN111885105A (en) * 2020-06-16 2020-11-03 广州三七互娱科技有限公司 Task execution method, device, system, computer equipment and storage medium
CN111754207A (en) * 2020-06-30 2020-10-09 深圳壹账通智能科技有限公司 Process instance management method and device, computer equipment and readable storage medium
CN111818305B (en) * 2020-07-09 2021-12-10 杭州海康威视数字技术股份有限公司 Distributed system, service control method and device
CN111818305A (en) * 2020-07-09 2020-10-23 杭州海康威视数字技术股份有限公司 Distributed system, service control method and device
CN112068936A (en) * 2020-07-16 2020-12-11 石化盈科信息技术有限责任公司 Workflow management platform and workflow management system
CN112068936B (en) * 2020-07-16 2024-05-31 石化盈科信息技术有限责任公司 Workflow management platform and workflow management system
CN112001707A (en) * 2020-09-02 2020-11-27 平安养老保险股份有限公司 Business workflow generation method and system based on business data
CN112084196A (en) * 2020-09-11 2020-12-15 武汉一格空间科技有限公司 Process data processing method and system
CN112084196B (en) * 2020-09-11 2023-10-17 武汉一格空间科技有限公司 Method and system for processing flow data
WO2022057279A1 (en) * 2020-09-18 2022-03-24 银联商务股份有限公司 Visual graph calculation method and system, and storage medium and electronic device
CN112256695B (en) * 2020-09-18 2023-07-28 银联商务股份有限公司 Visualized graph calculation method and system, storage medium and electronic device
CN112256695A (en) * 2020-09-18 2021-01-22 银联商务股份有限公司 Visualized graph calculation method and system, storage medium and electronic device
CN112202899A (en) * 2020-09-30 2021-01-08 北京百度网讯科技有限公司 Workflow processing method and device, intelligent workstation and electronic equipment
CN112367363A (en) * 2020-10-23 2021-02-12 深圳前海微众银行股份有限公司 Information sharing method, device, server and storage medium
CN112380255A (en) * 2020-11-16 2021-02-19 广东亿迅科技有限公司 Service processing method, device, equipment and storage medium
CN112416476A (en) * 2020-11-25 2021-02-26 武汉联影医疗科技有限公司 Workflow execution method and device, computer equipment and storage medium
CN114185619B (en) * 2021-12-14 2024-04-05 平安付科技服务有限公司 Breakpoint compensation method, device, equipment and medium based on distributed operation
CN114185619A (en) * 2021-12-14 2022-03-15 平安付科技服务有限公司 Breakpoint compensation method, device, equipment and medium based on distributed operation
CN114169801A (en) * 2021-12-27 2022-03-11 中国建设银行股份有限公司 Workflow scheduling method and device
WO2024037132A1 (en) * 2022-08-15 2024-02-22 腾讯科技(深圳)有限公司 Workflow processing method and apparatus, and device, storage medium and program product
CN115658270B (en) * 2022-11-02 2023-08-25 广州市易鸿智能装备有限公司 Workflow execution method, device and equipment of vision system and storage medium
CN115658270A (en) * 2022-11-02 2023-01-31 广州市易鸿智能装备有限公司 Workflow execution method, device, equipment and storage medium of visual system

Similar Documents

Publication Publication Date Title
CN110738389A (en) Workflow processing method and device, computer equipment and storage medium
CN108595157B (en) Block chain data processing method, device, equipment and storage medium
US10873512B2 (en) Methods for managing self-healing cloud infrastructure and applications
US8185624B2 (en) Efficient on-demand provisioning of servers for specific software sets
US9280331B2 (en) Hash-based change tracking for software make tools
US20080092140A1 (en) Systems and methods for executing a computer program in a multi-processor environment
CN110689232A (en) Workflow configuration optimization processing method and device and computer equipment
CN108809683B (en) Method and device for deploying cloud application system
US20150286505A1 (en) Computing system resource provisioning
US9684689B2 (en) Distributed parallel processing system having jobs processed by nodes based on authentication using unique identification of data
US20140156849A1 (en) Map-reduce workflow processing apparatus and method, and storage media storing the same
CN111831191A (en) Workflow configuration method and device, computer equipment and storage medium
EP2916268A1 (en) A computer-implemented k-shortest path finding method
CN110717647A (en) Decision flow construction method and device, computer equipment and storage medium
CN111949832A (en) Method and device for analyzing dependency relationship of batch operation
CN109828830B (en) Method and apparatus for managing containers
US9716625B2 (en) Identifying compatible system configurations
CN114357029A (en) Method, device, equipment, medium and program product for processing service data
CN110795331A (en) Software testing method and device
CN111538672A (en) Test case layered test method, computer device and computer-readable storage medium
CN116126719A (en) Interface testing method and device, electronic equipment and storage medium
CN114070889B (en) Configuration method, traffic forwarding device, storage medium, and program product
CN113609168B (en) Data export method, device, terminal and readable storage medium
CN113986495A (en) Task execution method, device, equipment and storage medium
CN111861292B (en) Method, device, server and storage medium for generating waybill number

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