CN104216912A - Method and device for achieving non-intrusive service form workflow - Google Patents

Method and device for achieving non-intrusive service form workflow Download PDF

Info

Publication number
CN104216912A
CN104216912A CN201310217986.3A CN201310217986A CN104216912A CN 104216912 A CN104216912 A CN 104216912A CN 201310217986 A CN201310217986 A CN 201310217986A CN 104216912 A CN104216912 A CN 104216912A
Authority
CN
China
Prior art keywords
workflow
business form
template
database
workflow template
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
CN201310217986.3A
Other languages
Chinese (zh)
Other versions
CN104216912B (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.)
Institute of Software Application Technology Guangzhou GZIS of CAS
Original Assignee
Institute of Software Application Technology Guangzhou GZIS of CAS
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 Institute of Software Application Technology Guangzhou GZIS of CAS filed Critical Institute of Software Application Technology Guangzhou GZIS of CAS
Priority to CN201310217986.3A priority Critical patent/CN104216912B/en
Publication of CN104216912A publication Critical patent/CN104216912A/en
Application granted granted Critical
Publication of CN104216912B publication Critical patent/CN104216912B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2358Change logging, detection, and notification

Abstract

The invention belongs to the technical field of service form application, and particularly relates to a method and device for achieving non-intrusive service form workflow. The device comprises a service form database used for pre-storing service forms of various types and of heterogeneous structures, a workflow template database used for pre-storing various workflow templates, a workflow relation matching database used for storing matching relation information between the workflow templates and the service forms, and an associating configurator used for reading data in the service form database and the workflow templates, associating each workflow template with the corresponding service form and storing association information in the workflow relation matching database. According to the method, each service form in the service form database is associated with the corresponding workflow template in the workflow template database, and then data are executed and called to finish the workflow. According to the method and device, development efficiency of a service form application system can be improved.

Description

