CN109670664A - Flow implementation method, user equipment, storage medium and device based on workflow - Google Patents

Flow implementation method, user equipment, storage medium and device based on workflow Download PDF

Info

Publication number
CN109670664A
CN109670664A CN201811058983.9A CN201811058983A CN109670664A CN 109670664 A CN109670664 A CN 109670664A CN 201811058983 A CN201811058983 A CN 201811058983A CN 109670664 A CN109670664 A CN 109670664A
Authority
CN
China
Prior art keywords
workflow
downstream
flow
implementation method
node
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
CN201811058983.9A
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.)
Shenzhen Ping'an Fortune Treasure Investment Consulting Co Ltd
Original Assignee
Shenzhen Ping'an Fortune Treasure Investment Consulting 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 Shenzhen Ping'an Fortune Treasure Investment Consulting Co Ltd filed Critical Shenzhen Ping'an Fortune Treasure Investment Consulting Co Ltd
Priority to CN201811058983.9A priority Critical patent/CN109670664A/en
Publication of CN109670664A publication Critical patent/CN109670664A/en
Pending legal-status Critical Current

Links

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/0633Workflow analysis
    • 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)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses flow implementation method, user equipment, storage medium and devices based on workflow.Current process example is created and run based on default workflow engine in the present invention, the current process example is monitored;When the operating status for monitoring the current process example is preset operating state, process arrangement information is obtained from the default workflow engine;Determine the downstream example of the current process example, according to the process arrangement information to run the downstream example.Each flow instance is separated and is independently arranged with process arrangement information in the present invention, not as process arrangement information is cured in operation system by the prior art, so that the operation of each flow instance can't influence each other, to influence the overall operation stability of operation system, so solve existing operation system there is the poor technical problem of system run all right.

Description

