CN106600226A - Method and device used for optimizing flow management system - Google Patents

Method and device used for optimizing flow management system Download PDF

Info

Publication number
CN106600226A
CN106600226A CN201611146326.0A CN201611146326A CN106600226A CN 106600226 A CN106600226 A CN 106600226A CN 201611146326 A CN201611146326 A CN 201611146326A CN 106600226 A CN106600226 A CN 106600226A
Authority
CN
China
Prior art keywords
node
module
flow
task
address
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.)
Granted
Application number
CN201611146326.0A
Other languages
Chinese (zh)
Other versions
CN106600226B (en
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.)
Taikang Insurance Group Co Ltd
Original Assignee
Taikang Insurance Group 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 Taikang Insurance Group Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN201611146326.0A priority Critical patent/CN106600226B/en
Publication of CN106600226A publication Critical patent/CN106600226A/en
Application granted granted Critical
Publication of CN106600226B publication Critical patent/CN106600226B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Operations Research (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a method and a device used for optimizing a flow management system. The method comprises steps that the abnormal information of an automatic task node is captured and stored, and task rollback is prevented; a present flow staying node is queried according to the identifier information of a flow instance; a new task is generated according to the identifier information of the present flow staying node. Through the method, the abnormal information of the automatic task node during task abnormality occurrence is captured and stored, the new task is generated at the present flow stay node and is continuously performed, interruption of a flow can be prevented, and plenty of resources are saved.

Description

For the method and device of Optimizing Flow management system
Technical field
The present invention relates to workflow technology field, in particular to a kind of method for Optimizing Flow management system And device.
Background technology
Activiti is that a new BPM that increases income (Business Process Model) permitted based on Apache is put down Platform, starts to build from basis, it is desirable to provide support new BPMN (Business Process Model and Notation) 2.0 standards, including support target management group (OMG).Activiti is a kind of lightweight, embeddable BPM engines.
In contrast to first version, its most important change is meta-model and the execution for which defining flow process to BPMN 2.0 Semanteme, i.e. its own solve the problems, such as storage, exchange and perform.This represents 2.0 flow definition models of BPMN and not only may be used To perform in the engine of any compatible BPMN 2.0, and can also exchange between graphic editor.As a standard, BPMN 2.0 has unified workflow community.
The workflow management that external offer independently of operation system developed based on the Activiti for increasing income is serviced System, operation system complete the management of whole business process life cycle by service call, the flow process pipe before service is called Reason system can carry out tenant's (i.e. operation system) authorization check to operation system, and only verifying the operation system for passing through can just be carried out Service call.
There are some autotask nodes not need manual intervention in process management system, but these tasks are subject to network environment Etc. the restriction of factor, once performing failure will cause the interruption of flow process, so that whole operation flow needs to start anew to perform, Waste many resources.
The content of the invention
In view of this, the present invention provides a kind of method and device for Optimizing Flow management system, for part or Person all solves technical problem present in above-mentioned prior art.
Other characteristics and advantage of the present invention will be apparent from by detailed description below, or partially by the present invention Practice and acquistion.
According to an aspect of this disclosure, there is provided a kind of method for Optimizing Flow management system, including:
The abnormal information of capture autotask node is simultaneously stored, and prevents the rollback of task;
According to the node that the identification information-enquiry current process of flow instance is stopped;And
The identification information of the node stopped according to current process generates new task and performs.
In a kind of exemplary embodiment of the disclosure, also include:
Judge whether current node is countersign node;
When the node is to conutersign node, the participation countersign personnel configured during process modeling are read;
Set variable is automatically generated according to the participation countersign personnel;
The activation countersign node generates countersign task.
In a kind of exemplary embodiment of the disclosure, also include:
The identification information of the operation system for needing to consult journal file is arranged in the MDC contexts of logback offers;
Export the corresponding journal file named with the identification information of the operation system.
In a kind of exemplary embodiment of the disclosure, also include:
During configuration flow figure, the address of cache of the network service that the autotask node is called is a unique mark Know;
Configure the mapping table of unique mark described in one and the address of the network service for calling;
When issuing the flow chart and performing flow process, the autotask node is according to the unique mark and described reflects The address of the network service of firing table query calls.
In a kind of exemplary embodiment of the disclosure, also include:
When system occurs to migrate, the address change of the network service that the autotask task node is called;
Change the address of the network service for calling accordingly in the mapping table.
In a kind of exemplary embodiment of the disclosure, also include:
The business process designer that the process management system is provided is sent to corresponding operation system using preset protocol and is obtained The request of business information;
The business process designer receives the business information of the preset data form that the operation system is returned.
According to an aspect of this disclosure, there is provided a kind of device for Optimizing Flow management system, including:
Exception catching module, for capturing the abnormal information of autotask node and storing, prevents the rollback of task;
Querying node module is stopped, for the node stopped according to the identification information-enquiry current process of flow instance;With And
Task creation module, the identification information of the node for being stopped according to current process generate new task and perform.
In a kind of exemplary embodiment of the disclosure, also include:
Judge module, for judging whether current node is countersign node;
Read module, for when the node is to conutersign node, reading the participation countersign personnel configured during process modeling;
Set variable generating module, for automatically generating set variable according to the participation countersign personnel;
Countersign task generation module, generates countersign task for activating the countersign node.
In a kind of exemplary embodiment of the disclosure, also include:
Tenant identification writing module, for the identification information for needing the operation system for consulting journal file is arranged on In the MDC contexts that logback is provided;
Journal file output module, for exporting the corresponding journal file named with the identification information of the operation system.
In a kind of exemplary embodiment of the disclosure, also include:
Address mapping module, during for configuration flow figure, the address of the network service that the autotask node is called It is mapped as a unique mark;
Mapping table configuration module, for configuring the mapping of unique mark described in one and the address of the network service for calling Table;
Address lookup module, for issuing the flow chart and when performing flow process, in the autotask node according to institute State the address of the network service of unique mark and the mapping table query calls.
In a kind of exemplary embodiment of the disclosure, also include:
Change address module, for when system occur migrate when, the network that the autotask task node is called The address change of service;
Modification mapping table module, for changing the address of the network service for calling accordingly in the mapping table.
In a kind of exemplary embodiment of the disclosure, also include:
Request sending module, the business process designer provided for the process management system is using preset protocol to corresponding Operation system sends the request for obtaining business information;
Business information receiver module, receives the preset data form that the operation system is returned for the business process designer The business information.
The method and device for Optimizing Flow management system of the present invention, by capturing corresponding of autotask node Abnormal information when occurring abnormal of being engaged in simultaneously is stored, and is continued executing with the new task of the current node generation for stopping such that it is able to The interruption of flow process is prevented, substantial amounts of resource is saved.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary, this can not be limited Invention.
Description of the drawings
Its example embodiment is described in detail by referring to accompanying drawing, above and other target of the present invention, feature and advantage will Become more fully apparent.
Fig. 1 is the flow process of the method that the first according to an illustrative embodiments is used for Optimizing Flow management system Figure.
Fig. 2 is the flow process of the method that second according to an illustrative embodiments is used for Optimizing Flow management system Figure.
Fig. 3 is the flow process of the method that the third according to an illustrative embodiments is used for Optimizing Flow management system Figure.
Fig. 4 is the flow process of the method that the 4th kind according to an illustrative embodiments is used for Optimizing Flow management system Figure.
Fig. 5 is the flow process of the method that the 5th kind according to an illustrative embodiments is used for Optimizing Flow management system Figure.
Fig. 6 is a kind of block diagram of the device for Optimizing Flow management system according to an illustrative embodiments.
Specific embodiment
Example embodiment is described more fully with referring now to accompanying drawing.However, example embodiment can be with various shapes Formula is implemented, and is not understood as limited to example set forth herein;Conversely, thesing embodiments are provided so that the present invention will more Fully and completely, and by the design of example embodiment comprehensively convey to those skilled in the art.Accompanying drawing is only the present invention Schematic illustrations, be not necessarily drawn to scale.In figure, identical reference represents same or similar part, thus Repetition thereof will be omitted.
Additionally, described feature, structure or characteristic can in any suitable manner with reference in one or more enforcements In mode.In the following description, there is provided many details are fully understood to embodiments of the present invention so as to be given.So And, it will be appreciated by persons skilled in the art that technical scheme can be put into practice and omit one in the specific detail Or it is more, or can be using other methods, constituent element, device, step etc..In other cases, it is not shown in detail or describes Known features, method, device, realization, material or operation are to avoid that a presumptuous guest usurps the role of the host so that each aspect of the present invention becomes mould Paste.
Fig. 1 is the flow process of the method that the first according to an illustrative embodiments is used for Optimizing Flow management system Figure.
It is in the present embodiment, being developed based on the Activiti for increasing income by the process management system, independently of industry Business system simultaneously adopts the mode of SOA (Service-Oriented Architecture, Services Oriented Achitecture) externally to carry Illustrate as a example by process management system for service, the Hessian and rest service of two kinds of agreements, business can be externally provided System can complete the management of whole business process life cycle by service call.But the disclosure is not construed as limiting to this.
SOA is a component model, and the different function units (referred to as servicing) of application program are serviced it by these by it Between define good interface and contract is connected.Interface is defined by the way of neutrality, and it should be independently of reality Hardware platform, operating system and the programming language for now servicing.This allow to build service in various such systems with A kind of unification and general mode are interacted.
Hessian is the remoting onhttp instruments of a lightweight, provides the work(of RMI using simple method Energy.WebService is compared, Hessian is simpler, quick.Binary system RPC agreements are used, because using binary system Agreement, so it is well suited for sending binary data.
Operation flow be by the processing procedure of concrete business be separated into it is a series of have order, in a organized way, have the industry of logic Business node or task, and be indicated and automatic computing with appropriate model in a computer, it belongs to computer supported A part for collaborative work (Computer Supported Cooperative Work, CSCW).
As shown in figure 1, in step s 110, capture the abnormal information of autotask node and store, prevent returning for task Rolling.
Wherein, the autotask node can be serviceTask nodes.When exception occur in serviceTask nodes When, capture the exception and abnormal information is recorded for example in data base.
Autotask node is referred to, before Booting sequence, prepares the variable number of the control flow progress required for flow process According to after Booting sequence, without the need for foreign intervention, it becomes possible to perform according to predefined flow process.
In the present embodiment, can be caught the exception in serviceTask nodes by way of rewriteeing Activiti codes, And abnormal information is stored in data base, no longer outside throw exception so prevents from the rollback of task.
In the step s 120, inquire about what current process was stopped according to the identification information (such as flow instance ID) of flow instance Node.
The API of the query execution interior joint that Activiti is externally provided in the present embodiment, can be passed through, according to flow instance ID just can know which node current process is rested on.
The flow instance is the running example of flow definition, and it represents a business to be done.When user calls After API starts flow process, a flow instance can be produced.Flow instance is user-operably, and can produce different running statuses:In advance Start, operation is hung up, terminated, failure terminates.The state of flow instance can mutually phase transformation under different operations.When Flow instance is in running, because the reason such as system exception or data exception causes the circulation of flow instance to fail.
In step s 130, the identification information (such as node ID) of the node for being stopped according to current process generates new task And perform.
The API of the establishment task that Activiti is externally provided in the present embodiment, can be passed through, called in current process node The API of establishment task forms new task, makes to make abnormal serviceTask nodes rest on present node simultaneously in this way And can continue to perform.
In prior art, Activiti can carry out appointing when serviceTask nodes occur abnormal to ensure concordance The rollback of business causes task rest on current serviceTask nodes, so as to cause the interruption of flow process.The present invention is implemented Example provide the method for Optimizing Flow management system, by catching the exception and storing in serviceTask nodes, no longer to Outer throw exception prevents the rollback of task, and obtains current process by inquiry and rest on which node, in current process Node calls the API of establishment task to form new task, makes to make in this way abnormal serviceTask nodes to rest on and works as Front nodal point and can continue to perform so that interrupt flow process can continue to perform, substantial amounts of resource can be saved.
It will be clearly understood that the present disclosure describe how being formed and using particular example, but the principle of the present invention to be not limited to Any details of these examples.Conversely, the teaching based on present disclosure, these principles can be applied to many other Embodiment.
When traffic flow is managed, task typically goes what is processed by a people, and many individuals process a task simultaneously, This task is referred to as countersign task.This business demand is also very common, such as a cash requirement, in leader's examination & approval link, just needs Want multiple department head's signatures.In existing process management system, explicit one, statement in code when flow process is conutersigned, is needed Set variable, this mode cause developer Jing often to omit setting variable and cause flow process mistake.
Fig. 2 is the flow process of the method that second according to an illustrative embodiments is used for Optimizing Flow management system Figure.
The method for Optimizing Flow management system of embodiment of the present invention, can pass through to inherit the realization of countersign node Class, is automatically obtained the method for creating countersign node, and reading is configured in before establishment countersign example required condition ready, is used The method will one trouble for gathering variable of explicit declaration when can avoid developing every time.
As shown in Fig. 2 in step S210, judging whether current node is countersign node;When the node is countersign During node, into next step;Conversely, jumping to step S250 terminates this operation.
In step S220, the participation countersign personnel configured during process modeling are read.
Countersign personnel are participated in, the potential process of the countersign node specified when referring to and process modeling is carried out to operation flow People, manager.
The potential process people of countersign node refers to the owner of work item, is responsible for completing the task.The potential place of countersign node Reason people can by other people act on behalf of, it is also possible to be changed, will work item be reassigned to other people.Work item, is flow process The running example of node, the pending business of the person that is business operation.Business operation person is one's own pending by inquiring about Work item obtains task and completes task, and then pushes flow instance to next node, is that next business operation person produces New task.
The manager of countersign node possesses special authority, such as carries out redistributing etc. operating to task.
In step S230, set variable is automatically generated according to the participation countersign personnel.
In step S240, activate the countersign node and generate countersign task.
In step s 250, terminate.
Method for Optimizing Flow management system provided in an embodiment of the present invention, without explicit declaration again during exploitation countersign Set variable, eliminates the trouble for arranging set variable when conutersigning Node Development, so as to reduce the probability of flow process error.
Process management system externally provides service, while the access log of meeting record traffic system, log content is by renting The ID at family (i.e. operation system) makes a distinction, and the record that access log just intersects when so multiple tenants access is in same daily record In file, a tenant just can be appreciated that the access log of other tenants when checking access log, and existing design can not expire The safety of pedal system and tenant check the convenience of daily record.
Fig. 3 is the flow process of the method that the third according to an illustrative embodiments is used for Optimizing Flow management system Figure.
MDC (Mapped Diagnostic Context) is that the convenience that logback is provided is remembered under the conditions of multithreading The function of record daily record, each request in multi-tenant is called can carry information (such as tenant's account (ID), the password of tenant Deng), different tenants opens different threads and is processed, that is to say, that can be where print log is needed tenant ID Arrange in MDC contexts, the journal file name of output can for example with tenant ID as variable, then the daily record text of final output The journal file that part would is that with tenant ID (tenantId) to identify, consults the purpose of daily record so as to reach family of subleasing.
Logback is a log component of increasing income of log4j founder's design.Logback is currently divided into three modules: Logback-core, logback-classic and logback-access.Logback-access access modules and Servlet The integrated offer of container is by Http come the function of access log.
In the exemplary embodiment, the method for Optimizing Flow management system may comprise steps of:To need to look into The identification information for readding the operation system of journal file is arranged in the MDC contexts of logback offers, for example, can pass through Filter oneself passes through to order MDC.put (" userId ", DEFAULT_USERID) in Action;To MDC arranges values; The corresponding journal file named with the identification information of the operation system is exported, for example, can be led in the configuration file of log4j Cross [%X { userId }] to extract the value of user's setting and export daily record, it is as follows
Log4j.appender.layout.ConversionPattern=%d [%t] %-5p-%c#%M%x-%m (%r ms) %n [%X { userId }].
Which is illustrated below by Fig. 3.
As shown in figure 3, in step S310, configuring the SiftingAppender based on user conversation, tenant's variable is set tenantId。
Wherein SiftingAppender is an all-round additional device in MDC.It can be based on any given real-time category Property separate (or screening) daily record.For example, SiftingAppender can separate log event based on user conversation, so, can Think that each tenant sets up an independent journal file.
In step s 320, tenant ID tenantId are obtained from process management system context.
In step S330, arranged in daily record output using the API (Application, application programming interfaces) of logback Hereafter.
In step S340, process management system output journal.
In step S350, SiftingAppender judge the context of the process management system output journal in be It is no to have tenantId;As no tenantId, into step S360;When there is tenantId, step S370 is jumped to.
In step S360, other journal files are exported, and enters step S380.
In step S370, the journal file named with tenantId is exported.
In step S380, terminate.
Method for Optimizing Flow management system provided in an embodiment of the present invention, using the MDC context realities of logback Showed the family outputting log file that subleases, it is achieved thereby that sublease family consult daily record function, ensure that system safety and The convenience of user's inquiry.
Autotask node such as serviceTask nodes allow to call long-range network (webService) to service, existing The address for having webService in technology is maintained in flow chart, and flow chart is run once issuing in process management system Cannot be modified again.If now there is change in the address of webService, it is necessary to which modification process figure is issued new again Flow chart enters process management system, this by the address for causing operating flow process find webService, so as to cause fortune Flow process in row is interrupted.
Fig. 4 is the flow process of the method that the 4th kind according to an illustrative embodiments is used for Optimizing Flow management system Figure.
As shown in figure 4, in step S410, during configuration flow figure, the network service that the autotask node is called Address of cache be a unique mark (unique ID).
In the step s 420, configure the mapping table of unique mark described in one and the address of the network service for calling.
In the present embodiment, by the way of database table mapping, the network service that the configuration of serviceTask nodes is called One unique ID is set during address, and this ID is consistent with the major key of the mapping table in database table, in this mapping table The address matching of middle major key and the network service for really calling.
In step S430, when issuing the flow chart and performing flow process, the autotask node according to only The address of the network service of one mark and the mapping table query calls.
The content in the mapping table is loaded when process management system starts in internal memory.Performing serviceTask During node, the address of the network service for really calling is obtained from internal memory according to unique ID of configuration.
With continued reference to Fig. 4, in the exemplary embodiment, the method for Optimizing Flow management system can also include step S440, wherein, in step S440, when system occurs to migrate, the network clothes that the autotask task node is called The address change of business.
With continued reference to Fig. 4, in the exemplary embodiment, the method for Optimizing Flow management system can also include step S450, wherein, in step S450, change the address of the network service for calling accordingly in the mapping table.
If the address of the network service that serviceTask nodes are called changes, it is only necessary to reflect in changing data base The corresponding contents of firing table and without modification process figure, enter in process management system without the flow chart for issuing new, also will not be right The flow process being currently running is impacted.
Method for Optimizing Flow management system provided in an embodiment of the present invention, the mode mapped using database table are tieed up Shield webService addresses, facilitate system O&M, and reduce and aligned in operation due to webService address transfers The impact that flow process is brought.
There are three participants during system development, be respectively:Process management system, operation system (tenant) and flow scheme design Device.Process management system provides flow engine, is responsible for the parsing of flow chart, the startup of flow process, completes, inquires about;Operation system The service finishing service flow process that call flow management system is issued;Business process designer is responsible for the modeling of operation system.
In the present embodiment, it is possible to use Activiti Eclipse business process designers design Activiti flow processs, using mark Accurate BPMN2.0 flow definitions file is describing the definition of workflow.BPMN2.0 flow definition files are one and meet industry mark The file of accurate XML format.The circulation sequence of flow process is contained in this document, it is related on step node and each node User, the flow process element such as variable information.Each flow process element is further comprises in BPMN2.0XML flow definition files fixed The information such as the display location in justice, show such that it is able in patterned mode or editing process defines file.At present There is the visual editor of various BPMN2.0 flow definitions files.Compile there is provided 2 kinds of visualizations for defining file in Activiti Collect device:The workflow editor of the Activiti Modeler and Eclipse card formats of Web Application forms. Activiti Modeler could be used and Eclipse plug-in units by Web browser in must being deployed in Web Application Server The editing machine of form can be directly used in Eclipse, preferably combine the flow scheme design and program coding of Activiti. After Activiti5.6 versions, Activiti Modeler have been no longer contained in the download of Activiti.
Wherein, the execution of the authority for the needing setting procedure task such as task according to operation system is needed during process modeling People, executive role, list path of task etc., in prior art, these attributes all manual must be entered in business process designer, Efficiency comparison is low and easily malfunctions.
Fig. 5 is the flow process of the method that the 5th kind according to an illustrative embodiments is used for Optimizing Flow management system Figure.
As shown in figure 5, in step S510, the business process designer that the process management system is provided using preset protocol to Corresponding operation system sends the request for obtaining business information.
The business process designer is used for process modeling, needs to use user, the angle of operation system (tenant) during process modeling The business information such as normal complexion list, then these data can be provided by way of service by operation system completely.
In the present embodiment, the business process designer can be specified using rest agreements and preset data form (for example Json), the request for obtaining business information is sent to the operation system.
In step S520, the business process designer receives the industry of the preset data form that the operation system is returned Business information.
After operation system receives the request, the preset data form specified is serviced and is returned using rest protocol issuances The business information of (such as json).
The business process designer is illustrated on the page after taking the data of json forms and selects for developer, can save handss The trouble of dynamic typing, and reduce the probability of error, and the efficiency that improve process modeling.
Can be directly fixed to create a flow process by creating the form of Activiti Diagram in Eclipse projects Adopted file is simultaneously edited in visual editor.If there is BPMN2.0 flow definition XML files in project, double-clicking should File Eclipse plug-in units can automatically generate the flow path visual compiling file that a suffix is .activiti.Double-clicking this document can The flow process is opened in visible process editing machine.
With continued reference to Fig. 5, in the exemplary embodiment, the method for Optimizing Flow management system can also include step S530, wherein, in step S530, the business process designer issues flow chart to the process management system.
After the completion of flow definition document design, it is possible to use API code below obtains RepositoryService, And flow definition file is deployed in Activiti flow engines using the service.
After these Service objects are obtained, it is possible to complete various Activiti using these Service objects The operation of flow engine.Need synthesis in actual applications using various services to dispose flow definition, Booting sequence example, neck Take, inquire about the major function for completing the Activiti flow engines such as user task and the record of querying flow history run.
Method for Optimizing Flow management system provided in an embodiment of the present invention, business process designer and operation system pass through Rest service associations, so as to improve development efficiency, improve the efficiency of process modeling and reduce the error rate of process modeling.
It is following for apparatus of the present invention embodiment, can apply to the above-mentioned process management system of the present invention.For the present invention The details not disclosed in device embodiment, refer to said method embodiment of the present invention.
Fig. 6 is a kind of block diagram of the device for Optimizing Flow management system according to an illustrative embodiments.
As shown in fig. 6, the device 600 for Optimizing Flow management system can include exception catching module 610, stop section Point enquiry module 620 and task creation module 630.
Wherein exception catching module 610 is used to capture the abnormal information of autotask node and store, and prevents returning for task Rolling.
Querying node module 620 is stopped for the node that stops according to the identification information-enquiry current process of flow instance.
The identification information of node of the task creation module 630 for being stopped according to current process generates new task and holds OK.
In the exemplary embodiment, the device 600 for Optimizing Flow management system can also include judge module, be used for Judge whether current node is countersign node;Read module, for when the node is to conutersign node, reading process modeling When configure participation countersign personnel;Set variable generating module, becomes for automatically generating set according to the participation countersign personnel Amount;Countersign task generation module, generates countersign task for activating the countersign node.
In the exemplary embodiment, the device 600 for Optimizing Flow management system can also be write including tenant identification Module, for the identification information for needing the operation system for consulting journal file to be arranged on the MDC contexts of logback offers In;Journal file output module, for exporting the corresponding journal file named with the identification information of the operation system.
In the exemplary embodiment, the device 600 for Optimizing Flow management system can also include address mapping module, During for configuration flow figure, the address of cache of the network service that the autotask node is called is a unique mark;
Mapping table configuration module, for configuring the mapping of unique mark described in one and the address of the network service for calling Table;Address lookup module, for issuing the flow chart and when performing flow process, in the autotask node according to described unique The address of the network service of mark and the mapping table query calls.
In the exemplary embodiment, the device 600 for Optimizing Flow management system can also include change address module, For when system occur migrate when, the address change of the network service that the autotask task node is called;Modification is reflected Firing table module, for changing the address of the network service for calling accordingly in the mapping table.
In the exemplary embodiment, the device 600 for Optimizing Flow management system can also include request sending module, Acquisition business is sent to corresponding operation system using preset protocol for the business process designer that the process management system is provided The request of information;Business information receiver module, receives the preset data that the operation system is returned for the business process designer The business information of form.
The device for Optimizing Flow management system that embodiment of the present invention is provided, on the one hand, flow process can be solved There is the abnormal problem that cannot be continued executing with from present node in serviceTask nodes so that the flow process of interruption can continue to hold OK, save ample resources.On the other hand, can also solve the problems, such as that tenant's daily record mixes, realize the family output journal that subleases The function of file, it is ensured that the safety of system and tenant consult the convenience of daily record.Another further aspect, can also solve to develop meeting The problem of explicit declaration set variable during label task, without explicit declaration set variable again during exploitation countersign, reduces flow process and goes out Wrong probability.Another aspect, needs a large amount of modification streams after can also solving serviceTask node webService address changes Cheng Tu, is issued flow chart and affects the problem of flow process in operation, reduce the shadow brought due to webService address transfers Ring.Further, it is also possible to being manually entered when solving the problems, such as process modeling, efficiency is low, error-prone, the efficiency of process modeling is improve, And error rate when reducing process modeling.
It should be noted that the block diagram shown in above-mentioned accompanying drawing is functional entity, not necessarily must with physically or logically Independent entity is corresponding.Can realize these functional entitys using software form, or in one or more hardware modules or These functional entitys are realized in integrated circuit, or is realized in heterogeneous networks and/or processor device and/or microcontroller device These functional entitys.
It will be appreciated by those skilled in the art that realizing that all or part of step of above-mentioned embodiment is implemented as being held by CPU Capable computer program.When the computer program is performed by CPU, it is above-mentioned that the said method that the execution present invention is provided is limited Function.Described program can be stored in a kind of computer-readable recording medium, and the storage medium can be read only memory, Disk or CD etc..
Further, it should be noted that above-mentioned accompanying drawing is only according to included by the method for exemplary embodiment of the invention What is processed schematically illustrates, rather than limits purpose.It can be readily appreciated that above-mentioned process shown in the drawings is not intended that or limits these The time sequencing of process.In addition, being also easy to understand, these process can for example either synchronously or asynchronously be performed in multiple modules 's.
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can be realized by software, it is also possible to realized by way of software is with reference to necessary hardware.Therefore, according to the present invention The technical scheme of embodiment can be embodied in the form of software product, the software product can be stored in one it is non-volatile Property storage medium (can be CD-ROM, USB flash disk, portable hard drive etc.) in or network on, including some instructions so that a calculating Equipment (can be personal computer, server, mobile terminal or network equipment etc.) is performed according to embodiment of the present invention Method.
The illustrative embodiments of the present invention are particularly shown and described more than.It should be appreciated that the present invention is not limited In detailed construction described herein, set-up mode or implementation method;On the contrary, it is intended to cover be included in claims Spirit and scope in various modifications and equivalence setting.

Claims (12)

1. a kind of method for Optimizing Flow management system, it is characterised in that include:
The abnormal information of capture autotask node is simultaneously stored, and prevents the rollback of task;
According to the node that the identification information-enquiry current process of flow instance is stopped;And
The identification information of the node stopped according to current process generates new task and performs.
2. method according to claim 1, it is characterised in that also include:
Judge whether current node is countersign node;
When the node is to conutersign node, the participation countersign personnel configured during process modeling are read;
Set variable is automatically generated according to the participation countersign personnel;
The activation countersign node generates countersign task.
3. method according to claim 1, it is characterised in that also include:
The identification information of the operation system for needing to consult journal file is arranged in the MDC contexts of logback offers;
Export the corresponding journal file named with the identification information of the operation system.
4. method according to claim 1, it is characterised in that also include:
During configuration flow figure, the address of cache of the network service that the autotask node is called is a unique mark;
Configure the mapping table of unique mark described in one and the address of the network service for calling;
When issuing the flow chart and performing flow process, in the autotask node according to the unique mark and the mapping table The address of the network service of query calls.
5. method according to claim 4, it is characterised in that also include:
When system occurs to migrate, the address change of the network service that the autotask task node is called;
Change the address of the network service for calling accordingly in the mapping table.
6. method according to claim 1, it is characterised in that also include:
The business process designer that the process management system is provided sends acquisition business to corresponding operation system using preset protocol The request of information;
The business process designer receives the business information of the preset data form that the operation system is returned.
7. a kind of device for Optimizing Flow management system, it is characterised in that include:
Exception catching module, for capturing the abnormal information of autotask node and storing, prevents the rollback of task;
Querying node module is stopped, for the node stopped according to the identification information-enquiry current process of flow instance;And
Task creation module, the identification information of the node for being stopped according to current process generate new task and perform.
8. device according to claim 7, it is characterised in that also include:
Judge module, for judging whether current node is countersign node;
Read module, for when the node is to conutersign node, reading the participation countersign personnel configured during process modeling;
Set variable generating module, for automatically generating set variable according to the participation countersign personnel;
Countersign task generation module, generates countersign task for activating the countersign node.
9. device according to claim 7, it is characterised in that also include:
Tenant identification writing module, for the identification information for needing the operation system for consulting journal file is arranged on logback In the MDC contexts of offer;
Journal file output module, for exporting the corresponding journal file named with the identification information of the operation system.
10. device according to claim 7, it is characterised in that also include:
Address mapping module, during for configuration flow figure, the address of cache of the network service that the autotask node is called For a unique mark;
Mapping table configuration module, for configuring the mapping table of unique mark described in one and the address of the network service for calling;
Address lookup module, for issuing the flow chart and when performing flow process, the autotask node according to only The address of the network service of one mark and the mapping table query calls.
11. devices according to claim 10, it is characterised in that also include:
Change address module, for when system occur migrate when, the network service that the autotask task node is called Address change;
Modification mapping table module, for changing the address of the network service for calling accordingly in the mapping table.
12. devices according to claim 7, it is characterised in that also include:
Request sending module, uses preset protocol to corresponding business for the business process designer that the process management system is provided System sends the request for obtaining business information;
Business information receiver module, receives the institute of the preset data form that the operation system is returned for the business process designer State business information.
CN201611146326.0A 2016-12-13 2016-12-13 Method and device for optimizing process management system Active CN106600226B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611146326.0A CN106600226B (en) 2016-12-13 2016-12-13 Method and device for optimizing process management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611146326.0A CN106600226B (en) 2016-12-13 2016-12-13 Method and device for optimizing process management system

Publications (2)

Publication Number Publication Date
CN106600226A true CN106600226A (en) 2017-04-26
CN106600226B CN106600226B (en) 2020-08-04

Family

ID=58801095

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611146326.0A Active CN106600226B (en) 2016-12-13 2016-12-13 Method and device for optimizing process management system

Country Status (1)

Country Link
CN (1) CN106600226B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009799A (en) * 2017-12-21 2018-05-08 泰康保险集团股份有限公司 The method and device of workflow persistence, storage medium, electronic equipment
WO2019134238A1 (en) * 2018-01-08 2019-07-11 平安科技(深圳)有限公司 Method for executing auxiliary function, device, storage medium, and terminal
CN110928525A (en) * 2019-11-12 2020-03-27 中信百信银行股份有限公司 Automatic log generation method and system for business flow development tool
CN112418796A (en) * 2020-11-20 2021-02-26 泰康保险集团股份有限公司 Sub-process node activation method and device, electronic equipment and storage medium
WO2021068692A1 (en) * 2019-10-10 2021-04-15 深圳前海微众银行股份有限公司 Method, apparatus and device for workflow migration, and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388844A (en) * 2008-11-07 2009-03-18 东软集团股份有限公司 Data flow processing method and system
US20120047078A1 (en) * 2010-08-18 2012-02-23 Software Ag System and method for ad-hoc modification of a process during runtime
CN105302581A (en) * 2015-12-02 2016-02-03 南京莱斯信息技术股份有限公司 Workflow event mechanism implementation method based on script engine
CN105630589A (en) * 2014-11-24 2016-06-01 航天恒星科技有限公司 Distributed process scheduling system and process scheduling and execution method
CN105824842A (en) * 2015-01-07 2016-08-03 阿里巴巴集团控股有限公司 Distributed transaction processing method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101388844A (en) * 2008-11-07 2009-03-18 东软集团股份有限公司 Data flow processing method and system
US20120047078A1 (en) * 2010-08-18 2012-02-23 Software Ag System and method for ad-hoc modification of a process during runtime
CN105630589A (en) * 2014-11-24 2016-06-01 航天恒星科技有限公司 Distributed process scheduling system and process scheduling and execution method
CN105824842A (en) * 2015-01-07 2016-08-03 阿里巴巴集团控股有限公司 Distributed transaction processing method and system
CN105302581A (en) * 2015-12-02 2016-02-03 南京莱斯信息技术股份有限公司 Workflow event mechanism implementation method based on script engine

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
肖庆等: "工作流管理***的异常处理机制研究", 《信息与电脑》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108009799A (en) * 2017-12-21 2018-05-08 泰康保险集团股份有限公司 The method and device of workflow persistence, storage medium, electronic equipment
CN108009799B (en) * 2017-12-21 2021-12-31 泰康保险集团股份有限公司 Method and device for persistence of workflow, storage medium and electronic equipment
WO2019134238A1 (en) * 2018-01-08 2019-07-11 平安科技(深圳)有限公司 Method for executing auxiliary function, device, storage medium, and terminal
WO2021068692A1 (en) * 2019-10-10 2021-04-15 深圳前海微众银行股份有限公司 Method, apparatus and device for workflow migration, and computer-readable storage medium
CN110928525A (en) * 2019-11-12 2020-03-27 中信百信银行股份有限公司 Automatic log generation method and system for business flow development tool
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

Also Published As

Publication number Publication date
CN106600226B (en) 2020-08-04

Similar Documents

Publication Publication Date Title
US10565095B2 (en) Hybrid testing automation engine
CN107370786B (en) General information management system based on micro-service architecture
CN106600226A (en) Method and device used for optimizing flow management system
US7917815B2 (en) Multi-layer context parsing and incident model construction for software support
US8490049B2 (en) Faceted, tag-based approach for the design and composition of components and applications in component-based systems
Cetina et al. Applying software product lines to build autonomic pervasive systems
CN102810057A (en) Log recording method
CN113052696B (en) Financial business task processing method, device, computer equipment and storage medium
US20230244671A1 (en) Providing Triggers Based on One-To-Many or Many-To-One Relationships in a System of Record
Campos et al. A survey of formalization approaches to service composition
Kharwat Computer simulation: an important tool in the fast-food industry
JP2007535013A (en) Computer program design
CN116185425B (en) Event flow arrangement method, device, equipment and medium based on node combination
US7076779B2 (en) System for controlling and monitoring a process
Kulkarni et al. Towards business application product lines
Stevanetic et al. Tool support for the architectural design decisions in software ecosystems
Liu Software data analytics: Architectural model discovery and design pattern detection
Gaulke et al. Rule-enhanced task models for increased expressiveness and compactness
CN110321111A (en) System flow control method, device, equipment and computer storage medium
TWI842427B (en) Software development system and software developing method
US11321093B1 (en) Multilayered generation and processing of computer instructions
CN114004553B (en) System, server and client for generating plans in visual mode
US11836496B2 (en) Multilayered generation and processing of computer instructions
Koschel et al. Is Amazon Kinesis Data Analytics Suitable as Core for an Event Processing Network Model?
Du et al. DFS-KeyLevel: A Two-Layer Test Scenario Generation Approach for UML Activity Diagram

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
GR01 Patent grant
GR01 Patent grant