A kind of implementation method of the business form work fluidisation without intrusive mood and device
Technical field
The invention belongs to business form applied technical field, be specifically related to a kind of implementation method and device of the business form work fluidisation without intrusive mood.
Background technology
Workflow (Work Flow) is exactly the computation model of workflow, carries out representing in a computer and to the calculation that in fact plays tricks by the logic Sum fanction organized together before and after the work in workflow how with appropriate model.The subject matter that workflow will solve is: for realizing certain business objective, between multiple participant, utilizing computing machine, automatically transmitting document, information or task by certain pre-defined rule.Briefly, workflow is exactly a series of mutual linking, the business activity automatically carried out or task.We can regard whole business procedure as Yi Tiaohe, and the river wherein flow through is exactly pending business form.
Workflow engine (Work Flow Engine) is the maneuverability pattern in order to realize workflow, flow operations process is encapsulated, provides service to application system, make operation system can realize the mode of operation of workflow.
Business form, also can be electronic spreadsheet, is to adopt abstract to paper list in real world (such as ask for leave list, expense report) of informationalized means.It is major way and the means of carrying out data acquisition and displaying in application system, is also main handling object in Workflow system, mainly comprises three partial contents:
(1) form tags: contain the method that the URL of processing list forms data CGI/JSP/ASP supervisor used and data are submitted to server here.
(2) form fields: contain text box, password box, Hidden field, multiline text frame, check box, radio box, drop-down choice box and files passe frame etc.
(3) list button: comprise submit button, reset button and general button; For data being sent to the scripts such as CGI/JSP/ASP on server or cancelling input, can also control with list button the work for the treatment of that other define processing scripts.Wherein submit button just correspond to the operation such as newly-built, amendment, deletion of list.
Many companies adopt paper list, the manual mode transmitted, and one-level one-level is signed after examination, and work efficiency is very low, then can not realize for statistical report form function.And adopt workflow engine, user only need fill in relevant service list on computers, automatically down can run according to the flow template defined, next stage approver will receive related data, and can modify as required, follow the tracks of, manage, inquire about, add up, printing etc., substantially increase efficiency, achieve information management, improve the core competitiveness of company.
The implementation of the business form of current application system is generally for each business form, defines a workflow template all separately, and business form processing logic and workflow processing logic is mixed.In today that individual demand is enriched constantly, the list of Electronic Bill System needs will get more and more, and so need the workflow of definition also to increase during exploitation thereupon, thus Electronic Bill System development amount is continued to increase.
Illustrate as follows
(1) person of asking for leave asks for leave 3 days, and the workflow that his needs are walked is:
The person of asking for leave initiates the request list of asking for leave 3 days-directly under leader's examination & approval-approval results (approval or refusal)--terminates.
(2) person of asking for leave asks for leave more than 3 days, and the workflow that his needs are walked is:
The person of asking for leave initiates the request list of asking for leave more than 3 days-refuse directly under leader's examination & approval-approval results--terminates
-approval results approval-one's immediate superior examination & approval-approval results (approval or refusal)--terminate.Namely be ask for leave more than 3 days than the leader of one-level more than 3 days examination & approval of asking for leave.
(3), within finance reimbursement 1000 yuan, the workflow that his needs are walked is:
Reimbursement person initiates request list-directly under leader examination & approval-approval results (approval or refuse)--end.
(4) finance reimbursement more than 1000 yuan, the workflow that his needs are walked is:
Reimbursement person initiates request list-refuse directly under leader examination & approval-approval results--end
-approval results approval-one's immediate superior examination & approval-approval results (approval or refusal)--terminate.Namely be that reimbursement more than 1000 yuan is than many one-level leaders examination & approval within reimbursement 1000 yuan.
Above four kinds of different lists, need to develop four workflow templates respectively to carry out one_to_one corresponding, workflow template cannot be re-used, also make business development personnel can not be absorbed in the exploitation of service logic itself, cause development efficiency low.
The essential reason of this problem is caused to be in the business form system of existing support performance stream, the service logic of each business form has carried out close-coupled with workflow engine, needs the workflow engine directly calling bottom when making to write service logic.
Summary of the invention
In order to solve the problem, the object of the present invention is to provide a kind of implementation method and device of the business form work fluidisation without intrusive mood, to improve business form application system development efficiency.
The so-called implication without intrusive mood of the present invention, exactly when not changing the original form tags of business form, form fields, list button, makes business form can process in workflow, thus reduces the exploitation of application system programming.
In order to realize foregoing invention object, the technical solution used in the present invention is as follows:
Without an implement device for the business form work fluidisation of intrusive mood, this device comprises:
Business form database, for the business form that is polytype, heterogeneous structure that prestores;
Workflow template database, for the multiple workflow template that prestores;
Workflow relationship match database, for storing the matching relationship information between workflow template and business form; And
Associated configuration device, for reading data in described business form storehouse and workflow template storehouse, associates with business form between two by workflow template wherein, and by related information stored in described workflow relationship match database.
Further, this device also comprises:
Method call storehouse storehouse, the method execution stack for the back-end operations logic operated business form stores;
URL interceptor, for intercepting the URL access links that user produces business form operation;
Method interceptor, for intercepting the contextual information of the manner of execution of URL access links opposite rear end;
Workflow determinant, for URL access links, business form, the business form action type parameter imported into according to URL blocker and method interceptor, from workflow relationship match database, inquire about whether related workflow template id exists, if there is the workflow template id of association, then utilize workflow template id to check out from workflow template database and be transferred to workflow initiator;
Workflow initiator, for according to the workflow template id imported into and business form, calls workflow engine to initiate workflow;
Workflow engine, for according to the work flow operation example information in work flow operation instance database, divides the business form in business form database and tasks corresponding node processing people and process;
Allocating stack conservator, the contextual information for being intercepted by method interceptor carries out in process store method allocating stack storehouse; And
Workflow completes processor, for the treatment of workflow power cut-off.
Further, described contextual information comprises URL access links, business form and action type.
Further, described workflow complete processor work for the treatment of stream power cut-off, specifically: if workflow is unsuccessfully to terminate, then from method call storehouse storehouse delete before stored in method execution stack, business form operation failure; If workflow is successfully to terminate, then before recalling from method call storehouse storehouse stored in method execution stack, adopt reflection mode recover before Run-time scenario and continue perform, business form successful operation is completed.
Further, mainly comprising four fields in the data structure of described workflow relationship match database, is business form type, the id of business form, the action type of business form and workflow template id respectively; Described business form type, for distinguishing dissimilar business form; The id of described business form, for distinguishing the business form of same type; The action type of described business form, comprises interpolation, amendment and deletes three types; Workflow template id, for unique identification workflow template.
Further, in the data structure of described workflow relationship match database, also comprise form attributes filter expression, for automatically carrying out the selection of workflow template according to current business form information.
Further, workflow template associates with business form by described associated configuration device between two, specifically: the mark id of the workflow template in the mark id of the business form in business form database and workflow template database is set up mapping relations, the mark id of the mark id or input service flow template that make the mark id of incoming traffic list can recall workflow template can recall the mark id of business form.
Further, described workflow template comprises the authority of handler in the node of workflow, node and node processing people.
Without an implementation method for the business form work fluidisation of intrusive mood, comprise the following steps:
Workflow template in business form in business form database and workflow template database is set up incidence relation between two;
Receive the order of user's click-to-call service list button, perform the business logical operation of rear end;
The contextual information of intercept service list operation;
According to the described contextual information intercepted, inquire about this business form and whether there is the workflow template with it with incidence relation;
If do not existed, then business form has operated;
As existed, then stop the operation of business form, and the allocating stack information of this operation is preserved, and order performs subsequent step;
Call workflow engine, and generate workflow instance according to the workflow template inquired;
Utilize workflow engine according to the definition of workflow template, dispatch and carry out workflow processing to different node processing people;
Judge whether workflow terminates, as do not terminated, returning previous step circulation and performing; As terminated, then order performs subsequent step;
Judge whether workflow successfully terminates;
In this way, then the information before abandoning in store method allocating stack, and with the operation of failed winding-up list;
As no, then the information before obtaining in store method allocating stack, continues the method for operating performing business form, the successful operation of business form is completed.
Further, described relation that business form in business form database is associated with the workflow template in workflow template database, specifically: the mark id of the workflow template in the mark id of the business form in business form database and workflow template database is set up mapping relations, the mark id of the mark id or input service flow template that make the mark id of incoming traffic list can recall workflow template can recall the mark id of business form.
Further, described contextual information comprises URL access links, business form and action type.
By apparatus of the present invention or method, ask for leave 3 days, more than 3 days for of the prior art, with the flow processing situation of more than 1000 yuan within submitting an expense account 1000 yuan, only need to set up ask for leave list and a reimbursement list in form database, the logic of do not need to add judgement in sheet disposal method 3 days and 1000 yuan.Two-stage examination & approval and three grades of examination & approval, two workflows are set up, the incidence relation both being set up by associated configuration device in workflow template database.Within two days, just calling two-stage approval process as asked for leave, submitting an expense account 800 yuan and also calling identical two-stage approval process.Equally, ask for leave more than three days and submit an expense account more than 1000 yuan and all call three grades of approval processes.And then traditional business form is separated with workflow, change the relation that traditional business list and workflow are bound one to one, get up different list and Workflow association can complete the business of number of different types according to the needs of practical application.
The present invention, on the workflow database basis including multiple workflow, can set multiple different business form easily.When being even preset with the workflow of sufficient amount in workflow database, application developer even can remove designing workflows especially on this basis, directly carry out according to actual needs calling and configuring, such as: the workflow having secondary examination & approval in workflow template database, to be so no matter ask for leave less than 3 days, or can directly to call this workflow template within reimbursement 1000 yuan.Do not need to define a workflow to each type of service, and then greatly improve application development efficiency, reduce the time of programming, shorten the time that list is applied in practice.
Present invention achieves being separated of business form and workflow, support their multi-to-multi corresponding relation, and achieve without intrusive mood by the scheme of business form operation element fluidisation.
Achievement of the present invention will reach following effect:
(1) business form can separate with workflow template and defines, and supports any pairing between them;
(2) newly-built, the amendment of business form and deletion action can when not changing code, realize whether walking workflow, when walking workflow, walking the logic of what workflow by configuration;
(3) business form operation has carried out decoupling zero with workflow, making the exploitation of business form operation code be by what workflow engine driven on earth without the need to understanding bottom, can be combined with any workflow engine;
(4) improve the efficiency of operation system exploitation, reduce defect generation rate.
Accompanying drawing explanation
This accompanying drawing illustrates that the picture provided is used for auxiliary a further understanding of the present invention, forms a application's part, does not form inappropriate limitation of the present invention, in the accompanying drawings:
Fig. 1 is configuration definition phase flow schematic diagram;
Fig. 2 is workflow mounting phase schematic flow sheet;
Fig. 3 is workflow processing phase flow schematic diagram;
Fig. 4 is configuration definition modular system structural representation;
Fig. 5 is workflow initiation module system architecture schematic diagram;
Fig. 6 is workflow processing modular system structural representation.
Embodiment
Present embodiment discloses a kind of implementation method of the business form work fluidisation without intrusive mood, method comprises the treatment scheme of three phases: configuration definition phase flow, workflow mounting phase flow process and workflow processing phase flow.
As shown in Figure 1, be the configuration definition phase flow of the inventive method, comprise following two sub-steps:
Step S110, reads the business form in business form database and the workflow template in workflow template database;
Step S120, sets up incidence relation between two by workflow template and business form.The mark id of the workflow template in the mark id of the business form in business form database and workflow template database is set up mapping relations, and the mark id of the mark id or input service flow template that make the mark id of incoming traffic list can recall workflow template can recall the mark id of business form.Such as, the mark id of list of asking for leave is a1, and workflow template mark id is b1, and the effect of this step is exactly the mapping relations setting up a1 and b1, make input a1 to recall b1, or input b1 can recall a1.
As shown in Figure 2, shown in the workflow mounting phase of the inventive method, following sub-step is comprised:
Step S210, receives the order of user's click-to-call service list button, performs the business logical operation of rear end; Such as, user clicks " submission " button of list of asking for leave, and so this can the be asked for leave data of list of the logic of rear end are deposited in database;
Step S220, the contextual information of intercept service list operation, shown contextual information comprises URL, business form, action type;
Step S230, according to the contextual information intercepted, judges whether business form associates with certain workflow template, namely inquires about this business form and whether there is the workflow template with it with incidence relation;
Step S240, if cannot inquire the workflow template be associated with this business form, then business form successful operation completes, without the need to carrying out step S250 and S260.
Step S250, if can inquire the workflow template be associated with this business form, then stops the operation of business form, and the allocating stack information of this operation is preserved; Wherein, method call stack information is a kind of data structure, wherein can comprise called side religious name, method parameter object etc.; If object-oriented language such as Java writes, in method call storehouse, also comprise the title calling class;
Step S260, performs and initiates workflow operation, namely call workflow engine, import the id of the workflow template inquired in step S250 into, and according to the process of template generation workflow instance; Workflow engine can adopt any one workflow engine.
As shown in Figure 3, be the inventive method workflow processing stage schematic diagram, comprise the following steps:
Step S310, utilizes workflow engine according to the definition of workflow template, dispatches and carries out workflow processing to different node processing people;
Step S320, judges whether workflow terminates, and as do not terminated, returning S310 circulation and performing; As terminated, then perform step S330;
Step S330, judges whether workflow successfully terminates, if successfully terminate, then performs S340, otherwise performs S350;
Step S340, the information before abandoning in store method allocating stack, and with the operation of failed winding-up list.
Step S350, the information before acquisition in store method allocating stack, continues the method for operating performing business form, the successful operation of business form is completed.
The present embodiment also discloses the device of a kind of business form without the interpolation workflow of intrusive mood, and this device mainly comprises relevant database table, configuration definition module, workflow initiation module and workflow processing module.
Wherein, database table comprises business form database, workflow template database, workflow relationship match database, work flow operation instance database, method call storehouse storehouse, sees Fig. 4, Fig. 5, Fig. 6..
Wherein, business form storehouse 410 store any type, the business form of heterogeneous structure.The implication of so-called heterogeneous structure is that form fields, form tags are different with list button.List of such as asking for leave comprises form tags and " asks for leave the time ", and reimbursement list comprises form tags " reimbursed sum ".
Wherein, workflow template storehouse 420 stores workflow template.Workflow template comprises the information such as authority of handler in the node of workflow, node, node processing people.Such as the workflow template of two-stage examination & approval comprises two workflow nodes, and is that order performs.
Wherein, workflow relationship match storehouse 430 stores the matching relationship information between workflow template and business form, and making, when carrying out business form operation, can provide business form whether to walk the foundation of workflow for other modules.Mainly comprising four fields in workflow relationship match data structure, is business form type, the id of business form, the action type of business form, workflow template id respectively.
Wherein, business form type, distinguishes different business forms, such as ask for leave list and expense report.
Wherein, the id of business form is used for distinguishing different business forms further, and number of days of such as asking for leave is single id that asks for leave of 3 days is 100, and number of days of asking for leave is single id that asks for leave of 5 days is 101.
Wherein, the action type of business form is divided into interpolation, revises and delete this three types.Such as add single operation of asking for leave, namely propose the operation applied for of asking for leave.When interpolation ask for leave single operation complete time, namely ask for leave and complete.Such as revise single operation of asking for leave, namely based on the list of asking for leave passed through before, after modifying, again initiate to ask for leave application.Number of days of such as asking for leave was revised as 5 days from 3 days, when amended ask for leave single pass-through time, then ask for leave and complete.Such as delete single operation of asking for leave, namely cancel and asking for leave.Such as by single deletion of asking for leave of 5 days, then cancel and having asked for leave.
Wherein, workflow template id is the unique identity of workflow template.
Can bind with multiple workflow template to realize same business form, field " attribute filter expression " carries out workflow template automatically selection according to the information etc. that current business list is correlated with can be added in workflow relationship match data structure.Such as, carry out according to " attribute filter expression " of list of asking for leave the example that workflow template selects filtration.Ask for leave in list and have attribute days, represent the number of days of asking for leave.System has two workflow templates, and wherein the id of workflow template 1 is 100, comprises immediate boss and department head's two-stage workflow examination and approval node.The id of workflow template 2 is 200, comprises immediate boss, department head and unit leader three grades of workflow examination and approval nodes.Set up workflow relationship match data structure A, the business form type that sets a property=list of asking for leave, the action type of business form=newly-built, workflow template id=100, attribute filter expression=" days<=3 ".Set up workflow relationship match data structure B, the business form type that sets a property=list of asking for leave, the action type of business form=newly-built, workflow template id=200, attribute filter expression=" days>3 ".User initiates to ask for leave single application, when the number of days days that asks for leave is 2 days, will match workflow template id=100 to initiate workflow at flow process mounting phase.When user ask for leave number of days be 4 days time, workflow template id=200 will be matched to initiate workflow.
Wherein, work flow operation case library 450 stores a series of example generated according to workflow template.Work flow operation example is the foundation that workflow engine performs, and specify that the information such as the handler of node, the processing authority of node, the flow direction of node in example.Such as two-stage examination & approval workflow template comprise two workflow nodes, after being generated work flow operation example, also will comprise two nodes, and when node processing people may initiate according to workflow information difference and different.Such as, the handler of first single node of asking for leave of department A is first, and the handler of first single node of asking for leave of department B is second.
Wherein, the method execution stack of the back-end operations logic of the 440 pairs of business form operations in method call storehouse storehouse stores, and mainly comprises and calls class, called side religious name, called side religious name parameter sets information.Such as the manner of execution of the back-end operations logic of newly-built list of asking for leave is: LeaveFormService.newLeaveForm (LeaveForm form), then calling class is LeaveFormService, call method is called newLeaveForm, and method of investigation and study name parameter sets is LeaveForm form.
As shown in Figure 4, configuration definition module comprises associated configuration device 110, associated configuration device 110 reads data from business form database 410 and workflow template database 420, workflow template is wherein associated between two with business form, and by related information stored in workflow relationship match storehouse 430, the mark id of the workflow template in the mark id of the business form in business form database and workflow template database is still set up mapping relations by concrete correlating method, the mark id of the mark id or input service flow template that make the mark id of incoming traffic list can recall workflow template can recall the mark id of business form.
As shown in Figure 5, workflow initiation module comprises URL blocker 210, method interceptor 220, workflow determinant 230, workflow initiator 240, allocating stack conservator 250 and workflow engine 260.
After user's click-to-call service list button, can produce a URL access links to backstage, URL blocker 210 is tackled this URL, as the parameter of workflow determinant 230 below.
URL interceptor 210 intercepts utilizing Java Servlet Filter or other similar technology request of access, extract URL parameter wherein, and shape is as */leaveForm.do action=submit.
After user's click-to-call service list button, can produce a URL access links to backstage, a manner of execution of this URL link opposite rear end, the contextual information of method interceptor 220 pairs of the method intercepts.This contextual information comprises business form, calls class, called side religious name, called side religious name parameter sets, business form action type.
Method interceptor 220 can adopt the technology of Aspect-oriented programming (Aspect Oriented Programming, AOP) to intercept the contextual information of manner of execution.
According to URL, business form, business form action type parameter that URL blocker 210 and method interceptor 220 import into, workflow determinant 230 inquires about from workflow relationship match storehouse 430 whether related workflow template id exists.If there is the workflow template id of association, then workflow template id is utilized to check out from workflow template storehouse 420.
Workflow initiator 240.According to the workflow template id imported into and business form, call workflow engine 260 to initiate workflow.
Allocating stack conservator 250.The contextual information storehouse conservator 250 that is called intercepted in method interceptor 220 carries out processing in rear store method allocating stack storehouse 440.
As shown in Figure 6, workflow processing module comprises workflow and completes processor 310.
Business form in business form storehouse 410, according to the work flow operation example information in work flow operation case library 450, divides and tasks corresponding node processing people and process by workflow engine 260.
If workflow is unsuccessfully to terminate, then from method call storehouse storehouse 440 delete before stored in method execution stack, business form operation failure.If workflow is successfully to terminate, then before recalling from method call storehouse storehouse 440 stored in method execution stack, adopt reflection mode recover before Run-time scenario and continue perform, business form successful operation is completed.
Such as, calling class in method execution stack is LeaveFormService, and call method is called newLeaveForm, and method of investigation and study name parameter sets is LeaveForm form.After then adopting method for reflection, continuation is performed LeaveFormService.newLeaveForm (LeaveForm form) operation.
Said method and device, business form and workflow are defined respectively and store, only need during application as required the two to be associated, the incidence relation of multi-to-multi can be realized, the mode that thorough change current operation list and workflow are bound one by one, on the workflow database basis including multiple workflow, can set multiple different business form easily.When being even preset with the workflow of sufficient amount in workflow database, application developer or even user can remove designing workflows especially on this basis, directly carry out according to actual needs calling and configuring, and then greatly improve application development efficiency, reduce the time of programming, shorten the time that list is applied in practice.
More than describe preferred embodiment of the present invention in detail, should be appreciated that the ordinary skill of this area just design according to the present invention can make many modifications and variations without the need to creative work.Therefore, all technician in the art according to the present invention's design on prior art basis by logic analysis, reasoning or according to the available technical scheme of limited experiment, all should by among the determined protection domain of these claims.