Flow implementation method, user equipment, storage medium and device based on workflow
Technical field
The present invention relates to field of computer technology, more particularly to the flow implementation method based on workflow, user equipment, deposit Storage media and device.
Background technique
Continuous with paperless office is popularized, and government, bank and commercial company all pass through various types of system System is to realize that internal office work is interacted with outside.For example, inside commercial company will use the office automation system (Office more Automation System, OA system) come complete the office between personnel at different levels interaction, and bank in order to give client provide clothes Business, can mostly develop the dedicated operation system of bank provided for user transfer accounts, fund inquiry etc. financial services.
But all there is the phenomenon that operation flow solidification in the dedicated operation system of above-mentioned OA system and bank, for example, silver-colored The dedicated operation system of row can provide transfer services for user, and ATM (Automatic Teller Machine, ATM the operation system run on) will be carried out a step by a step when implementing the transfer services based on preparatory cured flow rules Transfer services.
Specifically, cured flow rules may be the first step in advance, user needs first to carry out bank in ATM machine It opens an account;Second step, user input personal information to bind bank card;Third step, inputs the specific amount of money to complete money transfer transactions etc., Also it indicates that, existing operation system must first carry out the operation of the first step, just can be according to solidification after the operation for completing the first step Flow rules circulate to second step, to execute the operation of second step.
This just illustrates that existing operation system just has cured holding between each step in process in the embryonic stage of operation system Row logic and execution order, so that having more close coupling between each step.But it is this solidify flow rules be System implementation method can significantly influence the operation stability of operation system, for example, when user is in the processing first step " opening a bank account " If operation when operation error ATM machine is operating abnormally, this not only makes user that can not execute the operation of second step, also makes The operation that the Batch Processing personnel that user must be assisted to commence business can not also perform the next step, so that the implementation progress of business is whole Stagnation is fallen on body.Certainly, the type of operation system is not limited merely to the dedicated operation system of above-mentioned bank.
Exactly because there is more close coupling, if single step occurs burst when implementing and becomes between each step Change, work will be caused to fluctuate to other steps, and even influence to globality the operating status of operation system, this results in existing The operation system technical problem poor there is system run all right.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide based on workflow flow implementation method, user equipment, storage medium and Device, it is intended to solve the existing operation system technical problem poor there is system run all right.
To achieve the above object, the present invention provides a kind of flow implementation method based on workflow, described to be based on workflow Flow implementation method the following steps are included:
Current process example is created and run based on default workflow engine, and the current process example is monitored;
When the operating status for monitoring the current process example is preset operating state, draw from the default workflow Hold up middle acquisition process arrangement information;
The downstream example of the current process example is determined according to the process arrangement information, it is described next to run Flow instance.
Preferably, the downstream example that the current process example is determined according to the process arrangement information, with Run the downstream example, comprising:
The downstream example of the current process example is determined according to the process arrangement information;
Count the example quantity of the downstream example;
When the example quantity is greater than or equal to default example amount threshold, the parallel downstream example.
Preferably, the downstream example that the current process example is determined according to the process arrangement information, with After running the downstream example, the flow implementation method based on workflow further include:
When the operating status for monitoring the downstream example is non-responsive state, acquisition is default to jump interface;
User is being received in the default node jump instruction for jumping interface input, from the node jump instruction Middle extraction is to redirect procedure node;
Create and run with it is described corresponding to redirect procedure example to redirect procedure node.
Preferably, described to receive user in the default node jump instruction for jumping interface input, from described After extracting in node jump instruction to redirect procedure node, the flow implementation method based on workflow further include:
Corresponding target is inquired in default mapping relations according to flow nodes corresponding with the downstream example to jump The corresponding relationship that trochanter point set includes flow nodes in the default mapping relations and jumps node collection;
Judgement is described to jump node concentration to which whether redirect procedure node is in the target;
Described when redirect procedure node is in the target and jumps node and concentrate, execute the creation and run and institute The step of stating the example to redirect procedure corresponding to redirect procedure node.
Preferably, the creation and run with after the corresponding example to redirect procedure to redirect procedure node, institute State the flow implementation method based on workflow further include:
It is described when redirect procedure example in operation, the downstream example is monitored;
When the operating status for monitoring the downstream example is switched to normal condition by the non-responsive state, obtain Take default revolution interface;
When receiving node revolution instruction of the user in the default revolution interface input, show that the downstream is real The example runnable interface of example.
Preferably, the preset operating state is run-stopping status;
The downstream example that the current process example is determined according to the process arrangement information, described in operation Before downstream example, the flow implementation method based on workflow further include:
When the operating status for monitoring the current process example is run-stopping status, it is real to read the current process The parameter current state of each parameter preset type when example is out of service, and save the parameter current state;
The downstream example that the current process example is determined according to the process arrangement information, described in operation After downstream example, the flow implementation method based on workflow further include:
Monitor the operating status of the downstream example;
When the operating status of the downstream example is abnormality, the downstream example out of service, and The parameter state of the parameter preset type is revised as the parameter current state.
Preferably, it is out of service described next when the operating status in the downstream example is abnormality Flow instance, and after the parameter state of the parameter preset type is revised as the parameter current state, it is described to be based on work Make the flow implementation method flowed further include:
Receiving when executing instruction again of user's input, operating status of the statistical monitoring to the downstream example It is determined as the judgement number of the abnormality;
When the judgement number is less than or equal to default frequency of abnormity, it is described according to process layout letter to return to execution Breath determines the downstream example of the current process example, the step of to run the downstream example, until described sentence When determining number greater than the default frequency of abnormity, abnormality alarming information is generated.
In addition, to achieve the above object, the present invention also proposes a kind of user equipment, the user equipment include memory, Processor and the flow implementation program based on workflow that is stored on the memory and can run on the processor, institute State the step that the flow implementation program based on workflow is arranged for carrying out the flow implementation method as described above based on workflow Suddenly.
In addition, to achieve the above object, the present invention also proposes a kind of storage medium, it is stored with and is based on the storage medium The flow implementation program of workflow is realized as described above when the flow implementation program based on workflow is executed by processor The flow implementation method based on workflow the step of.
In addition, to achieve the above object, the present invention also proposes a kind of flow implementation device based on workflow, described to be based on The flow implementation device of workflow includes: example monitoring modular, data obtaining module and example operation module;
The example monitoring modular, for being created based on default workflow engine and running current process example, to described Current process example is monitored;
The data obtaining module, for being preset operating state in the operating status for monitoring the current process example When, process arrangement information is obtained from the default workflow engine;
The example runs module, for determining the lower one stream of the current process example according to the process arrangement information Journey example, to run the downstream example.
It will implement entire operation flow based on default workflow engine in the present invention, also, will be to each running Flow instance carry out operating status monitoring, when operating status meets the triggering requirement of preset operating state, will according to stream The process arrangement information of journey example weak coupling determines downstream example, exactly because the present embodiment is by each flow instance and stream Journey arrangement information is separated and is independently arranged, and process arrangement information is not cured in operation system by such as prior art, so that respectively The operation of flow instance can't influence each other, so that the overall operation stability of operation system is influenced, so, it solves existing Operation system there is the poor technical problem of system run all right.
Detailed description of the invention
Fig. 1 is the user device architecture schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is that the present invention is based on the flow diagrams of the flow implementation method first embodiment of workflow;
Fig. 3 is that the present invention is based on the flow diagrams of the flow implementation method second embodiment of workflow;
Fig. 4 is the schematic diagram of single line processing and parallel processing;
Fig. 5 is that the present invention is based on the flow diagrams of the flow implementation method 3rd embodiment of workflow;
The schematic diagram that Fig. 6 is jumped between node;
Fig. 7 is that the present invention is based on the flow diagrams of the flow implementation method fourth embodiment of workflow;
Fig. 8 is that the present invention is based on the structural block diagrams of the flow implementation device first embodiment of workflow.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is the user device architecture schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the user equipment may include: processor 1001, such as CPU, communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include display screen (Display), optional user interface 1003 can also include standard wireline interface, Wireless interface, the wireline interface for user interface 1003 can be USB interface in the present invention.Network interface 1004 optionally may be used To include standard wireline interface and wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, can also To be stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be Independently of the storage device of aforementioned processor 1001.
It will be understood by those skilled in the art that structure shown in Fig. 1 does not constitute the restriction to user equipment, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe module, Subscriber Interface Module SIM and the flow implementation program based on workflow.
In user equipment shown in Fig. 1, network interface 1004 is mainly used for connecting background server, takes with the backstage Business device carries out data communication;User interface 1003 is mainly used for connecting peripheral hardware;The user equipment is called by processor 1001 The flow implementation program based on workflow stored in memory 1005, and execute provided in an embodiment of the present invention based on workflow Flow implementation method.
Based on above-mentioned hardware configuration, propose that the present invention is based on the embodiments of the flow implementation method of workflow.
It is that the present invention is based on the flow diagrams of the flow implementation method first embodiment of workflow referring to Fig. 2, Fig. 2.
In the first embodiment, the flow implementation method based on workflow the following steps are included:
Step S10: being created based on default workflow engine and runs current process example, to the current process example into Row monitoring;
It is understood that in view of existing operation system needs for flow rules to be cured to the generation of operation system in advance In code, so that there is more close coupling between each step in flow rules, it is more close just because of there are this Coupling causes the operation stability of operation system poor, in order to improve the stability of operation system, can use workflow engine Technology implements operation system, and the cured flow rules are detached and are independent process arrangement information, to be based on process Arrangement information executes each step.
Wherein, the workflow engine (Workflow Engine) is used between the stream respectively executing step in operation system Turn rule to be abstracted and be broadly described, defines the trigger sequence and trigger condition of each step, workable workflow engine Tool has Activiti etc..
In the concrete realization, for example, between defining each flow nodes in process arrangement information in default workflow engine Execution relationship and execution order, specifically, process arrangement information may include " step 1: open a bank account step → step 2: Personal information binds step → step 3: money transfer transactions step ", operation system can be determined first and " step 1: open a bank account step Suddenly corresponding flow nodes ", and create the flow instance of the flow nodes.
Wherein, a flow nodes refer to that a subtask, a subtask will include a system relevant to the subtask Column show interface and corresponding calling interface, and when flow instance is then by the subtask actual motion generate it is multiple right Answer process.For example, the flow nodes of " step 1: open a bank account step ", which may include user, can input the boundary that opens an account for information of opening an account Face, calling interface relevant to interface of opening an account, to the automatic verifying interface that information of opening an account is verified automatically, with automatic verifying circle The relevant calling interface in face and Batch Processing personnel carry out the manual verification interface etc. of manual verification to information of opening an account.
Step S20: it when the operating status for monitoring the current process example is preset operating state, is preset from described Process arrangement information is obtained in workflow engine;
It should be understood that the generation time described between step is different from the prior art through cured flow rules Sequence, the present embodiment will carry out real-time monitoring based on the state to each flow instance, and set the trigger condition towards operating status Other flow instances are jumped to, so that having more loose relevance between each step.For example, default operation shape State can be that example end of run can be based on the process with flow nodes weak rigidity when the flow instance end of run of " step 1 " Arrangement information determines next pending flow nodes.
Certainly, preset operating state is also other operating statuses such as to be operating abnormally or do not respond for a long time.
Step S30: determining the downstream example of the current process example according to the process arrangement information, with operation The downstream example.
It is understood that since process arrangement information is that " step 1: open a bank account step → step 2: personal information is tied up Determine step → step 3: money transfer transactions step ", then it can determine that downstream node is step 2, and create stream corresponding with step 2 Journey example.
It will implement entire operation flow based on default workflow engine in the present embodiment, also, will be in each operation Flow instance carry out operating status monitoring, when operating status meets the triggering requirement of preset operating state, will according to The process arrangement information of flow instance weak coupling determines downstream example, exactly because the present embodiment by each flow instance with Process arrangement information is separated and is independently arranged, and process arrangement information is not cured in operation system by such as prior art, so that The operation of each flow instance can't influence each other, so that the overall operation stability of operation system is influenced, so, it solves existing Capable operation system there is the poor technical problem of system run all right.
It is that the present invention is based on the flow diagram of the flow implementation method second embodiment of workflow, bases referring to Fig. 3, Fig. 3 In above-mentioned first embodiment shown in Fig. 2, propose that the present invention is based on the second of the flow implementation method of workflow to apply example.
In second embodiment, the step S30 may include:
Step S301: the downstream example of the current process example is determined according to the process arrangement information;
It is understood that the present invention is based on will be based on process layout in the flow implementation method first embodiment of workflow The execution order of the flow instance recorded in information implements the flow instance of each subdivision, for example, if pre- in process arrangement information Execution order as defined in elder generation is that " step 1: personal information typing step → step 2: personal information audits step → step 3: level-one Be responsible for evaluation procedure → step 4: Tier 2 manager's evaluation procedure ", can by executions example of this kind then another execution example Execution order be referred to as single line processing, exactly because, the process arrangement information and table of execution order will be indicated in the present embodiment Show that the flow instance for executing content is provided separately, so that there is weaker coupling between process arrangement information and flow instance, Also process arrangement information is allowed for other than single line processing may be implemented, and parallel processing can also be neatly realized.
Wherein, parallel processing refers to can connect multiple parallel execution after an execution example on execution order simultaneously Example, for example, the execution order in process arrangement information can be for " step 1: personal information typing step → step 2: personal information Audit step, tier-1 supervisor's evaluation procedure and Tier 2 manager's evaluation procedure ", wherein three steps for including in step 2 can be with Implement simultaneously, also, since any association being not present between independent execution example, personal information is caused to audit step, level-one Supervisor's evaluation procedure and Tier 2 manager's evaluation procedure three do not interfere with each other when implementing, reference can be made to Fig. 4, Fig. 4 are single line The schematic diagram of processing and parallel processing.
Step S302: the example quantity of the downstream example is counted;
Step S303: when the example quantity is greater than or equal to default example amount threshold, the parallel downstream Example.
In the concrete realization, for example, can be compiled according to process after the execution example of personal information typing step terminates execution Row's information determines that the next step of the step can be performed simultaneously multiple next if the next step of the step is greater than or equal to 2 The flow instance of step.
It needs to distinguish, be compared with the prior art, existing operation system is by solidifying holding between each step Row logic, and develop with the various calling interfaces of execution logical adaptation to complete each step in whole flow process on the whole Suddenly, although single line processing and parallel processing also may be implemented by this tightly coupled mode, in the stability of system Still existing defects.However, the present embodiment realize single line processing and parallel processing due to individually set up " flow instance " with " process arrangement information ", the mode of this loose coupling have not only decoupled and have executed influence between each step, improve business system The overall operation stability of system, meanwhile, also ensure the diversity of implementation process, i.e. user can select single line processing can also To select parallel processing.
It is that the present invention is based on the flow diagram of the flow implementation method 3rd embodiment of workflow, bases referring to Fig. 5, Fig. 5 In above-mentioned first embodiment shown in Fig. 2, propose that the present invention is based on the thirds of the flow implementation method of workflow to apply example.
In 3rd embodiment, after the step S30, the flow implementation method based on workflow can also include:
Step S40: when the operating status for monitoring the downstream example is non-responsive state, default jump is obtained Interface;
It is understood that in view of the existing operation system for solidifying execution logic is commonly encountered single interaction at runtime The problem of interface does not respond for a long time, still, since existing operation system has secured execution order in process, user can be with The operation done is only to refresh the interactive interface or the interactive interface is waited voluntarily to restore normal, it will be apparent that, this is greatly influenced The overall execution efficiency of user's operation and operation flow.So the mode that process jumps is present embodiments provided, in order to When currently running interactive interface is chronically at non-responsive state, operation system will voluntarily run and jump interface, so as to user Other operations can be performed.
In the concrete realization, for example, may include three continuous flow nodes, first pass section in process arrangement information Point be " party A-subscriber's incoming traffic information ", second procedure node be " business information that party B-subscriber inputs party A-subscriber verifies " with And third flow nodes are " business information after the verification is fed back to C user by party A-subscriber ", if currently running is second procedure The flow instance of node, possible party B-subscriber does not for a long time verify the business information of party A-subscriber's input, alternatively, party B-subscriber is to party A-subscriber After the business information of input is verified, but operation system is in the state that does not respond for a long time, this meeting so that process always It is stagnated in the stage of second procedure node.In order to improve the opening and flexibility of flow implementation, when operation system monitors Second procedure node is more than that can actively call default to jump interface when 4 hours being in non-responsive state.
Step S50: user is being received in the default node jump instruction for jumping interface input, from the node It extracts in jump instruction to redirect procedure node;
It should be understood that party A-subscriber can input remark information in default jump in interface, and clicks process and jump to the The confirmation option of three flow nodes, to start to execute the node content of third flow nodes.
Step S60: creating and run with it is described corresponding to redirect procedure example to redirect procedure node.
It is understood that redirect procedure example may be either to be recorded in process arrangement information described in step S60 The downstream example of flow instance in non-responsive state can not also be the next of the flow instance in non-responsive state Flow instance present embodiments provides a kind of flexible node and jumps mechanism, so that user can need not be real because of single process The operation problem of example, is limited to execution order as defined in process arrangement information, and stagnate in current flow instance not as.
Further, described to receive user in the default node jump instruction for jumping interface input, from institute It states after extracting in node jump instruction to redirect procedure node, the flow implementation method based on workflow further include:
Corresponding target is inquired in default mapping relations according to flow nodes corresponding with the downstream example to jump The corresponding relationship that trochanter point set includes flow nodes in the default mapping relations and jumps node collection;
Judgement is described to jump node concentration to which whether redirect procedure node is in the target;
Described when redirect procedure node is in the target and jumps node and concentrate, execute the creation and run and institute The step of stating the example to redirect procedure corresponding to redirect procedure node.
It is understood that present embodiments providing a kind of flexible node jumps mechanism, still, it is contemplated that some processes The data that node needs to generate using other flow nodes when realizing are as premise, alternatively, since the business between corporate department is examined Core specification prevents part flow nodes from jumping between extremely optionally carrying out node, so, it can in advance be all processes Node setting is corresponding to jump node collection, and each flow nodes, which can only jump to, jumps the process section that node concentration has included Point.Wherein, it jumps node and concentrates the flow nodes comprising can successfully jump.
In the concrete realization, for example, reference can be made to the schematic diagram that Fig. 6, Fig. 6 are jumped between node, it is known that, process arrangement information In prespecified execution order be " step 1: personal information typing step → step 2: personal information audits step → step 3: Tier-1 supervisor's evaluation procedure → step 4: Tier 2 manager's evaluation procedure → step 5: personal information saves step ", it also indicates that and works as A It after user's typing personal information, needs successively voluntarily to be audited, be transferred to tier-1 supervisor and audit and be transferred to two Grade supervisor is audited, and can be carried out the preservation of personal information, just after completing audit to determine the correctness of personal information.But It is that, when each supervisor is in busy condition, which can not promptly be finished, and party A-subscriber can carry out between flow nodes Jump.
It should be understood that target corresponding with the flow nodes of " step 1 " jump node concentrate will include " step 3 with Step 4 ", so, party A-subscriber can successfully jump to the flow nodes of " step 3 " or " step 4 " from the flow nodes of " step 1 ", by Node, which is jumped, in target concentrates the flow nodes not comprising " step 5 ", so, if party A-subscriber's selection is to redirect procedure node The flow nodes of " step 5 " cannot achieve the jump between node then when redirect procedure node is not at target and jumps node concentration Turn;If what party A-subscriber chose is the flow nodes of " step 4 " to redirect procedure node, jumped to redirect procedure node in target When node is concentrated, then the flow nodes that " step 4 " is jumped to from the node of " step 1 " can be successfully realized.
Further, after the step S60, the flow implementation method based on workflow can also include:
Step S70: it is described when redirect procedure example in operation, the downstream example is monitored;
It should be understood that party A-subscriber can voluntarily jump to third process when second procedure node is in non-responsive state Node, but carry second procedure node can be continued simultaneously in the present embodiment, it is meant that, party B-subscriber still can input party A-subscriber Business information verified.It is apparent that the operation of system has not been to skip second procedure node in the present embodiment, this needs It is distinguished with the existing operation logic for solidifying operation order.
It is understood that the present embodiment actively will run second procedure node and third flow nodes simultaneously, and to the Two flow nodes carry out the monitoring in operating status.
Step S80: it is switched to normally in the operating status for monitoring the downstream example by the non-responsive state When state, default revolution interface is obtained;
It should be understood that second procedure section can be re-executed when monitoring that second procedure node restores normal condition Point, i.e. party B-subscriber still can carry out normal verification to the business information that party A-subscriber inputs, although currently having been carried out second procedure The downstream node of node.It is apparent that it is existing have cured operation order operation system can not achieve it is this jump, such as The operation system that fruit has cured operation order wants to realize jumping between this node, needs individually to add in cured flow rules Add it is this jump path, this will expend biggish exploitation cost.
It is understood that can be popped up on the implementation runnable interface of the third flow nodes locating for party A-subscriber at this time default Interface is turned round, will be prompted to that second procedure node is back to normal and be equipped with revolution option, and party A-subscriber clicks back on default revolution interface After turning option, the rotatable example runnable interface to second procedure node.
Step S90: when receiving node revolution instruction of the user in the default revolution interface input, under displaying is described The example runnable interface of one flow instance.
It should be understood that after party A-subscriber returns back to the example runnable interface of second procedure node, it is executable to belong to second The relevant operation of flow nodes, the executive process of third flow nodes moreover, operation system can not retract, that is to say, A will be retained Execution state of the user in third flow nodes.
When monitoring that current flow instance is in non-responsive state, user can independently and freely in the present embodiment Other flow nodes are jumped to, the loose coupling between each flow instance is benefited from, so that user need not stagnate in current stream Journey example, this improves the overall operation efficiency of operation system.Moreover, the sustainable execution of the present embodiment and monitoring in not responding The flow instance of state can be turned round freely when the flow instance is back to normal, continue to execute the flow instance, this shows In the present embodiment whether according to process arrangement information come implementation process example can't the operation itself to flow instance cause The influence of stability.
It is that the present invention is based on the flow diagram of the flow implementation method 3rd embodiment of workflow, bases referring to Fig. 7, Fig. 7 In above-mentioned first embodiment shown in Fig. 2, propose that the present invention is based on the thirds of the flow implementation method of workflow to apply example.
In 3rd embodiment, the preset operating state is run-stopping status, described to be based on before the step S30 The flow implementation method of workflow further include:
Step S201: when the operating status for monitoring the current process example is run-stopping status, described in reading The parameter current state of each parameter preset type when current process example is out of service, and save the parameter current state;
It is understood that in view of there may be specific process sections during implementing entire operation flow Point will greatly influence the stability of system, in other words, the operation of specific flow nodes whether the normal operation of the flow nodes Exception can bring great risk, in order to reduce the operation risk of specific flow nodes, can carry out in advance to the flow nodes Data protection simultaneously monitors in real time.
In the concrete realization, for example, may downstream example example content be " to a large amount of finance account batch into Crudely-made articles coin transfer operation ", it is contemplated that the flow instance of the Money transfer has biggish risky operation, real executing the process All data parameter when will save in advance previous flow instance end of run before example, for example, each parameter preset type includes " transfer request ", " account balance ", " transfer amounts ", " amount of money after transferring accounts " and " transfer request is responded " etc., and default ginseng The parameter state of several classes of types can for realize the calling interface state of transfer request, the numerical value of account balance, transfer amounts numerical value, Interface status etc. after the numerical value of the amount of money and transfer request are responded after transferring accounts.
After the step S30, the flow implementation method based on workflow further include:
Step S304: the operating status of the downstream example is monitored;
Step S305: when the operating status of the downstream example is abnormality, the lower one stream out of service Journey example, and the parameter state of the parameter preset type is revised as the parameter current state.
It is understood that when the flow instance of " carrying out Money transfer operation to a large amount of finance account batch " is transported When the abnormal situation of row, the specific location of mistake occurs due to that can not determine rapidly, it, can be by order to guarantee the accuracy of data Before each parameter state of flow instance in abnormality restores to the flow instance to execute, in other words, by the fortune of system State when row state reduction to previous flow instance end of run, also ensures that the idempotence of flow instance.
Further, after the step S305, the flow implementation method based on workflow further include:
Step S306: when executing instruction again of user's input, statistical monitoring to the downstream example are being received Operating status be determined as the judgement number of the abnormality;
It should be understood that user may in view of system automatically retracts flow nodes to previous flow nodes The specific flow nodes are executed again, in order to guarantee the stability of system, can carry out business rollback assigning operation system Under the premise of default frequency of abnormity will be set to improve the operational efficiency of system.
In the concrete realization, default frequency of abnormity can be set to 10 times, when specific flow instance is operating abnormally, It is statistics available abnormal number occur, if repeated greater than 10 times, prompt the user with run-time error and to Batch Processing people Member sends abnormality alarming information;If repeated less than or equal to 10 times, the specific flow instance is re-executed until should Specific flow instance normal operation.
When the judgement number is less than or equal to default frequency of abnormity, step S30 is executed.
Until executing step S307 when the judgement number is greater than the default frequency of abnormity.
Step S307: abnormality alarming information is generated.
In the present embodiment by the way that specific flow nodes are monitored and pre-saved with previous flow instance operation knot Parameter state when beam, can at any time by each parameters back to previous flow instance end of run when parameter state, to guarantee Safety when the specific flow nodes of operation.
In addition, the embodiment of the present invention also proposes a kind of storage medium, it is stored on the storage medium based on workflow Flow implementation program is realized as described above based on work when the flow implementation program based on workflow is executed by processor The step of making the flow implementation method flowed.
In addition, the embodiment of the present invention also proposes a kind of flow implementation device based on workflow, described to be based on referring to Fig. 8 The flow implementation device of workflow includes: example monitoring modular 10, data obtaining module 20 and example operation module 30;
The example monitoring modular 10, for creating and running current process example based on default workflow engine, to institute Current process example is stated to be monitored;
The data obtaining module 20, for being default operation shape in the operating status for monitoring the current process example When state, process arrangement information is obtained from the default workflow engine;
The example runs module 30, for determining the next of the current process example according to the process arrangement information Flow instance, to run the downstream example.
It will implement entire operation flow based on default workflow engine in the present embodiment, also, will be in each operation Flow instance carry out operating status monitoring, when operating status meets the triggering requirement of preset operating state, will according to The process arrangement information of flow instance weak coupling determines downstream example, exactly because the present embodiment by each flow instance with Process arrangement information is separated and is independently arranged, and process arrangement information is not cured in operation system by such as prior art, so that The operation of each flow instance can't influence each other, so that the overall operation stability of operation system is influenced, so, it solves existing Capable operation system there is the poor technical problem of system run all right.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.If listing equipment for drying Unit claim in, several in these devices, which can be, to be embodied by the same item of hardware.Word first, Second and the use of third etc. do not indicate any sequence, can be title by these word explanations.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of flow implementation method based on workflow, which is characterized in that the flow implementation method packet based on workflow Include following steps:
Current process example is created and run based on default workflow engine, and the current process example is monitored;
When the operating status for monitoring the current process example is preset operating state, from the default workflow engine Obtain process arrangement information;
Determine the downstream example of the current process example, according to the process arrangement information to run the downstream Example.
2. the flow implementation method based on workflow as described in claim 1, which is characterized in that described to be compiled according to the process Row's information determines the downstream example of the current process example, to run the downstream example, comprising:
The downstream example of the current process example is determined according to the process arrangement information;
Count the example quantity of the downstream example;
When the example quantity is greater than or equal to default example amount threshold, the parallel downstream example.
3. the flow implementation method based on workflow as described in claim 1, which is characterized in that described to be compiled according to the process Row's information determines the downstream example of the current process example, described to be based on after running the downstream example The flow implementation method of workflow further include:
When the operating status for monitoring the downstream example is non-responsive state, acquisition is default to jump interface;
User is being received in the default node jump instruction for jumping interface input, is being mentioned from the node jump instruction It takes to redirect procedure node;
Create and run with it is described corresponding to redirect procedure example to redirect procedure node.
4. the flow implementation method based on workflow as claimed in claim 3, which is characterized in that described to exist receiving user When the default node jump instruction for jumping interface input, extracted from the node jump instruction to redirect procedure node it Afterwards, the flow implementation method based on workflow further include:
Corresponding target, which is inquired, in default mapping relations according to flow nodes corresponding with the downstream example jumps section The corresponding relationship that point set includes flow nodes in the default mapping relations and jumps node collection;
Judgement is described to jump node concentration to which whether redirect procedure node is in the target;
It is described when redirect procedure node be in the target jump node concentrate when, execute it is described creation and run with it is described to The step of redirect procedure node corresponding example to redirect procedure.
5. the flow implementation method based on workflow as claimed in claim 3, which is characterized in that the creation is simultaneously run and institute It states to after the corresponding example to redirect procedure of redirect procedure node, the flow implementation method based on workflow further include:
It is described when redirect procedure example in operation, the downstream example is monitored;
When the operating status for monitoring the downstream example is switched to normal condition by the non-responsive state, obtain pre- If turning round interface;
When receiving node revolution instruction of the user in the default revolution interface input, the downstream example is shown Example runnable interface.
6. the flow implementation method based on workflow as described in claim 1, which is characterized in that the preset operating state is Run-stopping status;
The downstream example that the current process example is determined according to the process arrangement information, it is described next to run Before flow instance, the flow implementation method based on workflow further include:
When the operating status for monitoring the current process example is run-stopping status, reads the current process example and stop The parameter current state of each parameter preset type when only running, and save the parameter current state;
The downstream example that the current process example is determined according to the process arrangement information, it is described next to run After flow instance, the flow implementation method based on workflow further include:
Monitor the operating status of the downstream example;
When the operating status of the downstream example is abnormality, the downstream example out of service, and by institute The parameter state for stating parameter preset type is revised as the parameter current state.
7. the flow implementation method based on workflow as claimed in claim 6, which is characterized in that described in the downstream When the operating status of example is abnormality, the downstream example out of service, and by the ginseng of the parameter preset type Number state is revised as after the parameter current state, the flow implementation method based on workflow further include:
When executing instruction again of user's input is being received, the operating status of statistical monitoring to the downstream example determines For the judgement number of the abnormality;
When the judgement number is less than or equal to default frequency of abnormity, it is described true according to the process arrangement information to return to execution The downstream example of the fixed current process example the step of to run the downstream example, determines time until described When number is greater than the default frequency of abnormity, abnormality alarming information is generated.
8. a kind of user equipment, which is characterized in that the user equipment includes: memory, processor and is stored in the storage The flow implementation program based on workflow, the flow implementation journey based on workflow can be run on device and on the processor The flow implementation method based on workflow as described in any one of claims 1 to 7 is realized when sequence is executed by the processor The step of.
9. a kind of storage medium, which is characterized in that be stored with the flow implementation program based on workflow, institute on the storage medium State when the flow implementation program based on workflow is executed by processor realize as described in any one of claims 1 to 7 based on The step of flow implementation method of workflow.
10. a kind of flow implementation device based on workflow, which is characterized in that the flow implementation device packet based on workflow It includes: example monitoring modular, data obtaining module and example operation module;
The example monitoring modular, for creating and running current process example based on default workflow engine, to described current Flow instance is monitored;
The data obtaining module, for the operating status for monitoring the current process example be preset operating state when, Process arrangement information is obtained from the default workflow engine;
The example runs module, and the downstream for determining the current process example according to the process arrangement information is real Example, to run the downstream example.
CN201811058983.9A 2018-09-11 2018-09-11 Flow implementation method, user equipment, storage medium and device based on workflow Pending CN109670664A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811058983.9A CN109670664A (en) 2018-09-11 2018-09-11 Flow implementation method, user equipment, storage medium and device based on workflow

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811058983.9A CN109670664A (en) 2018-09-11 2018-09-11 Flow implementation method, user equipment, storage medium and device based on workflow

