CN104216912B - The implementation method and device of a kind of business form work fluidisation without intrusive mood - Google Patents

The implementation method and device of a kind of business form work fluidisation without intrusive mood Download PDF

Info

Publication number
CN104216912B
CN104216912B CN201310217986.3A CN201310217986A CN104216912B CN 104216912 B CN104216912 B CN 104216912B CN 201310217986 A CN201310217986 A CN 201310217986A CN 104216912 B CN104216912 B CN 104216912B
Authority
CN
China
Prior art keywords
workflow
business form
template
database
business
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.)
Active
Application number
CN201310217986.3A
Other languages
Chinese (zh)
Other versions
CN104216912A (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.)
Guangzhou Institute of Software Application Technology Guangzhou GZIS
Original Assignee
Guangzhou Institute of Software Application Technology Guangzhou GZIS
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 Guangzhou Institute of Software Application Technology Guangzhou GZIS filed Critical Guangzhou Institute of Software Application Technology Guangzhou GZIS
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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention belongs to business form applied technical field, the implementation method and device of a kind of business form work fluidisation without intrusive mood are specifically disclosed.The device includes:Business form database, for polytype, heterogeneous structure the business form that prestores;Workflow template database, for a variety of workflow templates that prestore;Workflow relationship match database, for storing the matching relationship information between workflow template and business form;And associated configuration device, for reading data in the business form storehouse and workflow template storehouse, workflow template therein is associated two-by-two with business form, and related information is stored in the workflow relationship match database.The inventive method is exactly mainly that the workflow template in the business form in business form database and workflow template database is set up into incidence relation two-by-two, then performs and call data to complete workflow.Using the present invention, business form application system development efficiency can be improved.

Description

The implementation method and device of a kind of business form work fluidisation without intrusive mood
Technical field
The invention belongs to business form applied technical field, and in particular to a kind of business form work fluidisation without intrusive mood Implementation method and device.
Background technology
Workflow(Work Flow)Be exactly the computation model of workflow, i.e., it is the work in workflow is how front and rear The logical sum rule organized together is indicated and to the calculation that plays tricks in fact with appropriate model in a computer.Workflow will be solved Subject matter certainly is:To realize some business objective, between multiple participants, using computer, by certain pre-defined rule Automatic transmission document, information or task.Briefly, workflow is exactly a series of business work for being mutually linked, carrying out automatically Dynamic or task.We can regard whole business procedure as Yi Tiaohe, wherein the river flowed through is exactly pending traffic table It is single.
Workflow engine (Work Flow Engine) is to realize the maneuverability pattern of workflow, flow operations are handled Encapsulated, provide service to application system so that operation system can realize the mode of operation of workflow.
Business form, can also be electronic spreadsheet, be using information-based means to paper list in real world (such as Ask for leave list, expense report) it is abstract.It is the major way and means of progress data acquisition and displaying in application system, is also work Make mainly to deal with objects in streaming system, mainly include three partial contents:
(1)Form tags:Here the URL and number of the program such as CGI/JSP/ASP used in processing form data are contained According to the method for being submitted to server.
(2)Form fields:Contain text box, password box, Hidden field, multiline text frame, check box, radio box, drop-down choosing Select frame and file uploads frame etc..
(3)List button:Including submitting button, SR and general button;For transferring data to server The script such as CGI/JSP/ASP or cancel input, the place that other can also be controlled to define processing script with list button Science and engineering is made.Wherein submitting button just correspond to the operations such as the newly-built of list, modification, deletion.
Many companies use the mode of paper list, by hand transmission, and one-level one-level is signed after examination, and operating efficiency is very low Under, it can not then be realized for statistical report form function.And workflow engine is used, user need to only fill in relevant business on computers List, can down run, next stage approver will receive related data automatically according to the flow template defined, it is possible to according to Need to modify, track, manage, inquiring about, counting, printing, substantially increase efficiency, realize information management, improve The core competitiveness of company.
The implementation of the business form of current application system, it is all individually fixed generally be directed to each business form An adopted workflow template, and business form processing logical AND workflow processing logic is mixed.In individual demand The today enriched constantly, the list that an Electronic Bill System needs will be more and more, then the work defined is needed during exploitation Stream is consequently increased, so that Electronic Bill System development amount is continued to increase.
It is illustrated below
(1)The person of asking for leave asks for leave 3 days, and the workflow that his needs are walked is:
The request list that the person's of asking for leave initiation is asked for leave 3 days-directly under leader's examination & approval-approval results(Approval is refused)-- knot Beam.
(2)The person of asking for leave asks for leave more than 3 days, and the workflow that his needs are walked is:
The request list that the person's of asking for leave initiation is asked for leave more than 3 days-refuse directly under leader's examination & approval-approval results -- terminate
- approval results approval-one's immediate superior examination & approval-approval results(Approval is refused)-- terminate.It is to ask for leave 3 Than the leader's examination & approval of one-level more than 3 days of asking for leave more than it.
(3)Within 1000 yuan of finance reimbursement, the workflow that his needs are walked is:
Reimbursement person's initiation request list-directly under leader's examination & approval-approval results(Approval is refused)-- terminate.
(4)Finance submit an expense account more than 1000 yuan, and the workflow that his needs are walked is:
Reimbursement person's initiation request list-refuse directly under leader's examination & approval-approval results -- terminate
- approval results approval-one's immediate superior examination & approval-approval results(Approval is refused)-- terminate.It is reimbursement More than 1000 yuan than submitting an expense account many one-levels leader examination & approval within 1000 yuan.
The different lists of four kinds of the above, it is necessary to develop four workflow templates to be corresponded respectively so that workflow Template can not be re-used, and also cause business development personnel from being absorbed in the exploitation of service logic in itself, to cause development efficiency low Under.
The essential reason for causing this problem is each traffic table in the business form system of existing support workflow Single service logic has all carried out close-coupled with workflow engine so that need directly to call bottom when writing service logic Workflow engine.
The content of the invention
In order to solve the above problems, it is an object of the invention to provide a kind of business form work fluidisation without intrusive mood Implementation method and device, to improve business form application system development efficiency.
The so-called implication without intrusive mood of the present invention, exactly do not change the original form tags of business form, form fields, In the case of list button so that business form can be handled in workflow, so as to reduce opening for application system programming Hair.
In order to realize foregoing invention purpose, the technical solution adopted by the present invention is as follows:
What a kind of business form work without intrusive mood was fluidized realizes device, and the device includes:
Business form database, for polytype, heterogeneous structure the business form that prestores;
Workflow template database, for a variety of workflow templates that prestore;
Workflow relationship match database, for storing the matching relationship information between workflow template and business form; And
Associated configuration device, for reading data in the business form storehouse and workflow template storehouse, by workflow therein Template is associated two-by-two with business form, and related information is stored in the workflow relationship match database.
Further, the device also includes:
Method call storehouse storehouse, the method execution stack of the back-end operations logic for being operated to business form is deposited Storage;
URL interceptors, operate the URL produced to access link business form for intercepting user;
Method interceptor, for intercepting the contextual information that URL accesses the execution method of link opposite rear end;
Workflow determinant, for according to the incoming URL of URL blockers and method interceptor access link, business form, Business form action type parameter, inquires about whether related workflow template id is deposited from workflow relationship match database If there is the workflow template id of association, then checked out using workflow template id from workflow template database It is transferred to workflow initiator;
Workflow initiator, for according to incoming workflow template id and business form, calling workflow engine to send out Play workflow;
Workflow engine, for the work flow operation example information in work flow operation instance database, by business Business form in form database is dispatched to corresponding node processing people and handled;
Allocating stack conservator, the contextual information for method interceptor to be intercepted is handled and store method is called In storehouse storehouse;And
Workflow completes processor, for handling workflow power cut-off.
Further, the contextual information includes URL access link, business form and action type.
Further, the workflow completes processor processing workflow power cut-off, is specifically:If workflow is with failure Terminate, then the method execution stack being stored in before being deleted from method call storehouse storehouse, business form operation failure;Such as workflow Successfully to terminate, then the method execution stack being stored in before is recalled from method call storehouse storehouse, is recovered by the way of reflection Run-time scenario before is simultaneously continued executing with so that business form operation is successfully completed.
Further, it is main in the data structure of the workflow relationship match database to include four fields, be respectively Business form type, the id of business form, the action type of business form and workflow template id;The business form type, For distinguishing different types of business form;The id of the business form, for being made a distinction to same type of business form; The action type of the business form, including addition, modification and deletion three types;Workflow template id, for unique mark Workflow template.
Further, also reached in the data structure of the workflow relationship match database including form attributes filter table Formula, for being operated the selection of flow template automatically according to current business form information.
Further, the associated configuration device is associated workflow template with business form two-by-two, is specifically:By industry The mark id for the workflow template being engaged in the mark id and workflow template database of the business form in form database is set up Mapping relations so that the mark id of incoming traffic list can recall the mark id or input service flow template of workflow template Mark id can recall the mark id of business form.
Further, the workflow template is comprising the processing people in the node of workflow, node and node processing people Authority.
A kind of implementation method of the business form work fluidisation without intrusive mood, comprises the following steps:
Workflow template in business form in business form database and workflow template database is set up two-by-two Incidence relation;
The order of user's click-to-call service list button is received, the business logical operation of rear end is performed;
The contextual information of intercept service list operation;
According to the contextual information of interception, inquire about the business form and whether there is the work with it with incidence relation Flow template;
Such as it is not present, then business form operation is completed;
As existed, then stop the operation of business form, and the allocating stack information of the operation is preserved, and order is held Row subsequent step;
Workflow engine is called, and workflow instance is generated according to the workflow template inquired;
Using definition of the workflow engine according to workflow template, it is scheduled to different node processing people and is operated at stream Reason;
Judge whether workflow terminates, do not terminate as, return to previous step circulation execution;Such as terminate, then order performs follow-up Step;
Judge whether workflow successfully terminates;
In this way, then the information before abandoning in store method allocating stack, and with the operation of failure winding-up list;
If not, the information before obtaining in store method allocating stack, continues executing with the operating method of business form, makes The operation for obtaining business form is successfully completed.
Further, the business form in the database by business form and the workflow in workflow template database Template sets up incidence relation, is specifically:By the mark id of the business form in business form database and workflow template data The mark id of workflow template in storehouse sets up mapping relations so that the mark id of incoming traffic list can recall workflow mould The mark id of plate or the mark id of input service flow template can recall the mark id of business form.
Further, the contextual information includes URL access link, business form and action type.
By apparatus of the present invention or method, asked for leave 3 days, more than 3 days for of the prior art, reimbursement 1000 yuan within and More than 1000 yuan of flow processing situation, it is thus only necessary to ask for leave list and a reimbursement list are set up in form database , it is not necessary to addition judges the logic of 3 days and 1000 yuan in sheet disposal method.Set up in workflow template database Two-stage is examined and three-level examines two workflows, and the incidence relation of the two is set up by associated configuration device.Such as ask for leave two days Two-stage approval process is just called, identical two-stage approval process is also called in 800 yuan of reimbursement.Equally, ask for leave more than three days and submit an expense account More than 1000 yuan are all called three-level approval process.And then by traditional business form and work flow separation, change traditional industry It is engaged in the relation of list and the one-to-one binding of workflow, different lists and Workflow association gets up i.e. according to the need for practical application A variety of different types of business can be completed.
The present invention is on the basis of the workflow database of multiple workflows is included, in that context it may be convenient to set multiple different Business form.When being even preset with sufficient amount of workflow in workflow database, application developer is even on this basis Directly it can be called and configure according to actual needs, such as without especially removing designing workflows:Workflow template number According to the workflow for having two grades of examination & approval in storehouse, then either ask for leave less than 3 days, or can be straight within 1000 yuan of reimbursement Connect and call the workflow template.A workflow need not be defined to each type of service, and then greatly improve application Program development efficiency, reduces the time of programming, shortens the time that list is applied in practice.
The present invention realizes the separation of business form and workflow, supports their multi-to-multi corresponding relation, and realizes The scheme for fluidizing business form operation element without intrusive mood.
Achievement of the present invention is up to following effect:
(1)Business form can separate definition with workflow template, and support any pairing between them;
(2)The newly-built of business form, modification and deletion action can be in the case where not changing code, by configuring realization Workflow whether is walked, when workflow is being walked, is walking the logic of what workflow;
(3)Business form operation is decoupled with workflow so that the exploitation of business form operation code is without understanding Bottom is driven by what workflow engine on earth, can be combined with any workflow engine;
(4)The efficiency of operation system exploitation is improved, defect generation rate is reduced.
Brief description of the drawings
This illustrates provided picture and is used for aiding in a further understanding of the present invention, constitutes one of the application Point, inappropriate limitation of the present invention is not constituted, 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 structure 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 includes three ranks The handling process of section:Configuration definition phase flow, workflow mounting phase flow and workflow processing phase flow.
As shown in figure 1, be the configuration definition phase flow of the inventive method, including following two sub-steps:
Step S110, reads the workflow mould in the business form and workflow template database in business form database Plate;
Step S120, incidence relation two-by-two is set up by workflow template and business form.By in business form database The mark id of business form and the workflow template in workflow template database mark id set up mapping relations so that input Mark id or input service flow template that the mark id of business form can recall workflow template mark id can be recalled The mark id of business form.Such as, ask for leave list mark id be a1, workflow template mark id be b1, the effect of this step Exactly set up a1 and b1 mapping relations so that input a1 can recall b1, or input b1 can recall a1.
As shown in Fig. 2 shown in the workflow mounting phase of the inventive method, including following sub-step:
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 on " submission " button of list of asking for leave, then the logic of rear end this can the be asked for leave data of list are deposited into database In;
Step S220, intercept service list operation contextual information, shown contextual information include URL, business form, Action type;
Step S230, according to the contextual information of interception, judges whether business form is carried out with some workflow template Association, that is, inquire about the business form and whether there is the workflow template with it with incidence relation;
Step S240, if the workflow template associated with the business form can not be inquired, business form operation Successfully complete, without carrying out step S250 and S260.
Step S250, if it is possible to inquire the workflow template associated with the business form, then stop business form Operation, and the allocating stack information of the operation is preserved;Wherein, method call stack information is a kind of data structure, Called side religious name, method parameter object etc. can wherein be included;If object-oriented language such as written in Java, method Also include the title for calling class in allocating stack;
Step S260, performs and initiates workflow operation, that is, call and inquired in workflow engine, incoming step S250 Workflow template id, and according to the process of template generation workflow instance;Workflow engine can use any one work Make stream engine.
As shown in figure 3, being the inventive method workflow processing stage schematic diagram, comprise the following steps:
Step S310, using definition of the workflow engine according to workflow template, is scheduled to different node processing people and enters Row workflow processing;
Step S320, judges whether workflow terminates, as being not over, and returns to S310 circulation execution;Such as terminate, then hold Row step S330;
Step S330, judges whether workflow successfully terminates, if successfully terminating, then performs S340, otherwise performs S350;
Information before step S340, discarding in store method allocating stack, and with the operation of failure winding-up list.
Information before step S350, acquisition in store method allocating stack, continues executing with the operating method of business form, So that the operation of business form is successfully completed.
The present embodiment also discloses a kind of device of addition workflow of business form without intrusive mood, and the device is mainly included Related database table, configuration definition module, workflow initiation module and workflow processing module.
Wherein, database table includes business form database, workflow template database, workflow relationship match data Storehouse, work flow operation instance database, method call storehouse storehouse, see Fig. 4, Fig. 5, Fig. 6.
Wherein, business form storehouse 410 stores any type of, heterogeneous structure business form.So-called heterogeneous structure It is meant that form fields, form tags are different with list button.List of such as asking for leave includes form tags " asking for leave the time ", reimbursement List includes form tags " reimbursed sum ".
Wherein, workflow template storehouse 420 stores workflow template.Workflow template includes node, the node of workflow In processing people, the information such as the authority of node processing people.The workflow template of such as two-stage examination & approval includes two workflow nodes, And it is that order is performed.
Wherein, workflow relationship match storehouse 430 stores the matching relationship information between workflow template and business form, So that when carrying out business form operation, the foundation whether business form walks workflow can be provided for other modules.Workflow It is main in relationship match data structure to include four fields, it is business form type, the id of business form, business form respectively Action type, workflow template id.
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 further discriminating between different business forms, such as number of days of asking for leave was asked for leave for 3 days Single id is 100, and number of days of asking for leave is that single id that asks for leave of 5 days is 101.
Wherein, the action type of business form is divided into addition, changes and deletes these three types.Such as addition is asked for leave single Operation, that is, propose the operation of application of asking for leave.When addition ask for leave single operation complete when, that is, ask for leave and complete.Such as repair Change single operation of asking for leave, that is, based on the list of asking for leave passed through before, after modifying, application of asking for leave is initiated again. The number of days that will such as ask for leave was revised as 5 days from 3 days, when it is amended ask for leave single pass-through when, then ask for leave and complete.Such as delete and ask for leave Single operation, that is, cancellation are asked for leave.Such as by single deletion of asking for leave of 5 days, then cancel completion of asking for leave.
Wherein, workflow template id is the unique identity of workflow template.
, can be in work flow relation in order to realize that same business form can be bound with multiple workflow templates Come with field " attribute filter expression " is added in data structure according to the automatic progress work such as the related information of current business list Make the selection of flow template.Such as, showing for flow template selection filtering is operated according to " attribute filter expression " of list of asking for leave Example.Asking for leave in list has attribute days, represents the number of days asked for leave.System has two workflow templates, wherein workflow template 1 Id is 100, including immediate boss and department head's two-stage workflow examination and approval node.The id of workflow template 2 is 200, including directly under Superior, department head and unit leader's three-level workflow examination and approval node.Workflow relationship match data structure A is set up, is set a property Business form type=list of asking for leave, action type=newly-built, workflow template id=100 of business form, 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, business form Action type=newly-built, workflow template id=200, attribute filter expression=" days>3”.User initiates single application of asking for leave, when When the number of days days that asks for leave is 2 days, it will match workflow template id=100 to initiate workflow in flow mounting phase.Work as user When number of days of asking for leave is 4 days, 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.Workflow Running example is the foundation that workflow engine is performed, and the processing people of node, the processing authority of node, node are specify that in example The information such as flow direction.The workflow template of such as two-stage examination & approval includes two workflow nodes, is generated work flow operation example Afterwards, also will be comprising two nodes, and information of node processing people when may be initiated according to workflow is different and different.Than Such as, the processing people of department A first node for asking for leave single is first, and the processing people of department B first node for asking for leave single It is second.
Wherein, the method execution stack for the back-end operations logic that method call storehouse storehouse 440 is operated to business form is carried out Storage, it is main to include calling class, called side religious name, called side religious name parameter sets information.After such as newly-built list of asking for leave End operation logic execution method be:LeaveFormService.newLeaveForm (LeaveForm form), then call class For LeaveFormService, the entitled newLeaveForm of call method, method of investigation and study name parameter sets are LeaveForm form。
As shown in figure 4, configuration definition module includes associated configuration device 110, associated configuration device 110 is from business form database 410 and workflow template database 420 in read data, workflow template therein is associated two-by-two with business form, And related information is stored in workflow relationship match storehouse 430, specific correlating method is still by business form database The mark id of business form and the workflow template in workflow template database mark id set up mapping relations so that input Mark id or input service flow template that the mark id of business form can recall workflow template mark id can be recalled The mark id of business form.
As shown in figure 5, workflow initiation module includes URL blockers 210, method interceptor 220, workflow determinant 230th, workflow initiator 240, allocating stack conservator 250 and workflow engine 260.
After user's click-to-call service list button, a URL to backstage can be produced and access link, 210 pairs of URL blockers should URL is intercepted, and is used as the parameter of workflow determinant 230 below.
URL interceptors 210 will be entered using Java Servlet Filter or other similar technologies to access request Row interception, extracts URL parameter therein, shape is such as:*/leaveForm.doaction=submit.
After user's click-to-call service list button, a URL to backstage can be produced and accessed after link, URL link correspondence One execution method at end, method interceptor 220 is intercepted to the contextual information of this method.The contextual information includes industry Business list, call class, called side religious name, called side religious name parameter sets, business form action type.
Method interceptor 220 can be using Aspect-oriented programming (Aspect Oriented Programming, AOP) Technology intercepts the contextual information of execution method.
According to URL blockers 210 and the incoming URL of method interceptor 220, business form, business form action type ginseng Number, workflow determinant 230 inquires about whether related workflow template id is present from workflow relationship match storehouse 430.Such as Be present the workflow template id of association in fruit, then checked out using workflow template id from workflow template storehouse 420.
Workflow initiator 240.According to incoming workflow template id and business form, workflow engine 260 is called Initiate workflow.
Allocating stack conservator 250.The called storehouse conservator 250 of contextual information intercepted in method interceptor 220 After being handled in store method allocating stack storehouse 440.
As shown in fig. 6, workflow processing module completes processor 310 comprising workflow.
Work flow operation example information of the workflow engine 260 in work flow operation case library 450, by business form Business form in storehouse 410 is dispatched to corresponding node processing people and handled.
If workflow is unsuccessfully to terminate, the method being stored in before being deleted from method call storehouse storehouse 440 performs heap Stack, business form operation failure.If workflow is successfully to terminate, it is stored in before being recalled from method call storehouse storehouse 440 Method execution stack, Run-time scenario before being recovered by the way of the reflection simultaneously continued executing with so that business form is operated into Work(is completed.
Such as, class is called in method execution stack for LeaveFormService, the entitled newLeaveForm of call method, Method of investigation and study name parameter sets are LeaveForm form.Then use after method for reflection, will continue executing with LeaveFormService.newLeaveForm (LeaveForm form) is operated.
The above method and device, business form and workflow are defined and stored respectively, using when only need to as needed The two is associated, it is possible to achieve the incidence relation of multi-to-multi, thoroughly change current operation list and workflow one by one The mode of binding, can easily set multiple differences on the basis of the workflow database of multiple workflows is included Business form.Even when being preset with sufficient amount of workflow in workflow database, application developer on this basis Even user directly can be called and configure according to actual needs without especially removing designing workflows, Jin Er great It is big to improve application development efficiency, the time of programming is reduced, the time that list is applied in practice is shortened.
Preferred embodiment of the invention described in detail above, it will be appreciated that the ordinary skill of this area is without wound The property made work just can make many modifications and variations according to the design of the present invention.Therefore, all technical staff in the art According to present inventive concept in prior art basis by logic analysis, reasoning or according to the limited available technology of experiment Scheme, should be among the protection domain determined by the claims.

Claims (10)

  1. What 1. a kind of business form work without intrusive mood was fluidized realizes device, it is characterised in that the device includes:
    Business form database, for polytype, heterogeneous structure the business form that prestores;
    Workflow template database, for a variety of workflow templates that prestore;
    Workflow relationship match database, for storing the matching relationship information between workflow template and business form;
    Associated configuration device, for reading data in the business form database and workflow template database, by work therein Make flow template to be associated two-by-two with business form, and related information is stored in the workflow relationship match database;
    Method call storehouse storehouse, the method execution stack of the back-end operations logic for being operated to business form is stored;
    URL interceptors, operate the URL produced to access link business form for intercepting user;
    Method interceptor, for intercepting the contextual information that URL accesses the execution method of link opposite rear end;
    Workflow determinant, for accessing link, business form, business according to the incoming URL of URL blockers and method interceptor List action type parameter, inquires about whether related workflow template id is present, such as from workflow relationship match database There is the workflow template id of association in fruit, then checked out and be transferred to from workflow template database using workflow template id Workflow initiator;
    Workflow initiator, for according to incoming workflow template id and business form, calling workflow engine to initiate work Flow;
    Workflow engine, for the work flow operation example information in work flow operation instance database, by business form Business form in database is dispatched to corresponding node processing people and handled;
    Allocating stack conservator, the contextual information for method interceptor to be intercepted handle and store method allocating stack In storehouse;And
    Workflow completes processor, for handling workflow power cut-off.
  2. What 2. business form work according to claim 1 was fluidized realizes device, it is characterised in that:
    The contextual information includes URL and accesses link, business form and action type.
  3. What 3. business form work according to claim 1 was fluidized realizes device, it is characterised in that the workflow is completed Processor handles workflow power cut-off, is specifically:
    Such as workflow is unsuccessfully to terminate, then the method execution stack being stored in before being deleted from method call storehouse storehouse, traffic table Single operation fails;
    Such as workflow recalls the method execution stack being stored in before successfully to terminate, then from method call storehouse storehouse, using anti- The mode penetrated recover before Run-time scenario and continue executing with so that business form operation successfully complete.
  4. What 4. business form work according to any one of claim 1 to 3 was fluidized realizes device, it is characterised in that:
    It is main in the data structure of the workflow relationship match database to include four fields, be respectively business form type, The id of business form, the action type of business form and workflow template id;
    The business form type, for distinguishing different types of business form;
    The id of the business form, for being made a distinction to same type of business form;
    The action type of the business form, including addition, modification and deletion three types;
    Workflow template id, for unique mark workflow template.
  5. What 5. business form work according to claim 4 was fluidized realizes device, it is characterised in that:
    Also include form attributes filter expression in the data structure of the workflow relationship match database, for according to current Business form information carrys out the automatic selection for being operated flow template.
  6. What 6. business form work according to any one of claim 1 to 3 was fluidized realizes device, it is characterised in that institute State associated configuration device to be associated workflow template two-by-two with business form, be specifically:
    By the mark of the workflow template in the mark id of the business form in business form database and workflow template database Know id and set up mapping relations so that the mark id of incoming traffic list can recall the mark id or input work of workflow template The mark id of business form can be recalled by making the mark id of flow template.
  7. What 7. business form work according to any one of claim 1 to 3 was fluidized realizes device, it is characterised in that:
    The authority of node of the workflow template comprising workflow, the processing people in node and node processing people.
  8. 8. a kind of implementation method of the business form work fluidisation without intrusive mood, it is characterised in that comprise the following steps:
    Business form in business form database is set up with the workflow template in workflow template database and associated two-by-two Relation;
    The order of user's click-to-call service list button is received, the business logical operation of rear end is performed;
    The contextual information of intercept service list operation;
    According to the contextual information of interception, inquire about the business form and whether there is the workflow mould with it with incidence relation Plate;
    Such as it is not present, then business form operation is completed;
    As existed, then stop the operation of business form, and the allocating stack information of the operation is preserved, and after order execution Continuous step;
    Workflow engine is called, and workflow instance is generated according to the workflow template inquired;
    Using definition of the workflow engine according to workflow template, it is scheduled to different node processing people and is operated stream process;
    Judge whether workflow terminates, do not terminate such as, then return to previous step circulation and perform;Such as terminate, then order performs follow-up step Suddenly;
    Judge whether workflow successfully terminates;
    In this way, then the information before abandoning in store method allocating stack, and with the operation of failure winding-up list;
    If not, the information before obtaining in store method allocating stack, continues executing with the operating method of business form so that industry The operation of business list is successfully completed.
  9. 9. the implementation method of the business form work fluidisation according to claim 8 without intrusive mood, it is characterised in that described Workflow template in business form in business form database and workflow template database is set up into incidence relation, specifically It is:
    By the mark of the workflow template in the mark id of the business form in business form database and workflow template database Know id and set up mapping relations so that the mark id of incoming traffic list can recall the mark id or input work of workflow template The mark id of business form can be recalled by making the mark id of flow template.
  10. 10. the implementation method of the business form work fluidisation according to claim 8 without intrusive mood, it is characterised in that:
    The contextual information includes URL and accesses link, 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 CN104216912A (en) 2014-12-17
CN104216912B true 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)

Families Citing this family (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
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
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
CN107038533B (en) * 2017-04-18 2020-10-30 北京思特奇信息技术股份有限公司 Method and system for realizing configurable process approval
CN107180338A (en) * 2017-05-22 2017-09-19 深圳市小牛在线互联网信息咨询有限公司 Business performs method, device, storage medium and computer equipment
CN107357882A (en) * 2017-07-10 2017-11-17 成都牵牛草信息技术有限公司 Based on the method that approval process is set according to field
CN107392499A (en) 2017-08-10 2017-11-24 成都牵牛草信息技术有限公司 Approval process and its method for approval node mandate are carried out to 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
CN107705201B (en) * 2017-10-24 2021-06-18 深圳麦亚信科技股份有限公司 Method and system for optimizing credit business process and data relationship
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
CN109144647B (en) * 2018-08-21 2021-11-16 深圳博沃智慧科技有限公司 Form design method and device, terminal equipment and storage medium
CN109165856B (en) * 2018-08-31 2023-08-08 平安科技(深圳)有限公司 Dynamic configuration method, device and storage medium of approval chain
CN109389299B (en) * 2018-09-26 2023-10-31 中国平安人寿保险股份有限公司 Workflow process deployment method, workflow process deployment 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
CN109636320A (en) * 2018-11-27 2019-04-16 平安科技(深圳)有限公司 Workflow examination and approval method and terminal device
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
CN112101885A (en) * 2019-06-17 2020-12-18 北京奎牛科技有限公司 Method for generating and processing electronic file with embedded business logic
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
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
CN111143866B (en) * 2019-12-27 2022-02-15 远光软件股份有限公司 Permission changing method, device, equipment and medium based on multi-scene mode
CN112068911B (en) * 2020-07-31 2023-12-26 广东飞企互联科技股份有限公司 Electronic form generation method, device, system, equipment and medium
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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* 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

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
"Activiti工作流表单设计及开发";man1900;《http://www.iteye.com/topic/1127730》;20121113;第1-10页 *
"基于表单和关系型数据库的工作流管理系统";肖宇 等;《华中科技大学学报(自然科学版)》;20041130;第32卷(第11期);第1-2章,图3、4 *

Also Published As

Publication number Publication date
CN104216912A (en) 2014-12-17

Similar Documents

Publication Publication Date Title
CN104216912B (en) The implementation method and device of a kind of business form work fluidisation without intrusive mood
CN106445556B (en) A kind of visual code generation method and system
US8645175B1 (en) Workflow system and method for single call batch processing of collections of database records
CN103425462B (en) A kind of method and apparatus of workflow data persistence
US7899787B2 (en) Object-oriented system and method using shadowing object for approval control
US8412813B2 (en) Customizable asset governance for a distributed reusable software library
CN100594498C (en) Mass data real time processing structure and real time need-based processing platform used for the structure
CN101388904B (en) GIS service aggregating method, device and system
US11893066B2 (en) Binding traits to case nodes
CN111176867B (en) Data sharing exchange and open application platform
CN110471949A (en) Data consanguinity analysis method, apparatus, system, server and storage medium
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
CN101819551A (en) Method and system for recording service interaction data of enterprise message system
CN107423223A (en) Test and management system
CN111143391A (en) Data sharing exchange method and system
CN114168117A (en) Credit low-code development tool based on designer and storage device
CN107133040A (en) A kind of standardized product service apparatus and business module extend method of replacing
CN116185242A (en) Service arrangement method and device and electronic equipment
US20060136924A1 (en) Workflow process management system including shadow process instances
CN109388770A (en) Web page generation method and device
Fang et al. Using object oriented analysis design workflow engine for manufacturing industry in IoT
CN114880387A (en) Data integration script generation method and device, storage medium and electronic equipment
CN110032703A (en) A kind of enterprise web site trustship method and system
Missbach et al. SAP Hardware Solutions: Servers, Storage, and Networks for MySAP. com

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