Claims (11)

1., without an implement device for the business form work fluidisation of intrusive mood, it is characterized in that this device comprises:
Business form database, for the business form that is polytype, heterogeneous structure that prestores;
Workflow template database, for the multiple workflow template that prestores;
Workflow relationship match database, for storing the matching relationship information between workflow template and business form; And
Associated configuration device, for reading data in described business form storehouse and workflow template storehouse, associates with business form between two by workflow template wherein, and by related information stored in described workflow relationship match database.
2. the implement device of business form work fluidisation according to claim 1, it is characterized in that, this device also comprises:
Method call storehouse storehouse, the method execution stack for the back-end operations logic operated business form stores;
URL interceptor, for intercepting the URL access links that user produces business form operation;
Method interceptor, for intercepting the contextual information of the manner of execution of URL access links opposite rear end;
Workflow determinant, for URL access links, business form, the business form action type parameter imported into according to URL blocker and method interceptor, from workflow relationship match database, inquire about whether related workflow template id exists, if there is the workflow template id of association, then utilize workflow template id to check out from workflow template database and be transferred to workflow initiator;
Workflow initiator, for according to the workflow template id imported into and business form, calls workflow engine to initiate workflow;
Workflow engine, for according to the work flow operation example information in work flow operation instance database, divides the business form in business form database and tasks corresponding node processing people and process;
Allocating stack conservator, the contextual information for being intercepted by method interceptor carries out in process store method allocating stack storehouse; And
Workflow completes processor, for the treatment of workflow power cut-off.
3. the implement device of business form work fluidisation according to claim 2, is characterized in that:
Described contextual information comprises URL access links, business form and action type.
4. the implement device of business form work fluidisation according to claim 2, is characterized in that, described workflow completes the power cut-off of processor work for the treatment of stream, specifically:
If workflow is unsuccessfully to terminate, then from method call storehouse storehouse delete before stored in method execution stack, business form operation failure;
If workflow is successfully to terminate, then before recalling from method call storehouse storehouse stored in method execution stack, adopt reflection mode recover before Run-time scenario and continue perform, business form successful operation is completed.
5. the implement device of the business form work fluidisation according to any one of Claims 1-4, is characterized in that:
Mainly comprising four fields in the data structure of described workflow relationship match database, is business form type, the id of business form, the action type of business form and workflow template id respectively;
Described business form type, for distinguishing dissimilar business form;
The id of described business form, for distinguishing the business form of same type;
The action type of described business form, comprises interpolation, amendment and deletes three types;
Workflow template id, for unique identification workflow template.
6. the implement device of business form work fluidisation according to claim 5, is characterized in that:
Form attributes filter expression is also comprised, for automatically carrying out the selection of workflow template according to current business form information in the data structure of described workflow relationship match database.
7. the implement device of the business form work fluidisation according to any one of Claims 1-4, is characterized in that, workflow template associates with business form by described associated configuration device between two, specifically:
The mark id of the workflow template in the mark id of the business form in business form database and workflow template database is set up mapping relations, and the mark id of the mark id or input service flow template that make the mark id of incoming traffic list can recall workflow template can recall the mark id of business form.
8. the implement device of the business form work fluidisation according to any one of Claims 1-4, is characterized in that:
Described workflow template comprises the authority of handler in the node of workflow, node and node processing people.
9., without an implementation method for the business form work fluidisation of intrusive mood, it is characterized in that comprising the following steps:
Workflow template in business form in business form database and workflow template database is set up incidence relation between two;
Receive the order of user's click-to-call service list button, perform the business logical operation of rear end;
The contextual information of intercept service list operation;
According to the described contextual information intercepted, inquire about this business form and whether there is the workflow template with it with incidence relation;
If do not existed, then business form has operated;
As existed, then stop the operation of business form, and the allocating stack information of this operation is preserved, and order performs subsequent step;
Call workflow engine, and generate workflow instance according to the workflow template inquired;
Utilize workflow engine according to the definition of workflow template, dispatch and carry out workflow processing to different node processing people;
Judge whether workflow terminates, as do not terminated, then return previous step circulation and perform; As terminated, then order performs subsequent step;
Judge whether workflow successfully terminates;
In this way, then the information before abandoning in store method allocating stack, and with the operation of failed winding-up list;
As no, then the information before obtaining in store method allocating stack, continues the method for operating performing business form, the successful operation of business form is completed.
10. the implementation method of the business form work fluidisation without intrusive mood according to claim 9, is characterized in that, the described relation that is associated with the workflow template in workflow template database by business form in business form database, specifically:
The mark id of the workflow template in the mark id of the business form in business form database and workflow template database is set up mapping relations, and the mark id of the mark id or input service flow template that make the mark id of incoming traffic list can recall workflow template can recall the mark id of business form.
The implementation method of the 11. business form work fluidisations without intrusive mood according to claim 9, is characterized in that:
Described contextual information comprises URL access links, business form and action type.
CN201310217986.3A 2013-06-04 2013-06-04 The implementation method and device of a kind of business form work fluidisation without intrusive mood Active CN104216912B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310217986.3A CN104216912B (en) 2013-06-04 2013-06-04 The implementation method and device of a kind of business form work fluidisation without intrusive mood

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310217986.3A CN104216912B (en) 2013-06-04 2013-06-04 The implementation method and device of a kind of business form work fluidisation without intrusive mood