Publications (1)

Publication Number Publication Date
CN109670664A true CN109670664A (en) 2019-04-23

Family

ID=66142370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811058983.9A Pending CN109670664A (en) 2018-09-11 2018-09-11 Flow implementation method, user equipment, storage medium and device based on workflow

Country Status (1)

Country Link
CN (1) CN109670664A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147986A (en) * 2019-05-21 2019-08-20 天津卡达克数据有限公司 Flow node jump method, device, server and storage medium
CN112184411A (en) * 2020-09-17 2021-01-05 京东数字科技控股股份有限公司 Account processing method and device
CN112418796A (en) * 2020-11-20 2021-02-26 泰康保险集团股份有限公司 Sub-process node activation method and device, electronic equipment and storage medium
CN112540812A (en) * 2020-12-21 2021-03-23 珠海格力电器股份有限公司 Node skipping method and device, storage medium and electronic device
CN113138807A (en) * 2021-04-25 2021-07-20 上海淇玥信息技术有限公司 Method and device for executing multi-node service task and electronic equipment
CN113487273A (en) * 2021-06-21 2021-10-08 深圳市信润富联数字科技有限公司 Multi-tenant instance monitoring system and method based on Activiti
CN113687882A (en) * 2021-08-24 2021-11-23 上海浦东发展银行股份有限公司 Process rollback method, device and storage medium based on activiti
CN113850558A (en) * 2020-06-28 2021-12-28 华为技术有限公司 Workflow arrangement method and device
CN114693230A (en) * 2020-12-29 2022-07-01 北京嘀嘀无限科技发展有限公司 Flow execution method and device, electronic equipment and storage medium
CN114757592A (en) * 2022-06-15 2022-07-15 北京乐开科技有限责任公司 Arrangement method and system for integrating workflow engine and RPA
CN116051020A (en) * 2022-12-06 2023-05-02 广州明动软件股份有限公司 Workflow engine-based flow grooming method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100122251A1 (en) * 2008-11-13 2010-05-13 International Business Machines Corporation Realizing jumps in an executing process instance
CN101714230A (en) * 2009-11-20 2010-05-26 广东金宇恒科技有限公司 User-defined workflow management method and system
CN103353957A (en) * 2013-06-19 2013-10-16 浙江中烟工业有限责任公司 Realization method of human-centered cooperative workflow system and apparatus thereof
CN104992271A (en) * 2015-06-23 2015-10-21 四川久远银海软件股份有限公司 Different-process-instance coordinated operation system and different-process-instance coordinated operation implementation method
CN106600149A (en) * 2016-12-16 2017-04-26 东软集团股份有限公司 Process analysis method and apparatus
CN106611297A (en) * 2015-10-21 2017-05-03 中兴通讯股份有限公司 Workflow abnormity handling method and system
CN106651095A (en) * 2016-09-28 2017-05-10 北京赢点科技有限公司 Work flow configuring and jumping method and the configuring and jumping device
CN108009696A (en) * 2016-10-31 2018-05-08 上海翼勋互联网金融信息服务有限公司 Custom Workflow engine and its implementation

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100122251A1 (en) * 2008-11-13 2010-05-13 International Business Machines Corporation Realizing jumps in an executing process instance
CN101714230A (en) * 2009-11-20 2010-05-26 广东金宇恒科技有限公司 User-defined workflow management method and system
CN103353957A (en) * 2013-06-19 2013-10-16 浙江中烟工业有限责任公司 Realization method of human-centered cooperative workflow system and apparatus thereof
CN104992271A (en) * 2015-06-23 2015-10-21 四川久远银海软件股份有限公司 Different-process-instance coordinated operation system and different-process-instance coordinated operation implementation method
CN106611297A (en) * 2015-10-21 2017-05-03 中兴通讯股份有限公司 Workflow abnormity handling method and system
CN106651095A (en) * 2016-09-28 2017-05-10 北京赢点科技有限公司 Work flow configuring and jumping method and the configuring and jumping device
CN108009696A (en) * 2016-10-31 2018-05-08 上海翼勋互联网金融信息服务有限公司 Custom Workflow engine and its implementation
CN106600149A (en) * 2016-12-16 2017-04-26 东软集团股份有限公司 Process analysis method and apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
林永毅 等: "基于实例的动态定义执行工作流引擎研究", 《计算机工程与科学》, pages 132 - 134 *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110147986A (en) * 2019-05-21 2019-08-20 天津卡达克数据有限公司 Flow node jump method, device, server and storage medium
CN113850558A (en) * 2020-06-28 2021-12-28 华为技术有限公司 Workflow arrangement method and device
WO2022001355A1 (en) * 2020-06-28 2022-01-06 华为技术有限公司 Workflow arrangement method and device
CN112184411A (en) * 2020-09-17 2021-01-05 京东数字科技控股股份有限公司 Account processing method and device
CN112184411B (en) * 2020-09-17 2024-04-09 京东科技控股股份有限公司 Account processing method and device
CN112418796A (en) * 2020-11-20 2021-02-26 泰康保险集团股份有限公司 Sub-process node activation method and device, electronic equipment and storage medium
CN112418796B (en) * 2020-11-20 2023-12-08 泰康保险集团股份有限公司 Sub-process task node activation method and device, electronic equipment and storage medium
CN112540812A (en) * 2020-12-21 2021-03-23 珠海格力电器股份有限公司 Node skipping method and device, storage medium and electronic device
CN114693230A (en) * 2020-12-29 2022-07-01 北京嘀嘀无限科技发展有限公司 Flow execution method and device, electronic equipment and storage medium
CN113138807A (en) * 2021-04-25 2021-07-20 上海淇玥信息技术有限公司 Method and device for executing multi-node service task and electronic equipment
CN113138807B (en) * 2021-04-25 2022-09-09 上海淇玥信息技术有限公司 Method and device for executing multi-node service task and electronic equipment
CN113487273A (en) * 2021-06-21 2021-10-08 深圳市信润富联数字科技有限公司 Multi-tenant instance monitoring system and method based on Activiti
CN113687882A (en) * 2021-08-24 2021-11-23 上海浦东发展银行股份有限公司 Process rollback method, device and storage medium based on activiti
CN113687882B (en) * 2021-08-24 2024-04-19 上海浦东发展银行股份有限公司 Activiti-based flow rollback method, activiti-based flow rollback device and storage medium
CN114757592A (en) * 2022-06-15 2022-07-15 北京乐开科技有限责任公司 Arrangement method and system for integrating workflow engine and RPA
CN114757592B (en) * 2022-06-15 2022-10-21 北京乐开科技有限责任公司 Workflow engine and RPA (resilient packet Access) fusion arrangement method and system
CN116051020A (en) * 2022-12-06 2023-05-02 广州明动软件股份有限公司 Workflow engine-based flow grooming method and system

Similar Documents

Publication Publication Date Title
CN109670664A (en) Flow implementation method, user equipment, storage medium and device based on workflow
CN107423046B (en) Method, system, and computer-readable medium for processing graph-based computations
Korel et al. Slicing of state-based models
CN108280027A (en) A kind of concurrently debugging rendering intent and device of script
CN109240908B (en) Method and device for creating abnormal test case template
CN111031133B (en) Operation method and device of business engine, storage medium and electronic device
Demir et al. Security smells in smart contracts
CN110458595A (en) Rules process method, electronic device and the computer equipment of configurableization
CN107909330A (en) Work stream data processing method, device, storage medium and computer equipment
CN109558313B (en) Method and device for constructing abnormal test scene
US9405531B2 (en) Methods for building application intelligence into event driven applications through usage learning, and systems supporting such applications
CN110262975A (en) Test data management method, device, equipment and computer readable storage medium
AU2024200171A1 (en) Dag-awtc ledger system using bft verification consensus mechanism
Crandall et al. Antitrust in high-tech industries
CN109118065A (en) A kind of interactive mode Workflow system and its operation method
CN112965986A (en) Service consistency processing method, device, equipment and storage medium
CN116561743A (en) Business process management method and device, storage medium and electronic equipment
CN115375278A (en) Business work order processing method and device, electronic equipment and storage medium
Jumnongsaksub et al. Reducing smart contract runtime errors on ethereum
Katz et al. Verifying scenario-based aspect specifications
CN106209502A (en) system monitoring method, device and server
CN115955481B (en) Emergency response method and device
CN105956917A (en) Bank on-line transaction system super long data processing method and bank on-line transaction system super long data processing device
CN108804311A (en) A kind of method and device executing test file
Logesh et al. Supply Chain Data Management for Web Services

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190423