A kind of operation flow Dynamic Display deviceTechnical field
The present invention relates to the communications field, relate in particular to a kind of operation flow Dynamic Display device.
Background technology
At present, business process system is divided into complicated flow process and quick-reading flow sheets, and wherein, quick-reading flow sheets can carry out flow process control by state-driven mechanism, that is to say behind flow startup, utilize the execution result of a last link to drive next link startup and carry out the task processing.Complex business process generally by third party software, is realized as workflow engine.And the service display in the workflow depends on the workflow engine of self, changes to another engine from an engine and need change a large amount of programs, expends great amount of manpower, financial resources and time.
So-called workflow engine is meant the part of workflow as application system, and provides for it core solutions such as the determinative different decision information transmission routes according to role, the division of labor and condition of each application system, content ratings.
Summary of the invention
The object of the present invention is to provide a kind of operation flow Dynamic Display device of monitoring business processing procedure, this device can be independent of workflow or state-driven mechanism.
Technical scheme of the present invention is as follows, and a kind of operation flow Dynamic Display device comprises flow processing module, database, display module, and described flow processing module is communicated by letter with described display module with described database respectively,
Preserve at least one operation flow template in the described database;
Described flow processing module is called required operation flow template according to the demand of business processing process, finishes business processing;
Described display module is used for the progress that display business is handled.
Further, described operation flow template comprises at least one node, and described node forms described operation flow template according to the logic of propositions composition of relations.
Further, described operation flow template is kept in the described database with the form of XML.
Further, described node comprises numbering, template name, the priority level of template, the object coding after the template instancesization, the content of object, the version information of object, designer's identity information, process limited, the node logic of propositions relation of the affiliated template of node.
Further, described logic of propositions relation comprises node connection attribute and node connection constraints.
The invention has the beneficial effects as follows:
1, each link of display systems business processing flow clearly.
Each operation flow can display with a process flow diagram in the system, and each link marks by line, color, literal in the figure, makes complicated system business process simplification, sharpening.
2, the management type business that helps the system flow monitoring.
Flow process is followed the tracks of graphical, and the function that the current business flow process is monitored is provided, and can obtain the business datum of each link in the flow process and the data in the current flow performing by the form of calling interface, makes that the management of operation flow and monitoring are easier.
3, break away from each workflow engine, independently go out the flow process present graphical effect of oneself.
In the system of incident boost mechanism, generally can adopt workflow engine or state-driven in the current operation system.Flow process is followed the tracks of graphical demonstration and then can be spun off from each workflow engine, does not rely on workflow or state-driven.Reach the process flow diagram bandwagon effect by self easy configuration.
4, the configurable modification of flow process improves rate of code reuse and ease for use.
Process flow diagram stores in the database by interface configurations, if operation flow changes, can carry out simple modification by the interface and whole flow process can be made amendment, and has simplified developer's workload greatly; If the professional close flow process of finishing before can the importing into, correct can be satisfied new business demand, effectively improves the utilization factor of code.
Description of drawings
Fig. 1 is the formation synoptic diagram of operation flow Dynamic Display device of the present invention.
Embodiment
Below in conjunction with accompanying drawing principle of the present invention and feature are described, institute gives an actual example and only is used to explain the present invention, is not to be used to limit scope of the present invention.
As shown in Figure 1, operation flow Dynamic Display device of the present invention comprisesflow processing module 100,database 200,display module 300, andflow processing module 100 is communicated by letter withdisplay module 300 withdatabase 200 respectively.Wherein, preserve at least one operation flow template in thedatabase 200;Flow processing module 100 is called required operation flow template according to the demand of business processing process, promptly calls different templates according to service needed, and manages business by the content that template is called in execution, and then finishes business processing;Display module 300 is used for the progress that display business is handled.
Flow processing module 100 is carried out business processing according to predefined workflow, can be when carrying out the task of different links, call the corresponding operation flow template of this task in thedatabase 200, finish the task of this link by the operation flow template after, workflow enters next link, continue to call the template in thedatabase 200, until finishing this operation flow.When work process flow figure carries out Dynamic Display, read the XML file (data processing template) of appointment, represent process flow diagram according to the description of XML file.
For the complicated service flow process is oversimplified, can display by a process flow diagram bydisplay module 300 each link operation flow, each link in the figure can mark by modes such as line, color, literal, thereby makes business processing sharpening more.
Above-mentioned operation flow template comprises at least one node, and node forms the operation flow template according to the logic of propositions composition of relations.Detailed process is as follows: at first, according to the business function that the operation flow template will realize, a plurality of service link nodes are set; Secondly, according to each node of business information instantiation; Then, make up each node, form a flow process link of realizing the intended service function according to the logical relation of node; At last, the flow process link is converted to the XML form, is saved todatabase 200 by graphical interfaces.So far finish the structure of an operation flow template.In order to satisfy the practical application needs, can create a plurality of basic templates that are used to realize the different business function according to above step, convenient different workflow link is called.
Further, node comprises numbering, template name, the priority level of template, the object coding after the template instancesization, the content of object, the version information of object, designer's identity information (for example information such as name, affiliated function), process limited, the node logic of propositions relation of the affiliated template of node.Wherein, the logic of propositions relation comprises node connection attribute and node connection constraints.The node connection attribute is meant that this node has several connecting lines, to the description of the Origin And Destination of every connecting line; The node connection constraints is meant the condition that can arrive other several nodes from a node, for example arrives the B node during for True when A node input value, when A node input value arrives the C node during for False.
Because operation flow template of the present invention is to be made up by a plurality of nodes to form, so increase that can be random or minimizing node, and revise template, improved the technical solution of the present invention application flexibility by the method that nodal community is set.In addition, can also set an identity coding for each node when the defined node attribute, operation flow just can play this node by auto-associating when quoting or change node like this.
With JS with process flow diagram abstract be object, the process flow diagram of all draftings will produce according to this file.When drawing process flow diagram, program is given birth to example according to this JS object, and the process flow diagram of drawing is deposited in the table with XML description document form.
Business process system is described, the major applications system need be by third party software, promptly need to represent function by the process flow diagram that provides in the workflow engine, but this mode coupling is very strong, if workflow engine has been replaced, the process flow diagram that then has now just needs to draw once more again, is not easy to the replacing of flow engine.Therefore the present invention is with flowcharting and represent separation, by the incidence relation of each node and each node is set when drawing process flow diagram, in the process flow diagram application system.The present invention produces an abstract process flow diagram by flowchart drawing template (being the operation flow template), on this basis, can arbitrarily increase and decrease node, and node description and line attribute are set.The process flow diagram that program is drawn according to the page is resolved automatically and is changed into the preservation of XML process flow diagram flow file warehouse-in.When showing,, show process flow diagram again after parsing the information that this template describes according to the flow template prototype then then by reading XML file in the table (operation flow template) earlier.When changing for the state of application system, system can carry out association by the previous identity coding of node, before process flow diagram is showed, more changes the state description in the XML file, and then represents, to reach the Dynamic Display of process flow diagram.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.