Publications (2)

Publication Number Publication Date
CN104216912A true CN104216912A (en) 2014-12-17
CN104216912B CN104216912B (en) 2017-10-27

Family

ID=52098413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310217986.3A Active CN104216912B (en) 2013-06-04 2013-06-04 The implementation method and device of a kind of business form work fluidisation without intrusive mood

Country Status (1)

Country Link
CN (1) CN104216912B (en)

Cited By (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183447A (en) * 2015-07-13 2015-12-23 国云科技股份有限公司 Light weight flow engine implementation method
CN105427030A (en) * 2015-11-06 2016-03-23 中国南方电网有限责任公司 Differentiation processing method and system of early warning information
CN105701641A (en) * 2015-12-31 2016-06-22 合肥大多数信息科技有限公司 Work flow generation method fitting traditional paper office
CN106296131A (en) * 2016-08-17 2017-01-04 浪潮通用软件有限公司 The document approval system of What You See Is What You Get and the document measures and procedures for the examination and approval
CN107038533A (en) * 2017-04-18 2017-08-11 北京思特奇信息技术股份有限公司 A kind of method and system for realizing configurableization workflow examination and approval
CN107122173A (en) * 2017-03-28 2017-09-01 成都优易数据有限公司 A kind of adaptation activiti, the list generation method that can be pulled
CN107180338A (en) * 2017-05-22 2017-09-19 深圳市小牛在线互联网信息咨询有限公司 Business performs method, device, storage medium and computer equipment
CN107451789A (en) * 2016-05-31 2017-12-08 北京京东尚科信息技术有限公司 Business flow processing method and system
CN107665421A (en) * 2017-09-08 2018-02-06 金蝶软件(中国)有限公司 The document measures and procedures for the examination and approval, device, storage medium and computer equipment
CN107705201A (en) * 2017-10-24 2018-02-16 深圳麦亚信科技股份有限公司 It is a kind of to be used to optimize credit operation flow and the method and its system of data relationship
CN107943465A (en) * 2017-12-29 2018-04-20 北京奇虎科技有限公司 A kind of method and device for generating HTML form
CN108346028A (en) * 2017-01-24 2018-07-31 阿里巴巴集团控股有限公司 A kind of business approval processing method, apparatus and system
CN108510240A (en) * 2018-03-26 2018-09-07 科大国创软件股份有限公司 A kind of document dynamic configuration system and its configuration method
CN108920474A (en) * 2018-02-28 2018-11-30 大连智能创世科技有限公司 A kind of service flow management method and system based on Flowable
CN108984715A (en) * 2017-07-10 2018-12-11 成都牵牛草信息技术有限公司 Based on the method according to field setting approval process
CN109144647A (en) * 2018-08-21 2019-01-04 深圳市博安达信息技术股份有限公司 A kind of form design method and apparatus, terminal device and storage medium
CN109165856A (en) * 2018-08-31 2019-01-08 平安科技(深圳)有限公司 Examine Dynamic Configuration, device and the storage medium of chain
CN109389299A (en) * 2018-09-26 2019-02-26 中国平安人寿保险股份有限公司 Work process flow dispositions method, device, computer equipment and storage medium
CN109523157A (en) * 2018-11-14 2019-03-26 北京中电普华信息技术有限公司 A kind of processing method and system of operation flow
CN109614409A (en) * 2018-10-29 2019-04-12 阿里巴巴集团控股有限公司 Business data processing method, device and server
CN109636320A (en) * 2018-11-27 2019-04-16 平安科技(深圳)有限公司 Workflow examination and approval method and terminal device
CN109858727A (en) * 2018-11-28 2019-06-07 深圳中广核工程设计有限公司 A kind of user control and its construction method and Work-flow control method
CN110135595A (en) * 2019-04-12 2019-08-16 中国运载火箭技术研究院 The method and system of the equipment information operation of task based access control template
CN110414842A (en) * 2019-07-30 2019-11-05 杭州一骑轻尘信息技术有限公司 Air control management method and system
CN110489657A (en) * 2019-07-05 2019-11-22 五八有限公司 A kind of information filtering method, device, terminal device and storage medium
CN110490558A (en) * 2019-08-26 2019-11-22 珠海格力电器股份有限公司 Process label examine platform, method and storage medium
CN110503385A (en) * 2019-07-15 2019-11-26 招联消费金融有限公司 Method for processing business, device, computer equipment and storage medium
CN110544075A (en) * 2019-09-16 2019-12-06 世纪海航(厦门)科技有限公司 asset management process configuration method, device and equipment
CN110782234A (en) * 2019-11-07 2020-02-11 殷步九 Information management method and system based on business logic
CN111143866A (en) * 2019-12-27 2020-05-12 远光软件股份有限公司 Permission changing method, device, equipment and medium based on multi-scene mode
CN112068911A (en) * 2020-07-31 2020-12-11 广东飞企互联科技股份有限公司 Method, device, system, equipment and medium for generating electronic form
WO2020253373A1 (en) * 2019-06-17 2020-12-24 北京奎牛科技有限公司 Methods for generating and processing electronic file having business logic embedded
CN112882699A (en) * 2021-02-09 2021-06-01 成都新希望金融信息有限公司 Business processing method, device, equipment and medium based on process configuration engine
CN113034253A (en) * 2021-03-18 2021-06-25 上海嵩恒网络科技股份有限公司 Early warning method, electronic device and storage medium
US11750616B2 (en) 2017-08-10 2023-09-05 Chengdu Qianniucao Information Technology Co., Ltd. Method for authorizing approval processes and approval nodes thereof for user

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060069605A1 (en) * 2004-09-29 2006-03-30 Microsoft Corporation Workflow association in a collaborative application
CN101359290A (en) * 2008-09-11 2009-02-04 中兴通讯股份有限公司 Method for customizing service document based on metadata and apparatus
CN101706914A (en) * 2009-12-01 2010-05-12 北京九恒星科技股份有限公司 Method and device for generating workflow
CN102508702A (en) * 2011-10-20 2012-06-20 北京金和软件股份有限公司 Method for processing common service logic by performing interception based on AOP (aspect-oriented programming) technology
CN102663554A (en) * 2012-04-11 2012-09-12 北京航空航天大学 Procedure customization method for project management

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060069605A1 (en) * 2004-09-29 2006-03-30 Microsoft Corporation Workflow association in a collaborative application
CN101359290A (en) * 2008-09-11 2009-02-04 中兴通讯股份有限公司 Method for customizing service document based on metadata and apparatus
CN101706914A (en) * 2009-12-01 2010-05-12 北京九恒星科技股份有限公司 Method and device for generating workflow
CN102508702A (en) * 2011-10-20 2012-06-20 北京金和软件股份有限公司 Method for processing common service logic by performing interception based on AOP (aspect-oriented programming) technology
CN102663554A (en) * 2012-04-11 2012-09-12 北京航空航天大学 Procedure customization method for project management

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MAN1900: ""Activiti工作流表单设计及开发"", 《HTTP://WWW.ITEYE.COM/TOPIC/1127730》 *
肖宇 等: ""基于表单和关系型数据库的工作流管理系统"", 《华中科技大学学报(自然科学版)》 *

Cited By (50)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183447A (en) * 2015-07-13 2015-12-23 国云科技股份有限公司 Light weight flow engine implementation method
CN105427030A (en) * 2015-11-06 2016-03-23 中国南方电网有限责任公司 Differentiation processing method and system of early warning information
CN105427030B (en) * 2015-11-06 2017-04-05 中国南方电网有限责任公司 A kind of differentiation processing method of early warning information and system
CN105701641A (en) * 2015-12-31 2016-06-22 合肥大多数信息科技有限公司 Work flow generation method fitting traditional paper office
CN107451789A (en) * 2016-05-31 2017-12-08 北京京东尚科信息技术有限公司 Business flow processing method and system
CN106296131A (en) * 2016-08-17 2017-01-04 浪潮通用软件有限公司 The document approval system of What You See Is What You Get and the document measures and procedures for the examination and approval
CN108346028A (en) * 2017-01-24 2018-07-31 阿里巴巴集团控股有限公司 A kind of business approval processing method, apparatus and system
CN108346028B (en) * 2017-01-24 2022-05-06 阿里巴巴集团控股有限公司 Business approval processing method, device and system
CN107122173A (en) * 2017-03-28 2017-09-01 成都优易数据有限公司 A kind of adaptation activiti, the list generation method that can be pulled
CN107038533A (en) * 2017-04-18 2017-08-11 北京思特奇信息技术股份有限公司 A kind of method and system for realizing configurableization workflow examination and approval
CN107180338A (en) * 2017-05-22 2017-09-19 深圳市小牛在线互联网信息咨询有限公司 Business performs method, device, storage medium and computer equipment
CN108984715A (en) * 2017-07-10 2018-12-11 成都牵牛草信息技术有限公司 Based on the method according to field setting approval process
CN108984715B (en) * 2017-07-10 2021-07-23 成都牵牛草信息技术有限公司 Method for setting approval process based on basis field
US11750616B2 (en) 2017-08-10 2023-09-05 Chengdu Qianniucao Information Technology Co., Ltd. Method for authorizing approval processes and approval nodes thereof for user
CN107665421A (en) * 2017-09-08 2018-02-06 金蝶软件(中国)有限公司 The document measures and procedures for the examination and approval, device, storage medium and computer equipment
CN107705201A (en) * 2017-10-24 2018-02-16 深圳麦亚信科技股份有限公司 It is a kind of to be used to optimize credit operation flow and the method and its system of data relationship
CN107705201B (en) * 2017-10-24 2021-06-18 深圳麦亚信科技股份有限公司 Method and system for optimizing credit business process and data relationship
CN107943465A (en) * 2017-12-29 2018-04-20 北京奇虎科技有限公司 A kind of method and device for generating HTML form
CN107943465B (en) * 2017-12-29 2021-07-02 北京奇虎科技有限公司 Method and device for generating HTML (Hypertext markup language) form
CN108920474A (en) * 2018-02-28 2018-11-30 大连智能创世科技有限公司 A kind of service flow management method and system based on Flowable
CN108510240A (en) * 2018-03-26 2018-09-07 科大国创软件股份有限公司 A kind of document dynamic configuration system and its configuration method
CN109144647A (en) * 2018-08-21 2019-01-04 深圳市博安达信息技术股份有限公司 A kind of form design method and apparatus, terminal device and storage medium
CN109165856B (en) * 2018-08-31 2023-08-08 平安科技(深圳)有限公司 Dynamic configuration method, device and storage medium of approval chain
CN109165856A (en) * 2018-08-31 2019-01-08 平安科技(深圳)有限公司 Examine Dynamic Configuration, device and the storage medium of chain
CN109389299B (en) * 2018-09-26 2023-10-31 中国平安人寿保险股份有限公司 Workflow process deployment method, workflow process deployment device, computer equipment and storage medium
CN109389299A (en) * 2018-09-26 2019-02-26 中国平安人寿保险股份有限公司 Work process flow dispositions method, device, computer equipment and storage medium
CN109614409A (en) * 2018-10-29 2019-04-12 阿里巴巴集团控股有限公司 Business data processing method, device and server
CN109523157B (en) * 2018-11-14 2023-06-23 北京中电普华信息技术有限公司 Business process processing method and system
CN109523157A (en) * 2018-11-14 2019-03-26 北京中电普华信息技术有限公司 A kind of processing method and system of operation flow
CN109636320A (en) * 2018-11-27 2019-04-16 平安科技(深圳)有限公司 Workflow examination and approval method and terminal device
CN109858727A (en) * 2018-11-28 2019-06-07 深圳中广核工程设计有限公司 A kind of user control and its construction method and Work-flow control method
CN109858727B (en) * 2018-11-28 2021-05-04 深圳中广核工程设计有限公司 User control, construction method thereof and workflow control method
CN110135595A (en) * 2019-04-12 2019-08-16 中国运载火箭技术研究院 The method and system of the equipment information operation of task based access control template
WO2020253373A1 (en) * 2019-06-17 2020-12-24 北京奎牛科技有限公司 Methods for generating and processing electronic file having business logic embedded
CN110489657A (en) * 2019-07-05 2019-11-22 五八有限公司 A kind of information filtering method, device, terminal device and storage medium
CN110489657B (en) * 2019-07-05 2022-08-26 五八有限公司 Information filtering method and device, terminal equipment and storage medium
CN110503385B (en) * 2019-07-15 2022-08-12 招联消费金融有限公司 Service processing method, device, computer equipment and storage medium
CN110503385A (en) * 2019-07-15 2019-11-26 招联消费金融有限公司 Method for processing business, device, computer equipment and storage medium
CN110414842A (en) * 2019-07-30 2019-11-05 杭州一骑轻尘信息技术有限公司 Air control management method and system
CN110490558A (en) * 2019-08-26 2019-11-22 珠海格力电器股份有限公司 Process label examine platform, method and storage medium
CN110544075A (en) * 2019-09-16 2019-12-06 世纪海航(厦门)科技有限公司 asset management process configuration method, device and equipment
CN110782234B (en) * 2019-11-07 2020-10-02 殷步九 Information management method and system based on business logic
CN110782234A (en) * 2019-11-07 2020-02-11 殷步九 Information management method and system based on business logic
CN111143866B (en) * 2019-12-27 2022-02-15 远光软件股份有限公司 Permission changing method, device, equipment and medium based on multi-scene mode
CN111143866A (en) * 2019-12-27 2020-05-12 远光软件股份有限公司 Permission changing method, device, equipment and medium based on multi-scene mode
CN112068911A (en) * 2020-07-31 2020-12-11 广东飞企互联科技股份有限公司 Method, device, system, equipment and medium for generating electronic form
CN112068911B (en) * 2020-07-31 2023-12-26 广东飞企互联科技股份有限公司 Electronic form generation method, device, system, equipment and medium
CN112882699A (en) * 2021-02-09 2021-06-01 成都新希望金融信息有限公司 Business processing method, device, equipment and medium based on process configuration engine
CN112882699B (en) * 2021-02-09 2024-05-07 成都新希望金融信息有限公司 Service processing method, device, equipment and medium based on flow configuration engine
CN113034253A (en) * 2021-03-18 2021-06-25 上海嵩恒网络科技股份有限公司 Early warning method, electronic device and storage medium

Also Published As

Publication number Publication date
CN104216912B (en) 2017-10-27

Similar Documents

Publication Publication Date Title
CN104216912A (en) Method and device for achieving non-intrusive service form workflow
CN103425462B (en) A kind of method and apparatus of workflow data persistence
CN106445556B (en) A kind of visual code generation method and system
US7899787B2 (en) Object-oriented system and method using shadowing object for approval control
CN109886656B (en) Workflow engine system supporting multiple systems
US8407706B2 (en) Framework for parallel business object processing
US20060036687A1 (en) Computer implemented method and system for running a plurality of business processes
US11106743B2 (en) Binding traits to case nodes
WO2013059797A1 (en) Service based information technology platform
CN102542382A (en) Method and device for managing business rule
US8332851B2 (en) Configuration and execution of mass data run objects
CN112463211A (en) System architecture transformation method compatible with multiple development architectures and system architecture
CN108876619A (en) Processing method, device, equipment and medium based on block chain intelligence contract
CN107038645A (en) Method for processing business, apparatus and system and server
CN112835985B (en) Spatial data sharing system and method based on distributed account book
CN104660435A (en) Transactional network management engine for intelligent pipeline and network management transaction processing method of transactional network management engine
CN107423223A (en) Test and management system
CN115860451A (en) Flow operation method and device, electronic equipment and storage medium
CN112686580B (en) Workflow definition method and system capable of customizing flow
US20120078967A1 (en) Integration of a Framework Application and a Task Database
CN109858905B (en) Cross-system electronic certificate processing method and device
CN103971224A (en) Signing method and system
Graw et al. Process management in-the-many
Fang et al. Using object oriented analysis design workflow engine for manufacturing industry in IoT
CN111652580A (en) Method and device for processing data of nodes

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant